PDA

View Full Version : Show category title infront of directory name


P4S800
01-30-2007, 08:05 PM
Is it possible to display categories&subcatories title infront of directory's name e.g.

Arts & Humanities - PHP Link Directory

P4S800
01-31-2007, 04:24 PM
it seems no one knows how to do it :-(

David
01-31-2007, 05:06 PM
look in header.tpl of your template and tell me what you see on the line with the <title> tag

David
01-31-2007, 05:07 PM
I don't know the "quick" answer. We might need a programmer to develop this mod. It is simple, but seems to involve some smarty work.

P4S800
01-31-2007, 07:11 PM
<title>{if empty ($TITLE)}{$smarty.const.DIRECTORY_TITLE|escape|tri m}{/if}{$smarty.capture.title|strip|trim}</title>

the9crow
02-06-2007, 05:48 AM
try this


{$smarty.capture.title|strip}{$smarty.const.DIRECT ORY_TITLE}

pnoden
02-06-2007, 09:11 AM
open header.tpl and change this:

Content visible to registered users only.to this:

Content visible to registered users only.open main.tpl and delete this (line 3) If this is not deleted then you will have a hyphen before the category:

Content visible to registered users only.open submit.tpl and delete the hyphen and spaces from the below line(line 1). This makes it so that there is not an extra hyphen in front of Submit Link in the title bar:

Content visible to registered users only.

bunny
02-10-2007, 09:52 PM
There are lots of tricks you can do like place featured links names on a page in front of title, and what u asked for also , its flexible as long as you put the right code in header.tpl or main.tpl whichever method you using.

giggler
02-23-2007, 10:21 PM
What about subcategories - categories - site title? I can't seem to get that to work...