SEF issue with LIST Changer (the dropdown feature)

15 years 8 months ago #73785 by piersol
When i have more than one list, the userlistchanger appears allowing for quick drop down changing of UserLists. I love that.

However, because of SEF, particularly sh404, the changer messes up because it creates:

/View-users-list/index.php?option=com_comprofiler&task=usersList&Itemid=54&limitstart=0&listid=7&cbsecuritym3=cbm_657b8113_036f535b_49545dd5ff979d0d755273dd6c32608d


If you remove the sef friendly alias of /View-users-list/ the url works fine.

So the question is this?

How do i force the list changer drop down to WORKAROUND the sef alias of /View-users-list/ or how do i restrict sef from creating an alias in the first place for the list functions?

Please Log in to join the conversation.

15 years 7 months ago #75209 by sfriendfla
I'm experiencing the same problem too. Just created additional lists on my website and drop-down use causes 404 errors. I can seem to use the dropdown once and on second use, the thing goes to 404. Specs:

Joomla 1.5.6
sh404SEF 1.0.7_Beta - build_133
CB 1.2 RC 2

website: www.satwchapters.org

Thanks for any advice. Since I'm using a plugin to force real name urls for member profiles, I don't want to remove sh404SEF but am willing to hack the code to remove the drop-down box entirely if you can point me to where to do so. I've read the documentation and do not see the answer there.

Thanks! Sandy

Please Log in to join the conversation.

15 years 7 months ago #75213 by piersol
Look for
[code:1] <div class="cbUserListChanger">
<?php
// selector for user-list:
if ( ( $lists !== null ) || ( count( $lists ) > 1 ) ) {
foreach ( $lists as $kname => $ncontent ) {
?>

<div class="cbUserListChangeItem cbUserList<?php echo $kname; ?>"><?php
echo $ncontent;
?></div>
[/code:1] around line 712 in comprofiler.html.php

I stopped the listchanger from appearing by doing this
[code:1] <!--<div class="cbUserListChanger">
<?php
// selector for user-list:
if ( ( $lists !== null ) || ( count( $lists ) > 1 ) ) {
foreach ( $lists as $kname => $ncontent ) {
?>

<div class="cbUserListChangeItem cbUserList<?php echo $kname; ?>"><?php
echo $ncontent;
?></div>-->
[/code:1]


I look forward to the real fix for this issue.

Anyone that can help the real issue?

Please Log in to join the conversation.

15 years 7 months ago #75223 by Rapunzl
It appears this is an sh404 issue. Have you checked on the developer's site?

Jamie (Rapunzl)
Community Builder Team Member

Before posting on forums: Read all CB Articles | Specially the FAQ | Help us help you
CB links: Subscribe to CB documentation | [url=http://www.joomlapolis.com/content/view/7363/37/
]Our templates[/url] | [url=http://www.joomlapolis.com/content/blogcategory/61/74/
]Paid Subscriptions[/url] | Get Hosting | Our Forge
Visit my CB Profile

My personal site Rapunzl's Reality always under reconstruction

Please Log in to join the conversation.

15 years 7 months ago #75282 by piersol
Can you tell us where to find the developers site you mentioned?

Please Log in to join the conversation.

15 years 7 months ago #75336 by Rapunzl
Sorry. Wrong terminology. It's the Tips & Tricks section.

:whistle:

Jamie (Rapunzl)
Community Builder Team Member

Before posting on forums: Read all CB Articles | Specially the FAQ | Help us help you
CB links: Subscribe to CB documentation | [url=http://www.joomlapolis.com/content/view/7363/37/
]Our templates[/url] | [url=http://www.joomlapolis.com/content/blogcategory/61/74/
]Paid Subscriptions[/url] | Get Hosting | Our Forge
Visit my CB Profile

My personal site Rapunzl's Reality always under reconstruction

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.212 seconds

Facebook Twitter LinkedIn