JEvents 1.5 (No longer actively supported)

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.

Postby 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.
yardo
 
Posts: 6
Joined: Wed Sep 02, 2009 10:41 pm

Postby 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

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

Postby 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!
User avatar
Geraint
 
Posts: 42850
Joined: Fri Feb 15, 2008 6:14 pm

Postby 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:
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

Postby 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
Code: Select all
display: none !important;


Thanks
Tony
---------------------------------------
Feel free to PM me if you would like Custom Installs or Joomla! related work for a competitive quote.

User avatar
Tonyp
Team Staff
 
Posts: 23828
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man

Postby 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
Chiup
 
Posts: 2
Joined: Sat Dec 10, 2011 7:03 am


Return to JEvents 1.5 (No longer actively supported)

  • Who is online
  • View new posts
  • View unanswered posts
  • In total there are 0 users online :: 0 registered and 0 hidden (based on users active over the past 5 minutes)
  • Most users ever online was 94 on Tue Sep 01, 2009 12:33 am
  • Users browsing this forum: No registered users