Jevents 2.x (Free Access)

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 follow these steps:

1. Update all JEvents add on's first, via the Joomla! Updater
2. Copy and Paste the JEvents Support Information from the JEvents Control Panel.
3. If you get a 500 error OR white page, enable Maximum Error Reporting in Joomla! Global Config and visit the page again, this should give you a more detailed error and help us provide a prompt response.

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

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
---------------------------------------
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: 23758
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man

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

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

the legend.php located:

modules/mod_jevents_legend/your layout/tmpl/

Regards
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: 23758
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man

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

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
---------------------------------------
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: 23758
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man

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

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

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
---------------------------------------
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: 23758
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man

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
  • 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