Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8043 Posts in 1856 Topics- by 2099 Members - Latest Member: roi
Calendar Script CommunityCustomizationHacks and Mods (Moderators: scott, DanO, Marty)Multiple Calendars in SSI workaround?
Pages: 1 [2]   Go Down
Print
Author Topic: Multiple Calendars in SSI workaround?  (Read 992 times)
0 Members and 1 Guest are viewing this topic.
Drew
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #15 on: December 12, 2005, 08:03:00 AM »

The other problem, is that the "view calendar" link at the bottom of each one all goes to default calendar:
/cgi-bin/events/calendar.pl?calendar=

any ideas?

Logged

DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #16 on: December 12, 2005, 01:29:00 PM »

** I want those events listed to be a link to their event on the calendar. **

Look at the way it's done on the default.html template file and duplicate it.

** it is well over a half hour past midnight and it is showing yesterday still. Does this have to do with my server time or something I can adjust within calendarscript? **

Probably. Did you set the Time Zone Offset for the calendar?

** the "view calendar" link at the bottom of each one all goes to default calendar **

That is an error in the ssi.html template. Find <%=$calendar_key%> and try changing it to <%=$CALENDAR_KEY%>

Dan O.

------------------

Logged
Drew
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #17 on: December 12, 2005, 02:32:00 PM »

DanO you rock my man.  I'm gonna try this when I get home from work tonight.  I appreciate your patience with my SSI-ignorant self Tongue

I gotta check into some of the stuff you've got on the unofficial hacks and mods, try and implement that mini-calendar and stuff.  Very cool.

Also - I'm gonna purchase the script again (I see you can just download it, but I'm an honest guy) for another website.  I saw something similar in one of the mods/hacks on your page.  What I want to do is:

Create multiple logins for the calendar (easy, of course), but I want to create mini calendars for artist's profile pages that will only display the events they posted.  Basicall, one big calendar that will have all the artist's gigs on it, then on each of the artist's profile pages, they will have a mini calendar that will only display the events they logged in and posted.

Is this possible?  It seems like it would be mixing a couple mods and templates for user calendars and mini calendars.....

Logged

DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #18 on: December 12, 2005, 03:35:00 PM »

** they will have a mini calendar that will only display the events they posted. Is this possible? **

I'm sure it is. The 'Private Events' plug-in might be able to be modified to be used as far as limiting the events being displayed. Otherwise some sort of conditional in the template might be able to be used. Or each artist has their own calendar and the main calendar is a Meta Calendar displaying the evens from all.

There are lots of possibilities.

Dan O.

------------------

Logged
pPittman
New Member
*

Karma: 0
Offline Offline

Posts: 0

Public relations


WWW
« Reply #19 on: December 12, 2005, 06:56:00 PM »

I think the bottoim line here is that there may be a need or at least a reason to look into the posibility of enabling such a feature.  Until then though, I am content!

Thanks for the help DanO.

Paul

------------------
Don't ask a question if your afraid of the answer!

Logged

Don't ask a question if your afraid of the answer!
Drew
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #20 on: December 13, 2005, 08:01:00 PM »

I looked at how default.html pulled the hyperlink and found this code:

<A HREF="<%=$CGI_URL_QUERYSTRING%>view=Event&event_id=<%= EVENT FIELD(id) %>" STYLE="text-decoration:underline;" CLASS="text"><%= EVENT FIELD(title) %></A>


but when I put that code into the ssi.html code my problem was that the hyperlink includes "&template=ssi.html" which gave me a white screen with the title, but no description, nothing.... not exactly sure how to make it hyperlink w/o tmeplate call (default)....

Logged

DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #21 on: December 14, 2005, 12:06:00 PM »

** the hyperlink includes "&template=ssi.html" **

Add &template=default.html to the end of your added code. Eg.

...&event_id=<%= EVENT FIELD(id) %>&template=default.html" STYLE=...

It will override the template=ssi.html part.

Or you can do away with the $CGI_URL_QUERYSTRING part and built your own link URI using the some of the 'Defined Variables' described in the documentation.

Dan O.

------------------

Logged
Drew
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #22 on: December 16, 2005, 12:01:00 AM »

Everything worked great  

Now the simplest thing I can't seem to solve. How do I take the -->indent off the feed?

Logged

Drew
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #23 on: December 16, 2005, 09:40:00 AM »

k.  Figured it out.  Just had to remove the <DD>

------------------
http://reviewthisradio.com
" TARGET=_blank>http://review-mag.com
http://reviewthisradio.com

Logged

Pages: 1 [2]   Go Up
Print
Jump to: