Can you have multiple pages on an upcoming page list?


(Jesstp) #1

Hi all,

 

I've built an upcoming events list and only want to show 10 events per page and if there are more events, have the next page option.

 

On the manual it states: 

The Calendar Events Search Page can be used as an alternative to this asset to provide similar functionality with more customisable listing capabilities. For more information, please refer to the Calendar Events Search Page chapter in this manual.

 

I did initially try this and it wouldn't allow me the layout I wanted - a list.

 

If it isn't possible to have a multiple page upcoming event list, can anyone suggest an alternative?

 

thanks


(Peter McLeod) #2

Hi

 

The calendar search page should be able to do what you need, if you set the date field to 'upcoming events', and the 'Assets per page' to 10.

 

Have you updated the default format to display the results in the list format you need? the default will just display the linked asset names.

 

Thanks

Peter


(Jesstp) #3

Thanks for your help!

 

Ok, I've managed to apply the layout that I want, but only after you have clocked the submit button. When I go to the event page I can only set the Initial Search Page Layout using search options.

 

What I want to happen is when you click on the events page all events are already listed.


(Peter McLeod) #4

Hi

 

Just need to set the Stored Search query location and options (in the details section of the calendar search page).

 

Select your parameter field for the date, and choose 'Set Value' and add 'upcoming_events'.

 

Then under that in the Stored Search Options section - set show results to yes.

 

Thanks

Peter


(Jesstp) #5

Done - thank you SO much for your help!!  Have a fabulous weekend!


(Jesstp) #6

One last question - how do I make old events not appear on the list without doing it manually?


(Peter McLeod) #7

Hi If you have set the date search field as 'fuzzy' and the option as 'upcoming events' then it should only be returning events in the future.

Is this what you mean?

Thanks

Peter


(Jesstp) #8

Yes, so when you land on the events page all the events are listed, but at the moment it is still showing an event from yesterday.

 

In Search Fields the only way the events show is if it is set too:

 

Logical Grouping: Match on ALL fields

Allow Empty Searches? Yes

Events Filter Fields: date_range > Fuzzy Dropdown > Upcoming Events > Event Horizon set to 180 days.


(Jesstp) #9

It seems crazy that a Calendar Events Search Page would show old events, but an Upcoming Events List doesn't!? I've just seen this post from last year http://forums.squizsuite.net/index.php?showtopic=12771.

 

I am not using a search option (as yet) and have it so when you click on the event listing page all events appear. Is the only way to have an old event (yesterdays event) not display automatically to set up a trigger?


(Bart Banda) #10

That's what that search filter is for, so that you can set it to only show upcoming events using the Fuzzy Dropdown value that you specified above. 

 

Why can't you use the Calendar Search Page instead? 


(Jesstp) #11

At first I was using the Upcoming events page, as I didn't think that I could use the layout I wanted using the Calendar Search Page, but with the help of PeterM I did. I'm using the Calendar Search Page now, but it is showing past events even when I have the above options.

 

I don't know what I'm doing wrong! 

  upcoming events.png (134 KB) events date filter configuration.png (222 KB)


(Peter McLeod) #12

Hi

Not sure if it would make a difference - but maybe try changing the Logical Grouping for the date and search fields - at the top) - to match on both (even though you aren't using a search field).

Otherwise - maybe its getting cached in your browser? 

Thanks

Peter


(Jesstp) #13

When I was checking the page in another browser it worked fine and then it dawned on me, (I'm really embarrassed to say) it was because I was checking the page whilst logged in. 

 

<_<  

 

Thanks again - you've been a real help!


(Jesstp) #14

So it seems that being logged in was not the problem at all (thankfully).

 

In case someone else has this problem, I've had to create a trigger to change event status to "archive" on the day after the end date.


(R Mcbryer) #15

Hi,

I have got the calendar events search page to work without the extra trigger.

To do this I have set the search fields as:

Then in the stored search set:

date_range - Set Value = upcoming_events