1. sapphireweb
  2. Jevents 2.x (Free Access)
  3. Wednesday, 03 October 2012
I am hoping that this will be a quick issue to resolve. I am attempting to create an override so that if click on a on a day that has no events, it ignores the click and stays on the same page.

In my template/html folder I have created the following
/html/
-com_jevents/
--assets/
---css/
----events_css.css
----modstyle.css

--day/
---listevents_body.php

--helpers/
--- (all from default)

The changes to the CSS are working fine. I have changed the pointer on days with no events to not-allowed, and that is working fine. However none of the changes to listtevents_body.php seem to be reflected. To test that the php file was being called, I removed the "echo JText::_('JEV_NO_EVENTS');" line and that text still shows.

So I have two questions.

1. Is my structure correct? The listevents_body.php goes directly under the folder day/ (or month/ year/) and not under another within day/ subfolder?

2. am I modifying the correct file to achieve my goal.

Thanks.

<!--- Server Information incase it's needed. --->
PHP Built On Linux Wed Jul 11 06:49:35 EDT 2012 x86_64

Database Version 5.1.65-cll

Database Collation utf8_general_ci

PHP Version 5.2.17

Web Server Apache

WebServer to PHP Interface cgi

Joomla! Version Joomla! 2.5.7 Stable [ Ember ]

Joomla! Platform Version Joomla Platform 11.4.0 Stable [ Brian Kernighan ] 03-Jan-2012 00:00 GMT
tonyp
Support Team
Accepted Answer Pending Moderation
0
Votes
Undo
Hello,

You need to stipulate your layout that is being used so:

/html/
-com_jevents/
--ext
---assets/
----css/
-----events_css.css
-----modstyle.css
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!Join the JEvents club today!
  1. more than a month ago
  2. Jevents 2.x (Free Access)
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Actually I had, I missed that in my orginal post. I have everything under default. If I use ext for example, and make sure that I set my moudle to use ext, then none of my changes in css take effect.
  1. more than a month ago
  2. Jevents 2.x (Free Access)
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
I think I may have found a bug.... I can override default & alternative but not ext.
  1. more than a month ago
  2. Jevents 2.x (Free Access)
  3. # 3
tonyp
Support Team
Accepted Answer Pending Moderation
0
Votes
Undo
It's not a bug, ext is normally using a lot of default layout files and just uses an php include within the file.

Regards
Tony
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!Join the JEvents club today!
  1. more than a month ago
  2. Jevents 2.x (Free Access)
  3. # 4
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.