REmove drop-down list filter when > one list?

14 years 10 months ago #100627 by mmccormick
joomla 1.5.10 / CBSubs 1.0.1 / CB 1.2 stable

I have 3 user lists defined. When logged in and on one of the lists, all 3 are also listed in a drop down box in upper right. I don't want this (esp. as it isn't working half the time).

PROBLEM: These links are only working half the time (keep getting refresh errors) and I have no more time to figure this out (worked fine before CBSubs went in)-- I just want this box to GO AWAY now.

How do I turn off display of this feature styled as "cbUserListChanger"?

many thx for any help

Please Log in to join the conversation.

14 years 10 months ago #100662 by beat
mmccormick wrote:

joomla 1.5.10 / CBSubs 1.0.1 / CB 1.2 stable

I have 3 user lists defined. When logged in and on one of the lists, all 3 are also listed in a drop down box in upper right. I don't want this (esp. as it isn't working half the time).

PROBLEM: These links are only working half the time (keep getting refresh errors) and I have no more time to figure this out (worked fine before CBSubs went in)-- I just want this box to GO AWAY now.

How do I turn off display of this feature styled as "cbUserListChanger"?

many thx for any help


That's something that can be easily changed in your CB template.

Just copy over the file default.php from default template, rename to your temaplte name.

Then open, and search for "cbUserListChanger" :

and change the code:
[code:1] // selector for user-list:
if ( count( $this->lists ) > 0 ) {
[/code:1]

to whatever you like.

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

14 years 10 months ago #100704 by mmccormick
Replied by mmccormick on topic Re:REmove drop-down list filter when > one list?
beat wrote:

mmccormick wrote:

joomla 1.5.10 / CBSubs 1.0.1 / CB 1.2 stable

I have 3 user lists defined. When logged in and on one of the lists, all 3 are also listed in a drop down box in upper right. I don't want this (esp. as it isn't working half the time).

PROBLEM: These links are only working half the time (keep getting refresh errors) and I have no more time to figure this out (worked fine before CBSubs went in)-- I just want this box to GO AWAY now.

How do I turn off display of this feature styled as "cbUserListChanger"?

many thx for any help


That's something that can be easily changed in your CB template.

Just copy over the file default.php from default template, rename to your temaplte name.

Then open, and search for "cbUserListChanger" :

and change the code:
[code:1] // selector for user-list:
if ( count( $this->lists ) > 0 ) {
[/code:1]

to whatever you like.


I am not following -- I should edit a copy of default.php located at ../components/com_comprofiler/plugin/templates/default/? And what do I rename it and where is it placed? I have enabled Luna but I see no default.php under the Luna folder. How do I edit this file/code to just not generate the box?

Also will this get wiped out in an upgrade? thnx again...

Please Log in to join the conversation.

14 years 8 months ago #108205 by cubby61
I found this post to be the answer I needed.

www.joomlapolis.com/component/option,com_joomlaboard/Itemid,/func,view/catid,64/id,80312/#80312

Any changes to the code seemed to break functionality. The simple answer of hiding the drop-down was enough to solve my issue.

Post edited by: cubby61, at: 2009/08/16 13:37

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.225 seconds

Facebook Twitter LinkedIn