Lamborghini Huracán LP 610-4 t

Codex 7

B Bootstrap Blog (Bootstrap 3.3.7) Template version 1.4

This Xtblog twig template has been completly rewritten using Bootstrap markup and Bootstrap css.
The template has fixes for some issues
Problems with $ and ( ) in blogs via xtscript
[code]...[/code] BBcode tag now works in comments when html in comments is disabled (the default value)
On the post list page the blog is displayed in two columns of equal width . (col-sm-6 , col-sm-6)
The file right_def_6.twig holds the code used for the right panel on the post list page.

When viewing a post the post panel is twice the width of the comments panel. (col-sm-8 , col-sm-4)
The file no_comment.twig holds the code used for the right panel when comments are disabled.

You can use any html in these files you can also use twig script and reference variables set in the main blog twig template
You can only use xtfunctions if the blog is assigned to a variable and printed using xtscript.
You cannot use xtscript or xtscript variables in these files.
No other code apart from a bootstrap <div class="container-fluid"> wrapper is required for a standard blog function
The main blog showing on this site is a 'Related posts' blog
CSS links for Bootstrap 3.3.7
Add these links to your blog pages head area or add them to your _headtags file
Ajax and Javascript links for Bootstrap 3.3.7
Add these links to your blog pages body area or add them to your _header or _footer file
The reason for adding these in the body is that xtgems parser inserts its own javascript and some other tags that don't belong in the head before the first javascript on the page
Pagination
You can use your own xtscript custom paging for your blog or you can enable a routine that converts the standard xtgem blog pagination to bootstrap markup
To enable the convertion add bs_pagination to the No entries found (t_no_entries_found) parameter in the blog function
"Filelist in a blog post" pagination
The twig template also contains a routine that will convert the standard xtgem filelist pagination to bootstrap pagination markup
To use it add <!--end_list--> immediately after the filelist function in the blog post html code
No links in comments
You can enable link blocking in comments by adding no_links to the No entries found (t_no_entries_found) parameter in the blog function
When links are disabled The url option will not show in the BBcode tool

Note; do not set the comments_disable_links="1" or this filter will not work
No images in comments
You can enable image blocking in comments by adding no_img to the No entries found (t_no_entries_found) parameter in the blog function
When images are disabled The img option will not show in the BBcode tool
No embed youtube in comments
You can enable video blocking in comments by adding no_tube to the No entries found (t_no_entries_found) parameter in the blog function
When video is disabled The option will not show in the BBcode tool
Comment BB code and emote tool
The file [b]bbhelp.twig[/b] contains the data for the BBcode 'help' panel
This feature requires this javascript to be available
The template looks for this script in /js/bbtool.js
The script was posted on the XtGem forum by Ekonime
Related posts
To use this feature you need to use this Xtscript
You need to disable the normal tags by setting hide_tags="1" in the blog function
A customized blog function is called for each tag on the post
the returned entries are then filtered for duplicates and randomly added to either the top or bottom of the "related posts list"
a loop in the script then extracts a preset number of the results and injects them into the blog page
The position of the links is determined by <!--tabs--> in the main blog twig file
NOTE:
The links from the account 'feed' page do not send a __xtblog_block_id value with the link this breaks the 'related posts' xtscript and corrupts the output
If no __xtblog_block_id is detected normal blog tags are shown The #<? Wrapper is just there to appease the web template text editor.
The #</xt:code> #<xt:code> wrapper is just there to trick the building tool so that you can use the blog function in the building tool
NOTE:
Do not edit the lines var $blog= and # from the building tool or you will break the xtscript
Do not edit the actual blog function from the building tool or you will lose some settings
Files

Twig Files

Upload these files to _xtgem_templates
using the "remote server" option
Remove the .js extension after upload
This file is the bbcode help panel add your own translations

Javascript for BBcode tool

Upload this file to Your /js folder
using the "remote server" option or copy it from the other panel
The template looks for this file in /js/bbtool.js do not upload to _xtgem-templates
It has been kept separate due to the code not surviving passing through xtscript

Extra css

Upload this file to Your css folder
using the "remote server" option
Then add a link to it in your blog pages head area
or add it to your _headtags file
From Baretest
Adverts...

Foot Sidebar IMG
Click Monster Adsterra Link
codex7lion