Go Back   Pligg CMS Forum > Pligg Development > Modification Tutorials

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-12-2006, 02:57 AM
Casual Pligger
 
Join Date: Jun 2006
Location: Sweden
Posts: 37
Thanks: 1
Thanked 2 Times in 1 Post
Queued vs. Published in breadcrumb?

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.
__________________
My Pligg site: Digga
Reply With Quote
  #2 (permalink)  
Old 08-12-2006, 12:17 PM
kbeeveer46's Avatar
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,547
Thanks: 254
Thanked 649 Times in 513 Posts
Good idea. I would like this, too.
__________________
I accept donations for my time helping users like you on the forum and IRC.
Reply With Quote
  #3 (permalink)  
Old 11-02-2006, 09:23 PM
Constant Pligger
 
Join Date: Oct 2006
Posts: 227
Thanks: 56
Thanked 22 Times in 18 Posts
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, 09:25 PM
Constant Pligger
 
Join Date: Oct 2006
Posts: 227
Thanks: 56
Thanked 22 Times in 18 Posts
Where is the breadcrumb variable set?
I might take a stab at modifying it myself.
Reply With Quote
  #5 (permalink)  
Old 11-02-2006, 09:27 PM
Constant Pligger
 
Join Date: Oct 2006
Posts: 227
Thanks: 56
Thanked 22 Times in 18 Posts
Just found this thread
Reply With Quote
  #6 (permalink)  
Old 11-04-2006, 01:13 PM
Constant Pligger
 
Join Date: Oct 2006
Posts: 227
Thanks: 56
Thanked 22 Times in 18 Posts
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, 01:06 PM
New Pligger
 
Join Date: Nov 2006
Posts: 12
Thanks: 0
Thanked 1 Time in 1 Post
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
The Following User Says Thank You to abahei For This Useful Post:
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
Filter Your Published and Unpublished Content For Deletion blaze General Help 2 12-05-2007 09:49 PM
help with smarty code - show banner on only published and upcoming pages? VLJ General Help 1 05-25-2007 09:54 AM
[Fixed] Published news link in sidebar links to queued news mbs348 Bug Report 2 03-01-2007 05:56 PM
making queued stories or published stories links bold GuyBrighton General Help 0 05-26-2006 11:04 AM
Nabaza.info - News Searched, Categorized, Queued, Shared and Commented weblord My Pligg Site 0 02-03-2006 04:47 AM


Search Engine Friendly URLs by vBSEO 3.2.0