Re: Scheduled Events Add-On
Extra sidebox created.
When I installed the mod two sideboxes were added to my admin/layout page....one called sideboxes_information.php and the other called sideboxes_information.php.bak
I don't know if it's related, but I also got an error in either box when I clicked on the link in the store. Subsequently found in this forum info to rename database files sans prefix and the proper page now loads.
I tried erasing the bak file from its folder and that just leaves the the entry on the admin/layouts page but with a big red 'error - file missing' message.
Anyone know how I can get rid of that second box? It doesn't appear to interfere....but I'd like to de-clutter.
Re: Scheduled Events Add-On
Please provide a link and we'll try to help.
Re: Scheduled Events Add-On
No link to my site as I'm doing this on test site 1.3.8 local server before I update live site from 1.3.7
I did resolve the duplicate sidebox issue by removing all the files, including the .bak file and reloading (with no .bak file ). Still not sure why it happened but suspect the DB prefix somehow related.
The mod is up and working and I really like it.
Now, for my next task.... I tried to move the link for Events from a sidebox to the CSS Flyout Header. Amazing to me, I got the link to place itself in the header, but the link can't find the actual Events page.
I put FILENAME_DEFINE_EVENTS in templates/my temp/common/tpl_dropmenu.php. and I put HEADER_TITLE_DEFINE_EVENTS in languages/english/extra_definitions/my temp/headermenu.php
In both cases I copied code used for another item in same header, and this worked as far as physically placing the link where I wanted it.
Is there a file address I should be popping in somewhere to direct the link?
I was planning to repeat the exercise using url instead of file name to see if that works. And/or to use the url to place the link in my upper nav bar. (The object being to eliminate the Information sidebox).
Re: Scheduled Events Add-On
Found quick and easy solution in CSS Flyout forum to add Scheduled Events to my Horizontal Information Menu.
A single line of code added in includes/templates/my template/common/tpl_dropmenu.php
<li><a href="index.php?main_page=events">Events</a></li>
I placed this in the file relative to other links for where on the menu I wanted it to appear.
Thanks for doing this mod!
Re: Scheduled Events Add-On
This mod looks like a great start to what i need for my site. I need two other functions though and would lioke to know how difficult it would be to modify this to support them as foolwos.
1. categorise the events based on the product categories
2. have the advanced searc ported to search the events table.
thanks in advance
Roy
Re: Scheduled Events Add-On
You can always add a category column to the database and add it to the sort as a group by.
Re: Scheduled Events Add-On
Thanks 2 questions.
1. I could add a category column but is there a way to use the existing product categories?
2. Where\what do i edit to add the column to the sort as group by?
Re: Scheduled Events Add-On
You'd have to tie the two together with IDs. To me it would be simpler to just fill in the column than trying to get the lookup working with the simple search it now uses.
The Select statement is in inlcudes/modules/pages/events/header_php.php.
HTH
Re: Scheduled Events Add-On
OK Thanks, I'm using the multisite mod and wanted to use it to restrict events by category as well.
Re: Scheduled Events Add-On
how would i go about uninstalling this add on please?