1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. To combat forum spam, we are temporarily disabling the ability to create new accounts for the forums. Please feel free to open a support ticket through out client area with any support issues. You can also search the forums for answers to many questions.

Any way to make list mode function as "headlines"

Discussion in 'Customizations (Themes / Templates)' started by JamesC, Oct 6, 2005.

Thread Status:
Not open for further replies.
  1. JamesC

    JamesC New Member

    What I'd like to do is have a list mode that displays just the titles of events which you could then click on to take you to another page with another list mode calendar displaying the full details of the selected event.

    Sort of like a blog mode where it goes from list mode-> list mode instead of normal mode -> list mode.

    The best I've come up with is to modify the monthly.php and "hard link" the event title/date to a new page that has another list mode calendar (with a different template) displaying the full details.

    Is there any way so it will just display the events for the selected day (like blog mode does)?

    In my attempt to make this work I've discovered that if you put multiple list mode calendars on a page each filtering for a different category, the calendars after the first will only display the first event, no matter how many $listEvents are defined. Any way around this?

    Examples: http://psichi.subcortical.com/test.php

  2. Brian

    Brian EPC Developer Staff Member

    Good idea. The Blog Mode was released just yesterday... You may want to add this to the Feature Requests forum as it's not currently designed that way.

    Another option is to use the new mouse-over mode on the list view, but this may be give you the results you desire.
  3. JamesC

    JamesC New Member

    So there is no way to have multiple list mode calendars on the same page with different category filters activated and still show the correct number of events?
  4. Brian

    Brian EPC Developer Staff Member

    I'll need to test this as I don't think I've used more than one list mode calendar on the same page...
  5. JamesC

    JamesC New Member

    Nevermind, I figured out a way to make it work.

    Thanks for the quick response earlier Brian.
  6. JamesC

    JamesC New Member

    Something seems to be buggy with the way category filters are applied when multiple list mode calendars are on the same page (using different filters). I managed to overcome the problem that the second list calendar would only show 1 event, by increasing the $listEvents command to 10 for the second list mode calendar. Now it displays the next 3 events.

    Ex: http://psichi.subcortical.com/members.php

  7. Brian

    Brian EPC Developer Staff Member

    It's probably an issue with some list mode variables not being reset... I'll let you know what I find.
  8. Brian

    Brian EPC Developer Staff Member

    I can't seem to duplicate this. Can you attach the code for your page so I can see your implementation (zip file). If you don't want to post it publicly, please open a support ticket and attach it there.
  9. JamesC

    JamesC New Member

    Here is the code for my test.php file (http://psichi.subcortical.com/test.php):

    Notice that the $listEvents variable is set to 3 for both. However if you view the page, only 1 event is displayed for the second calendar.

    Now, check out http://psichi.subcortical.com/test2.php
    The only difference is that I increased the second $listEvents variable to 5. Now it shows 2 events. If I set $listEvents to 10, it will show 3 events. :confused:
  10. Brian

    Brian EPC Developer Staff Member

    Add the code below to your page just before each require command:


    Let me know if this helps.
  11. JamesC

    JamesC New Member

    Yup, that worked. Thanks.
  12. Brian

    Brian EPC Developer Staff Member

    I've added this as an automatic feature to Version 6.3.01 which should be released soon.
Thread Status:
Not open for further replies.

Share This Page