[use auto pathway] duplicate entries in pathway/breadcrumbs

More
13 years 8 months ago #14087 by kath
hi there,

as others reported before, i also have duplicate entries in pathway/breadcrumbs. (could not solve the problem by reading the other posts...)

the problem only appears on my category-pages, not on single-item-pages.

(A) pathway should like like:
start / sports / soccer / men

(B) but pathway is:
start / sports / soccer / men / sports / soccer / men

both my menu tree and category tree is according to the desired pathway (=A)

any directions for me?
thanks!
kath

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #14176 by kath
workaround for this:
in /templates/my_templates/html/mod_breadcrumb/default.php

i added this

// 21:47 07.03.2011 ben added fix to avoid duplicate entries.
$list_items = array();
for($i=0; $i<count($list); $i++){
$list_items[ $list[$i]->name ] = $list[$i];
}
$list_items = array_values($list_items);
$count = count($list_items);
// 21:47 07.03.2011 ben added fix to avoid duplicate entries END.

inline 6.

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #14178 by grabit
Kath,

You could also resolve the problem with the 'item depth' and 'Add item to pathway' in the basic parameters of your menu item.

This solution is easier and doesn't change your code.

An Apple a days keeps the doctor away

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #14503 by kath
thanks grabit,
i'll have a look into that!

kath :)

Please Log in or Create an account to join the conversation.

More
13 years 2 months ago #17754 by kath
@grabit: 'bit late, but what the "hack" -> your solution did help me! thanks.

Please Log in or Create an account to join the conversation.

More
13 years 2 months ago #17816 by micker
hello if it's good
edit you title post and add [solved]
thanks for all

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.301 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline