J and Beyond 2013 | An International Joomla! Conference - May 31st - 2nd, 2013, Noordwijkerhout, The Netherlands
It is currently Sun May 19, 2013 3:02 pm

Hide the "all categories" option at the bottom?

Discuss JEvents 2.x for Joomla 1.5-2.5 here - club members can use the special club forum for faster response times.
Forum rules
When requesting support, please copy and paste the 'Version information for Support Forum' from the JEvents Control Panel into your post. If you cannot see this, please enable JEvents project news within it's configuration. Also, if you get a 500 Error, Enable Joomla! Maximum Error Reporting and view the page again, you should now have a more detailed error which will help us to resolve you issue quickly.

Hide the "all categories" option at the bottom?

Postby Malakai78 » Mon Nov 05, 2012 4:30 pm

Hi all, Im trying to hide the category and "all categories" section from the bottom of a calendar.

Basically I have six different pages (clubs) that need to have events showing on a central calendar, with each club having its own category (name) with a menu link inside that clubs page. This opens a calendar and shows only the category specified for that calendar and gives no option to change to a different category, also hiding or removing "all categories".
The home page will be the only page that allows a calendar with all clubs (categories) to be shown or the user to choose a specific category.

Hope this makes sense.

Mal

Code: Select all
Joomla : 2.5.7
component_com_jevents : 2.2.8
module_mod_jevents_cal : 2.2.8
module_mod_jevents_filter : 2.2.0
module_mod_jevents_latest : 2.2.5
module_mod_jevents_legend : 2.2.3
plugin_search_eventsearch : 2.2.0 (not enabled)
Malakai78
Posts: 13
Joined: Mon Nov 05, 2012 3:17 pm

Re: Hide the "all categories" option at the bottom?

Postby Tonyp » Mon Nov 05, 2012 8:25 pm

Hello,

You could use CSS to hide the first or last child depending on which legend you have?

Or you could create a template override to hard code the change which will require some php/html knowledge.

Regards
Tony
---------------------------------------

Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
User avatar
Tonyp
Contributor
Posts: 8717
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man

Re: Hide the "all categories" option at the bottom?

Postby Malakai78 » Tue Nov 06, 2012 9:19 am

Which file needs modifying to remove the all categories option? I have some PHP/HTML knowledge and should be able to sort it if i know which file it is.
Malakai78
Posts: 13
Joined: Mon Nov 05, 2012 3:17 pm

Re: Hide the "all categories" option at the bottom?

Postby Tonyp » Tue Nov 06, 2012 9:22 am

the legend.php located:

modules/mod_jevents_legend/your layout/tmpl/

Regards
Tony
---------------------------------------

Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
User avatar
Tonyp
Contributor
Posts: 8717
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man

Re: Hide the "all categories" option at the bottom?

Postby Malakai78 » Tue Nov 06, 2012 9:34 am

Thanks Tony, it didnt help me lol. I cant see in the code where it pulls the categories from and how it displays them at the bottom of the calendar.
Malakai78
Posts: 13
Joined: Mon Nov 05, 2012 3:17 pm

Re: Hide the "all categories" option at the bottom?

Postby Tonyp » Tue Nov 06, 2012 10:06 am

Sorry I referred to the Calendar module (I was working on this) I have updated my post to reflect the legend module.

Regards
Tony
---------------------------------------

Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
User avatar
Tonyp
Contributor
Posts: 8717
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man

Re: Hide the "all categories" option at the bottom?

Postby Malakai78 » Thu Nov 08, 2012 2:49 pm

Thanks for all your help so far Tony, sadly i cant see in the code where it generates the Category and All Category that it places underneath the calendar in full view. All I need to do is hide the all categories option. Showing the selected category or a group of categories is ok. Id be eternally greatful for any help on this one.
Malakai78
Posts: 13
Joined: Mon Nov 05, 2012 3:17 pm

Re: Hide the "all categories" option at the bottom?

Postby Malakai78 » Mon Nov 12, 2012 11:17 am

Bump.

Anyone able to help?
Malakai78
Posts: 13
Joined: Mon Nov 05, 2012 3:17 pm

Re: Hide the "all categories" option at the bottom?

Postby Tonyp » Mon Nov 12, 2012 11:47 am

Hello,

I would suggest running the site locally with the likes of netbeans ide debuger and finding the code / array which injects the all categories row and un-setting it.

For a more detail run down on how to make the actual change, this is some thing we provide to club members as it is quite advanced changes.

Regards
Tony
---------------------------------------

Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
User avatar
Tonyp
Contributor
Posts: 8717
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man

Re: Hide the "all categories" option at the bottom?

Postby Malakai78 » Mon Nov 12, 2012 11:56 am

Thanks for that, will firebug be able to break this down, im not at a machine capapble of debugging at the moment.
Malakai78
Posts: 13
Joined: Mon Nov 05, 2012 3:17 pm

Next

Return to Jevents 2.x (Free Access)

Who is online

Users browsing this forum: No registered users

Main Menu

User Menu

Hosted By


Who is online

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

Login Form