Need to hide dropdown menus
JEvents 2.0 was launched over 2 years ago and the latest stable version is version 2.2 which will run on Joomla 1.5 and Joomla 2.5. JEvents 1.5 is therefore no longer actively supported - you should upgrade to JEvents 2.2+ as soon as possible.
Forum rules
Please include as much detail in any test or bug reports for JEvents 1.5 as possible.
First of all, check if you are running the latest available version of Joomla! and JEvents. Posts for issues, where both systems are not updated, will be ignored.
We need the following at least:
* PHP version (e.g. 5.2.5). Note: Support for PHP4 is discontinued.
* Joomla! version
* JEvents version
* Web Server software (Apache or IIS with version number if possible)
* Server Operating system (e.g. Linux, Windows, Solaris, Darwin ...)
* Database version
* memory_limit from your phpinfo
* Web browser and version
Please enable error reporting and include any error messages in your posting. You do this via the Joomla Configuration - set "error reporting" to "maximum" on the Server tab.
Finally, please describe the steps required to recreate the problem and also please enable error reporting and give us any error messages generated.
Please include as much detail in any test or bug reports for JEvents 1.5 as possible.
First of all, check if you are running the latest available version of Joomla! and JEvents. Posts for issues, where both systems are not updated, will be ignored.
We need the following at least:
* PHP version (e.g. 5.2.5). Note: Support for PHP4 is discontinued.
* Joomla! version
* JEvents version
* Web Server software (Apache or IIS with version number if possible)
* Server Operating system (e.g. Linux, Windows, Solaris, Darwin ...)
* Database version
* memory_limit from your phpinfo
* Web browser and version
Please enable error reporting and include any error messages in your posting. You do this via the Joomla Configuration - set "error reporting" to "maximum" on the Server tab.
Finally, please describe the steps required to recreate the problem and also please enable error reporting and give us any error messages generated.
Need to hide dropdown menus
by yardo » Wed Sep 09, 2009 3:43 pm
I need to hide these items from all views:
Show unpublished events?
Only show my events?
Where can I find this code? Any help is appreciated. Thank you.
Show unpublished events?
Only show my events?
Where can I find this code? Any help is appreciated. Thank you.
- yardo
- Posts: 6
- Joined: Wed Sep 02, 2009 10:41 pm
Re: Need to hide dropdown menus
by yardo » Wed Sep 09, 2009 4:35 pm
Ok I may have answered my own question but if possible can you help me out with this one Geraint?
I commented out the following in components/com_jevents/libraries/filters/Published.php
After testing some, I don't think I've broken anything. Is this the correct way to do this?
Thanks again...
I commented out the following in components/com_jevents/libraries/filters/Published.php
- Code: Select all
/*function _createfilterHTML(){
$filterList=array();
$filterList["title"] = $this->filterLabel;
$options = array();
$options[] = JHTML::_('select.option', "-1", $this->allLabel,"value","yesno");
$options[] = JHTML::_('select.option', "0", $this->noLabel,"value","yesno");
$options[] = JHTML::_('select.option', "1", $this->yesLabel,"value","yesno");
$filterList["html"] = JHTML::_('select.genericlist',$options, $this->filterType.'_fv', 'class="inputbox" size="1" onchange="form.submit();"', 'value', 'yesno', $this->filter_value );
return $filterList;
}*/
After testing some, I don't think I've broken anything. Is this the correct way to do this?
Thanks again...
- yardo
- Posts: 6
- Joined: Wed Sep 02, 2009 10:41 pm
Re: Need to hide dropdown menus
by Geraint » Wed Sep 09, 2009 4:52 pm
That would work
------------
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.
Join the JEvents club today!
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.
Join the JEvents club today!
-

Geraint - Posts: 30518
- Joined: Fri Feb 15, 2008 6:14 pm
Re: Need to hide dropdown menus
by Chiup » Sun Dec 11, 2011 2:56 pm
Hey!
I'm a newbie and do not know much about PHP. Anyway, this solution is not working for me.
Error message:
Joomla Version 1.5.23
Jevent Version 2.0.11
Any help?
Thanks in advance!
Chiup
I'm a newbie and do not know much about PHP. Anyway, this solution is not working for me.
Error message:
- Code: Select all
Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /components/com_jevents/libraries/filters.php on line 206
Joomla Version 1.5.23
Jevent Version 2.0.11
Any help?
Thanks in advance!
Chiup
- Chiup
- Posts: 2
- Joined: Sat Dec 10, 2011 7:03 am
Re: Need to hide dropdown menus
by Tonyp » Sun Dec 11, 2011 7:44 pm
Hello Chiup,
You would be best inspecting the piece you wish to hide with Firefox and the firebug addon to find the required css string.
Then follow it with an
Thanks
Tony
You would be best inspecting the piece you wish to hide with Firefox and the firebug addon to find the required css string.
Then follow it with an
- Code: Select all
display: none !important;
Thanks
Tony
---------------------------------------
Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
-

Tonyp - Contributor
- Posts: 8717
- Joined: Tue Oct 12, 2010 9:12 pm
- Location: Isle of Man
Re: Need to hide dropdown menus
by Chiup » Mon Dec 12, 2011 5:40 am
Thank you for your quick reply Tony!
Actually it seems I'm to stupid to find the css string with firebug to display: none
But that doesn't matter. It's not so important for me.
Anyway: thanks again!
Chiup
Actually it seems I'm to stupid to find the css string with firebug to display: none
But that doesn't matter. It's not so important for me.
Anyway: thanks again!
Chiup
- Chiup
- Posts: 2
- Joined: Sat Dec 10, 2011 7:03 am
6 posts
• Page 1 of 1
Return to JEvents 1.5 (No longer actively supported)
Who is online
Users browsing this forum: Bing [Bot], Google [Bot], Yahoo [Bot]

