Breadcrumbs show when you are looking at an article but not when you are looking at a category
how can i make it show breadcrumbs in the category?
Also, how can I make articles in a category have the same viewing settings?
Its a pain to go to each article and set individual viewing settings.
thanks!
ok i've figured out how to add a menu with the categories list in it, but I still need breadcrumbs
anyone figure this out?
for the view settings to be automatic
open sources/TPortalAdmin.php
find line #378
---------------------------------------------
db_query("INSERT INTO {$tp_prefix}articles (date,body,intro,useintro,category,frontpage,subject,authorID,author,frame,approved,off) VALUES('$artd','$artbb','$arti','$artu','$artc','$artf','$arts','$nameb','$name','','$artpp','0')", __FILE__, __LINE__);
---------------------------------------------
and change to
---------------------------------------------
db_query("INSERT INTO {$tp_prefix}articles (date,body,intro,useintro,category,frontpage,subject,authorID,author,frame,approved,off,options) VALUES('$artd','$artbb','$arti','$artu','$artc','$artf','$arts','$nameb','$name','','$artpp','0','date,title,author,linktree,top,rblock,lblock')", __FILE__, __LINE__);
---------------------------------------------
the settings I want are date,title,author,linktree,top,rblock,lblock
you can change to suit what you want
this is handy if you hate having to select these options each time you make an article
;)
One way to post code like that to make it easier to read is use the code wrap when you post.
I edited your post with a code wrapper now :)
tx :D
neat it scrolls the code if you drag on it