solved Events Calendar Projam light

Annush
Annush
@annush
6 years ago
230 posts
Hi - Anyone know how to get the Events to be seen on 'Newest' & 'Featured' Tabs please? Thank You
Event.jpg
Event.jpg  •  38KB


updated by @annush: 06/04/18 01:10:57AM
paul
@paul
6 years ago
4,326 posts
Are you saying no events are showing when clicking on those tabs?
Looking at the skin code in index_events.tpl I see this -
{* EVENT LIST FUNCTION *}{if isset($option) && $option === 'upcoming'}
    {assign var="order_by" value="event_date NUMERICAL_ASC"}
{elseif isset($option) && $option === 'newest'}
    {assign var="order_by" value="_created asc"}
{elseif isset($option) && $option === 'featured'}
    {assign var="order_by" value="event_rating_1_average_count NUMERICAL_DESC"}
{/if}
so for 'featured', if no events have been rated then maybe none will show.


--
Paul Asher - JR Developer and System Import Specialist
Annush
Annush
@annush
6 years ago
230 posts
There are some very old events still on the tabs but are very old from way back with a different skin. I am creating events to get things working, so, if by Rating the event gets it within that tab, then I have rated it. As for Newest, logically the Events ought to appear in asc order - but they don't either. As well as the above when clicking on the drop down menu of Events by > Ratings, I do not have such a page. One would think it would be part of the skin. Thank You
Event Not Exist.jpg
Event Not Exist.jpg  •  33KB

michael
@michael
6 years ago
7,715 posts
Annush:..... when clicking on the drop down menu of Events by > Ratings, I do not have such a page.....
What is the URL of that page?
Annush
Annush
@annush
6 years ago
230 posts
Sorry different time zone, Cyprus! https://fatsafatsa.com/
douglas
@douglas
6 years ago
2,790 posts
Annush:
There are some very old events still on the tabs but are very old from way back with a different skin. I am creating events to get things working, so, if by Rating the event gets it within that tab, then I have rated it. As for Newest, logically the Events ought to appear in asc order - but they don't either. As well as the above when clicking on the drop down menu of Events by > Ratings, I do not have such a page. One would think it would be part of the skin. Thank You

I've got both of these fixed for you.

I changed the order_by in your index_events.tpl to desc for the "Newest Events"
https://fatsafatsa.com/core/template_modify/skin=jrProJamLight/id=68

and the events by ratings URL was wrong in your SiteBuilder Menu Editor.

Hope this helps!


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
Annush
Annush
@annush
6 years ago
230 posts
Thanks - looking much better but I still can't get the Featured. Created a new event and even created event_featured in the Form designer. Still only the old stuff showing in Featured.
Form Designer.jpg
Form Designer.jpg  •  8KB

Annush
Annush
@annush
6 years ago
230 posts
Ok - Sorted - Thank you. I found that I had to Delete the old ones for the new to come up. So, I suppose that's one way of doing it. I just need to be aware. Thank you for the fix - Much appreciated.
douglas
@douglas
6 years ago
2,790 posts
Annush:
Ok - Sorted - Thank you. I found that I had to Delete the old ones for the new to come up. So, I suppose that's one way of doing it. I just need to be aware. Thank you for the fix - Much appreciated.

Featured events are not listed by date, they are listed by rating. If you want to change that to list them by date, which is kind of redundant since the Newest Events is the same type of list, then modify the index_events.tpl and find this:

    {assign var="order_by" value="event_rating_1_average_count NUMERICAL_DESC"}

and change it to this:

    {assign var="order_by" value="_item_id desc"}

Hope this helps!


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos

Tags