PDA

View Full Version : how to change positon of prefix title in navbar template


cellow
12-29-2008, 10:49 PM
Hi,

how can i switch the position of the prefix title in thread title on threadbit template and on navbar template?
I found this 2 variables in the templates:

$thread[title_editable]
$navbits[lastelement]


Actualy the title in navbar looks like " [prefix_title] [thread_title] "
and i want to have it like
" [thread_title] [prefix_title] "

Thx 4 ur support!

cellow
12-31-2008, 02:01 PM
Does nobody know this little php or template hack?
Please, i need this asap.

regards

Lynne
12-31-2008, 03:28 PM
Are you talking about the navbits? I don't know where you are talking about.

You mention the threadbit template, have you tried just switching them?
<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]"<if condition="$show['gotonewpost']"> style="font-weight:bold"</if>>$thread[threadtitle]</a>
$thread[prefix_rich]

cellow
12-31-2008, 11:41 PM
Oh man, yes u right... i looked at $prefix but i don't find it.
Ok i can switch it now on threadbit template, thx 4 that!

But i wish to switch it also in the navbar template (pathway).
There will be used the variable $navbits[lastelement]
I don't know, how 2 switch the prefix position there. Either how to don't show the prefix in the lastelement variable.
Can u help me?

Thx a lot and a happy new year 2009 :-)

Lynne
12-31-2008, 11:55 PM
Look in your showthread.php page around line 2130 where $navbits is defined and switch them around also (you must do this through a file edit).

cellow
01-01-2009, 12:14 AM
awesome man!

$navbits[''] = $thread['prefix_rich'] . ' ' . $thread['title'];

that was the key! Thx a lot, the new year is save :D