Queued vs. Published in breadcrumb?

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 08-12-2006, 03:57 AM
Casual Pligger
 
Join Date: Jun 2006
Location: Sweden
Posts: 32
Is there any way to show a link to the Queued alt. Published page in the breadcrumbs when reading a strory?
If someone is reading a story that is Queued the link to the Queued page would show in the breadcrumbs:
Pligg home » Queued stories » Story title

And then the same kind of thing for Published stories.

Sorry if this is the wrong forum to post such a question in.
Reply With Quote
  #2 (permalink)  
Old 08-12-2006, 01:17 PM
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,215
Good idea. I would like this, too.
Reply With Quote
  #3 (permalink)  
Old 11-02-2006, 10:23 PM
Constant Pligger
 
Join Date: Oct 2006
Posts: 220
Did anything come of this?
It's a very good idea ...

It would also be good if the title of the story wasn't in the breadcrumb. All that's needed is the word 'story' as the actual title sits diectly below the breadcrumb.

ie:
home>published news>story

Sometimes if a title is long repeating it in the breadcrumb just creates visual noise.
Reply With Quote
  #4 (permalink)  
Old 11-02-2006, 10:25 PM
Constant Pligger
 
Join Date: Oct 2006
Posts: 220
Where is the breadcrumb variable set?
I might take a stab at modifying it myself.
Reply With Quote
  #5 (permalink)  
Old 11-02-2006, 10:27 PM
Constant Pligger
 
Join Date: Oct 2006
Posts: 220
Just found this thread
Reply With Quote
  #6 (permalink)  
Old 11-04-2006, 02:13 PM
Constant Pligger
 
Join Date: Oct 2006
Posts: 220
I just noticed that if a story is in the queued section the category link in the breadcrumb links to the published category while the category link in the story details links to the queued category.

ie:
breadcrumb: home>news>story title (news links to published news)
news details: Category: news (news links to queued news)

I found the code that makes the proper category link:

{if $story_status eq "published"}
in <a href="{$category_published_url}">
{else}
in <a href="{$category_queued_url}">
{/if}
{$link_category}</a>

However I don't know how to add this to the breadcrumb?
Any ideas?
Reply With Quote
  #7 (permalink)  
Old 11-23-2006, 02:06 PM
New Pligger
 
Join Date: Nov 2006
Posts: 10
revolver,

To modify the breadcrumb to display "story" or "story details" instead of the actual title, go to story.php and look for: $navwhere['text2'] ...
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unpublish "Buried" Published Stories abcdefgary Questions and Comments 1 07-03-2009 11:07 PM
Only see Published page obrien Questions and Comments 1 02-13-2009 12:52 AM
[Fixed] Published news link in sidebar links to queued news mbs348 Questions and Comments 2 03-01-2007 06:56 PM
How can I change queued news into published news? tomxiong Questions and Comments 8 10-08-2006 02:41 AM
making queued stories or published stories links bold GuyBrighton Questions and Comments 0 05-26-2006 12:04 PM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development