Page 1 of 1

title format in conf.template_default.php

Posted: Mon 9. Apr 2007, 22:01
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...

Posted: Tue 10. Apr 2007, 07:03
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