TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,236
  • Total Topics: 21,353
  • Online today: 739
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 455
  • Total: 456
  • lurkalot

Breadcrumbs in category and category view settings

Started by waxzy, August 06, 2006, 03:23:03 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

waxzy

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!

waxzy

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?

waxzy

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

;)

G6Cad

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 :)

waxzy


This website is proudly hosted on Crocweb Cloud Website Hosting.