Hi Michelle
At least upgrade to 139h, then Event Calendar should work.
Let us know if you have further problems with this mod.
150 can wait until all mods used by your client have been upgraded to 150.
Cheers
Hi Michelle
At least upgrade to 139h, then Event Calendar should work.
Let us know if you have further problems with this mod.
150 can wait until all mods used by your client have been upgraded to 150.
Cheers
Thanks so much, will do :)
First of thank you to everyone who has contributed to this mod and fixing its problems. The mod is working great for me on one site, with the exception of a little piece of code that's driving me nuts! :)
This line of code in the includes/classes/calendar.php file is the one I'm trying to change, basically because it's one more unnecessary click visitors need to make to reach the event's page.
I would like the line above to accomplish what this line of code on the templates/tpl_events_calendar_default.php doesPHP Code:$bname = FILENAME_EVENTS_CALENDAR;
return "index.php?main_page=".$bname."&_day=".$day_start."&_month=".$month_start."&_year=".$year_start."";
}
I just have no clue how to write it to make it work.PHP Code:<a href="<?php echo 'index.php?main_page='.FILENAME_EVENTS_CALENDAR;?>&select_event=<?php echo $event_array['id'];?>">
<?php echo $event_array['title'];?>
</a>
If anyone could shed some light, I would really appreciate it!
M.Valenti
Contemporary Artist - Entrepreneur
http://www.manuelavalenti.com - http://www.byvalenti.com
Hi mvstudio
1. So I clicked on Event Calendar link on your site to get a month view,
2. clicked on Next Month >> to view listing table for May 2012,
3. clicked on red 4 to obtain an event listing table headed Title, Start Date, End Date,
4. and then must click on any event shown to view actual event.
If I understand you correctly, when I action 2 (clicking on red 4) , I should go straight to the result of action 4 (view actual event), by-passing action 3.
But what if you have more than one event on any one day? Surely you could not by-pass action 3.
Maybe what you may want is an if-statement that skips action 3 when there is only one event on that day. However, unfortunately, I have no ready solution for this.
BTW which version event calendar and zen cart.
Cheers
Hi! thank you so much for answering so quickly.
Yes, I see your point, the problem is (and I've tested it) if I have 2 or more events, that page still doesn't populate the entire list of events. Only the first event for that day shows up. When clicking on the event to go view the details, the link to the second event displays in a weird way at the bottom of the page, the reason why I was thinking to remove completely the event calendar listing as it made no sense.
There are currently two events for the same 4,5 and 6 of May (one for real and one dummy) and only 1 shows up in the listing
http://www.byvalenti.com/index.php?m...=05&_year=2012
Clicking on it will reveal the details for the first one, and at the bottom a link to the second one.
If the second page could display the entire list of events for that day, then great! I'll keep it, but the way it is right now, it makes no sense.
Any ideas?...
thanks a bunch!![]()
M.Valenti
Contemporary Artist - Entrepreneur
http://www.manuelavalenti.com - http://www.byvalenti.com
Glad you were able to respond so quickly.
I see what you mean - Displaying 1 to 2 (of 2 events).
View All is also showing one item, and Split Pages has me wondering.
There may be a setting to display the number of events for these pages. But where it is is anyones guess.
Or the problem may be in your css, possibly with Displaying 1 to 2 (of 2 events) overlaying the second row of the table. Maybe test by adding several more events to these dates.
Please, which version event calendar and zen cart are you using.
I also have a navigation problem with your site, in that there is no clear path to other parts of the calendar, such as to full year or month views, other than using the browser back/forward buttons.
By comparison, I have my calendar in a sidebox that contains links to these other parts and also display breadcrumbs.
View All and Split Pages is a pagination feature since we use grid product display instead of column, so it has nothing to do with events calendar.
We also thought the css could be the problem, but there is nothing there that would prevent the list of events to display at all. So that's not it.
I just entered more dummy events, and something did change, but not what I expectedOnly event ID 1, 5 and 7 show (?) but 2,4, and 6 don't. Any ideas why only the odd numbers would show?
We're using 1.3.8a fully modified, and the events calendar version, not sure, as I downloaded the one on the free software add ons and made all the changes I found on this thread, plus more changes to suit our needs. We took the year navigation out for now. We're only interested in showing the calendar and event on a per date basis.
thanks so much for looking into this!![]()
M.Valenti
Contemporary Artist - Entrepreneur
http://www.manuelavalenti.com - http://www.byvalenti.com
OK I now see Green Red & Purple events, presumably your 1,5,7 - but why no 3 (ie 1,3,5).
There may a css or other width setting affecting this table of events? Maybe reduce table width to less than 40%, accounting for padding/margins/borders.
Or something to do with css rowOdd/rowEven settings.
I would recommend upgrading to 139h and using my version as follows, as we could then compare like for like.
http://www.zen-cart.com/forum/showpo...&postcount=172
The reason why event ID 3 is not showing is because that event was a test event and was erased, so ID 3 is non-existent, sorry about that, I should have mentioned it at the beginning.
We won't be upgrading to 1.3.9instead we're upgrading to 1.5, but since this store is extremely and heavily modified is going to take sometime to do the jump. For now we need to have the events page in place on this one.
I checked the CSS's, all of them, but there is nothing there at all, that would prevent even numbers not to appear, it's got to be in the codding somewhere in the classes/calendar.php file, I just can't seem to find it. I don't have the rowOdd or rowEven classes in the events calendar at all, and these two classes are fine on the css and do show correctly on the site where they display.
The weird thing is that they do display correctly in the pull down menu, but not on the listingit sure makes no sense.
M.Valenti
Contemporary Artist - Entrepreneur
http://www.manuelavalenti.com - http://www.byvalenti.com