Example Page
How do I either fix that in the admin area or via templates so they match?
Thanks
Thomas

![]() |
| | Thread Tools | Display Modes |
| |||
|
On my Pligg 9.8.0 install, the URLs are set to /story/10 (ids not words) however, on those pages, the breadcrumb menu link for the current story is set to /Cats/Laser_Declawing_Cats_-_Yea_or_Neigh/ (category and words) which doesn't exist. Example Page How do I either fix that in the admin area or via templates so they match? Thanks Thomas |
| ||||
|
It looks as though you have Friendly URLS set to true but didn't add the generated code in the category management to your .htaccess
|
| |||
|
I had them on, then turned them off as I got 404 errors for all the URLs. Even after turning on the .htaccess. Not sure where the issue is, but I turned them off so they worked. Every other generated URL on the site is un-friendly (per say) except for the breadcrumb menu. That's why I'm confused. |
| |||
| Quote:
You mentioned generated code. Which code is that and where do I find it? Appreciate if you can help. |
| |||
| Quote:
As an example, you can go here and then to the breadcrumb where it says "Water Skiing Squirrel" Last edited by LovableCritters; 09-22-2007 at 06:57 PM. Reason: Forum eating URL. |
| ||||
| Quote:
I'm not sure how much clearer I can be. The first place I'd look is category management! |
| |||
| Quote:
I understand what you're saying, however it's not quite what I'm looking for. Your help is appreciated though. Yes, if URL method 2 then adding a few lines to the .htaccess is necessary and when I add them, the URLs in question work again. But that's not what I'm looking for. Since I have Friendly URL's for stories false, my URLs should be /story/[story id] not /story/[story title] That's the way it is everywhere on the site except in the breadcrumb menu. I want to get the breadcrumb menu link to go to /story/[story id] just like the links from the homepage 'read more' link. Does that make sense? |
| ||||
|
I understand now that you explained it in greater detail. Remember we're not mind readers. Help us help you. open story.php and find Code: // setup breadcrumbs and page title
$main_smarty->assign('posttitle', " - " . $link->title);
$navwhere['text1'] = $globals['category_name'];
$navwhere['link1'] = getmyurl('maincategory', makeCategoryFriendly($globals['category_url']));
$navwhere['text2'] = $link->title;
$navwhere['link2'] = getmyurl('storycattitle', makeCategoryFriendly($globals['category_url']), urlencode($link->title_url));
$main_smarty->assign('navbar_where', $navwhere); Code: // setup breadcrumbs and page title
$main_smarty->assign('posttitle', " - " . $link->title);
$navwhere['text1'] = $globals['category_name'];
$navwhere['link1'] = getmyurl('maincategory', makeCategoryFriendly($globals['category_url']));
$navwhere['text2'] = $link->id);
$navwhere['link2'] = getmyurl('storycattitle', makeCategoryFriendly($globals['category_url']), urlencode($link->title_url));
$main_smarty->assign('navbar_where', $navwhere); |
| |||
| DAH... sorry I never noticed it ;/
|
| |||
| Quote:
|
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Upgrade to 1.0 - incorrect bottom menu path | huski | Questions and Comments | 7 | 07-07-2009 07:08 PM |
| How to get a dropdown menu for subcategories ? | jedimaster | Questions and Comments | 3 | 04-04-2008 05:28 PM |
| Blank Page with Breadcrumb | swapshop | Questions and Comments | 0 | 08-26-2007 12:31 AM |
| [Fixed] Beta 9.0 Build 728 - URLMethod2 Breadcrumb Permalinks 404 errors | Simpatico | Questions and Comments | 1 | 02-18-2007 12:50 PM |
| problem/reporting drop menu appears black | Pentarix | Questions and Comments | 3 | 01-08-2006 05:33 AM |