By Guest on Wednesday, 18 May 2016
Replies 9
Likes 0
Views 1.9K
Votes 0
Hi!

In the month view, when there are events outside the current month (at the end of the previous or the start of the next), I can see the days in gray, but I can´t see the events assigned to that days.

It´s possible to show them?
Well I've been asked about 5 minutes ago to find out the same thing. I get a feeling I might have to find another way.
·
Wednesday, 18 May 2016 13:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

Not by default I'm afraid. It's never really been asked before.

It is possible with a template override for the non-club layouts. You would just need to set date range of events earlier so it pulls them in before and after and adjusts them in the correct rows.

This would require PHP knowledge though.

Many thanks
Tony
·
Wednesday, 18 May 2016 20:07
·
0 Likes
·
0 Votes
·
0 Comments
·
ok! no problem, I´ll try if I come to

thanks!
·
Thursday, 19 May 2016 07:19
·
0 Likes
·
0 Votes
·
0 Comments
·
I would like to do this, too. My client doesn't like the greyed-out dates at the beginning and end of the month view for previous and next months dates. Which file needs to be copied as an override and where should it be copied to? Thank you.
·
Wednesday, 19 April 2017 16:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

Please see:
https://www.jevents.net/frequently-asked-questions/customising-layouts

It should give you a good basis.

Many thanks
Tony
·
Tuesday, 25 April 2017 12:23
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

Please see:
https://www.jevents.net/frequently-asked-questions/customising-layouts

It should give you a good basis.

Many thanks
Tony


Thank you. I had already looked but I wasn't sure about the reference to templates/ja_purity as I'm not using the ja_purity template.

So, I have created duplicate folders - one as per the instructions in a ja_purity folder, but using 'month' instead of 'year' and another in my actual template folder (it_zen).

/public_html/templates/it_zen/html/com_jevents/default/month/calendar_body.php
/public_html/templates/it_zen/html/com_jevents/geraint/month/calendar_body.php
/public_html/templates/ja_purity/html/com_jevents/default/month/calendar_body.php
/public_html/templates/ja_purity/html/com_jevents/geraint/month/calendar_body.php

To test, I added an extra table row at line 26, adjusting the location as required and also on the original:

<tr valign="top">
<td>THIS IS public_html/components/com_jevents/views/default/month/tmpl/calendar_body php
</td>
</tr>

But nothing has changed on the front end.

In cPanel I searched for all instances of calendar_body.php and eventually found the correct one at /components/com_jevents/views/flat/month/tmpl/calendar_body.php

I added the code above in this original file after line 47 and sure enough it showed up on the front end. I then removed it.

For the override I created yet another new folder based on the original location: public_html/templates/it_zen/html/com_jevents/views/flat/month/tmpl/ but it doesn't work, either.

Please tell me where I should place the override file. Thank you.
·
Tuesday, 25 April 2017 18:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

So if you are using the flat JEvents theme your override should be in:

public_html/templates/it_zen/html/com_jevents/flat/month/

notice the lack of tmpl

Many thanks
Tony
·
Wednesday, 26 April 2017 10:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

So if you are using the flat JEvents theme your override should be in:

public_html/templates/it_zen/html/com_jevents/views/flat/month/

notice the lack of tmpl



I was using the 'flat' theme because that was the theme that was active when I installed the component.

That location doesn't work as an override. What does work, though, is public_html/templates/it_zen/html/com_jevents/flat/month/ - i.e. removing /views as well as /tmpl

Now all I need to do is work out how to get the events to display for "daysoutofmonth" dates.

Regards,
Gillian
·
Wednesday, 26 April 2017 10:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Sorry a busy/tired morning yes the views need removing too!
·
Wednesday, 26 April 2017 10:46
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post