title format in conf.template_default.php

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
Evoplure
Posts: 43
Joined: Fri 8. Jul 2005, 02:59

title format in conf.template_default.php

Post by Evoplure »

I use version 1.3.0, when I want to modify the format of articles' titles and subtitles I open conf.template_default.php and change the following lines:

Code: Select all

$template_default['article']['title_before']		= '{GT:title}';
$template_default['article']['title_after']			= '{/GT}<br><br>';
$template_default['article']['subtitle_before']		= '{GT:subtitle}';
$template_default['article']['subtitle_after']		= '{/GT}';
That worked fine with my former 1.2.8 installation, but not in 1.3.0 now: instead of showing the titles with GT images it appears a normal H1 format html text. (When a try with a different non GT format the result is the same)

The curious thing is that when I change the content part's title format line, just few lines below...:

Code: Select all

$template_default['article']['content_head_before']		= '{GT:title}';
$template_default['article']['content_head_after']		= '{/GT}';
... it works OK and the GT images are shown with the right format.

Is it a problem of v. 1.3.0? or is it a problem with my own installation?

Any help is really welcome, thank you very much...
* Maybe I'm wrong * Maybe not *
User avatar
Oliver Georgi
Site Admin
Posts: 9918
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

check template/inc_default/article...

And never use {GT} at this point without additional HTML tags like <h1> or <div> or so.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Post Reply