| View previous topic :: View next topic |
| Author |
Message |
KurtB
Joined: 20 Feb 2006 Posts: 52
|
Posted: Tue Feb 28, 2006 9:44 pm Post subject: Event list w/ link |
|
|
Here is what I am trying to do...
Down the right side of my page, I would like a list of the next 10 events. However, I do not want the notes detail displayed.
I would like the "hover" to see notes, or even beter, the event name to link to window/page with the info.
I created a project, selected the Event info option for "hover", created a list of the x number of events, created a page, created and installed the module.
I see the list on my page, but the events do not pop up on hover.
I repeated the same process with the Event info option for "Event Links" and that did not work either.
What am I doing wrong?
Kurt |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Tue Feb 28, 2006 9:52 pm Post subject: |
|
|
Hi Kurt,
Event note popups do not work in event lists, only in calendar views. Since creating a page with all the event info is "even better", how about if I help you do that? If so, give me a while to write it up.
In the mean time, you can create an event view component in Thyme and change it to look exactly how you want your events to look. We'll be using it. |
|
| Back to top |
|
 |
KurtB
Joined: 20 Feb 2006 Posts: 52
|
Posted: Tue Feb 28, 2006 10:03 pm Post subject: |
|
|
If we could somehow link the event title to a Joomla page (URL) that has additional info (like the URL that is entered at the time the event is added) that would be even better yet.
As far as an event view component, I would like to see is the same info that pops up when you click on an event in the standard calendar, except triggered off of the event title in the list.
I will wait for whatever you come up with. |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Tue Feb 28, 2006 11:14 pm Post subject: |
|
|
Hi Kurt,
You can begin creating this event view component in Joomla Studio. When creating it, for type, choose Event View. |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Wed Mar 01, 2006 3:45 am Post subject: |
|
|
Hi Kurt,
Here's how to create an event view in Joomla Studio:
1. Click on 'New' under components, select Event View - Next, Standard - Next, call it event view.
2. Customize it however you want using the template system. Make sure to publish it or select 'auto publish' and click Save.
3. Create a page called event_view.php and insert your event view component into it. Make sure to publish it or select 'auto publish' and click Save.
4. Under Project, click on General. Change the "Event view page" to the page you created in step 3 and click Save.
Now it knows what to page to bring up when you want to view an event. Next we'll have to make the event titles links.
I've created a template for you that you can just import into joomla studio. Once you import the template (from the main page where you open/delete/create projects), it will be available to load in any event list component.
Goto http://www.extrosoft.com/js_templates and download event links.zip. This is the template that can be imported into Joomla Studio. No need to unzip it, just download and import. Note that the event links will not work unless viewed from within Joomla where the Thyme component is installed so do not be alarmed if you click on the event links from the preview and they do not work.
Let me know if you have any trouble. |
|
| Back to top |
|
 |
Guest
|
Posted: Wed Mar 01, 2006 4:29 am Post subject: |
|
|
Thanks for all the help. I have not downloaded the template that you created yet.
I was working on creating the event view, and I am running into a problem creating the page. When I save the page, after inserting the component, I get the following error (with a slightly changed path to remove my account name):
Parse error: parse error, unexpected '=' in /home/xxxx/public_html/demo/thyme/modules/joomla/projects/events/published/components/event_view.php on line 81
The page saves fine with a "event list" component, but not with an "event view" component.
Now what did I mess up
Kurt |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Wed Mar 01, 2006 4:46 am Post subject: |
|
|
Hi Kurt,
Nothing. It's something I've messed up Stand by for a fix... |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Wed Mar 01, 2006 4:57 am Post subject: |
|
|
Ok, sorry about that Kurt. It is beta after all
goto http://www.extrosoft.com/products/thyme/updates/js/
download the 2 files, rename to .php and upload them to:
modules/joomla/components/eventview overwriting the existing files. |
|
| Back to top |
|
 |
KurtB
Joined: 20 Feb 2006 Posts: 52
|
Posted: Wed Mar 01, 2006 5:30 am Post subject: |
|
|
Same error
Parse error: parse error, unexpected '=' in /home/xxxxx/public_html/demo/thyme/modules/joomla/projects/events/published/components/event_view.php on line 81 |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Wed Mar 01, 2006 11:40 am Post subject: |
|
|
| I forgot to mention, you'll have to re-publish the event view component.. |
|
| Back to top |
|
 |
Guest
|
Posted: Wed Mar 01, 2006 12:59 pm Post subject: |
|
|
We (you) are so close...
I now have a list, and links. However, it appears that the URL that is being created by the template is not complete.
It appears to be missing a closing " and ) but I don't know for sure. I do know that when I click on a link, I get no new page.
You can see it at demo.shabbona.org
Kurt |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Wed Mar 01, 2006 2:05 pm Post subject: |
|
|
Hi Kurt,
Do you want the event to open in a new window?
This will be fixed in the Joomla Studio download, but for now rather than downloading a file etc.., you can add this to your event list PAGE:
| Code: |
| require_once(_CAL_BASE_PATH_."include/js/newWin.js"); |
Place that just above the include() line that includes the event list component you've created. |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Wed Mar 01, 2006 2:37 pm Post subject: |
|
|
Then re-publish the page  |
|
| Back to top |
|
 |
KurtB
Joined: 20 Feb 2006 Posts: 52
|
Posted: Wed Mar 01, 2006 2:47 pm Post subject: |
|
|
New error when viewing the page on the actual website...
(_CAL_BASE_PATH_include/js/newWin.js): failed to open stream: No such file or directory in /home/xxxx/public_html/demo/thyme/modules/joomla/projects/events/published/pages/eventlist.php on line 2
Take your time. If you need to look at the actual site, I pulled the include statement out so the error is not displayed. Feel free to log into the Studio and take a look around if you wish.
Kurt |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Wed Mar 01, 2006 2:59 pm Post subject: |
|
|
Dang it .. move it below the include() line, sorry.
My account does not have super-user privileges so I can't access Joomla Studio. Otherwise, I'd be happy to. |
|
| Back to top |
|
 |
|