You need to be logged in to view a user's profile.
  1. tomdebus
  2. Help (Jevents 1.4 for Joomla 1.5.x)
  3. Monday, 07 April 2008
Hi Jevents-Team,

first of all thanks for this great piece of help - really enjoy and use your work.
However I have trouble enabling save events from the frontend. I do not get
any JS errors and it works fine from the Backend.

Opened up to the most relaxed user types as well but the save / cancel buttons
just do nothing. Tried to find the bespoke index.php but tho only relevant
template seems to be events.php which I cannot edit since it´s owned by my
hosting provider <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: -->

Any help - should I ned to edit a .php file manually in order to get the frontend
to work?

Thanks for your help
-Tom
Accepted Answer Pending Moderation
0
Votes
Undo
Often it's a lack of initializing the editor. Please read
http://www.jevents.net/content/view/26/14/lang,en_GB/
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Thomas,

that one I read - but which index.php template would I need to change?
The .php files in the events component can´t be changed...

Thanks again
-Tom
Accepted Answer Pending Moderation
0
Votes
Undo
Check the index.php in your template directory:

<your domain>/templates/<your template>/index.php
Accepted Answer Pending Moderation
0
Votes
Undo
I'm having this same problem but am unsure exactly where to put this statement in my templates index.php file.

I'm not a programmer and am a bit confused. Could anyone tell me specifically what to add and where in the file it should go? Does it go in the head or body section?

Any help would really be appreciated!
Accepted Answer Pending Moderation
0
Votes
Undo
Read <!-- l --><a class="postlink-local" href="http://www.jevents.net/forum/viewtopic.php?f=11&;t=22#p711]viewtopic.php?f=11&t=22#p711[/url]<!-- l -->
Accepted Answer Pending Moderation
0
Votes
Undo
Thank you but that post seems to be about allowing guests to edit the schedule and that isn't something I want to do..

Does that code still honor the admin jevent settings of who can edit or add to schedules?
Accepted Answer Pending Moderation
0
Votes
Undo
Ok, so I tried out the code and it didn't work for me. Most likely I'm doing something wrong.

Here is what I put in, just below the body tag:
<?php $user =& JFactory::getUser();
if (!$user->get('id') && $option == 'com_events' && JRequest::getVar('task') =='edit') {
$document = &JFactory::getDocument();
$document->addScript( JURI::root(true).'/includes/js/joomla.javascript.js');
} ?>

I tried without the php tags and it didn't work.

Sorry to be such a noob, but I'm honestly not a programmer.

Any help to do this properly would really be appreciated.
Accepted Answer Pending Moderation
0
Votes
Undo
Ok, so I tried out the code and it didn't work for me. Most likely I'm doing something wrong.

Here is what I put in, just below the body tag:
<?php $user =& JFactory::getUser();
if (!$user->get('id') && $option == 'com_events' && JRequest::getVar('task') =='edit') {
$document = &JFactory::getDocument();
$document->addScript( JURI::root(true).'/includes/js/joomla.javascript.js');
} ?>

I tried without the php tags and it didn't work.

Sorry to be such a noob, but I'm honestly not a programmer.

Any help to do this properly would really be appreciated.
Accepted Answer Pending Moderation
0
Votes
Undo
In Joomla 1.5 you have nothing to change in your template since for logged in users the editor is always loaded.
Accepted Answer Pending Moderation
0
Votes
Undo
Ok, I've figured out what is happening, but I'm not sure why it is happening.

When I login to the front-end as Admin and try to add an event - The event edit interface is inside of an editor itself (pic attached). So, the events edit interface is just like more html and I can resize the table fields, change the text labels, etc instead of interfacing with it like a regular input form.

To put it another way, I'm editing the JCE input form instead of interfacing with it to input data.

What can I do to fix this? I appreciate the help.

Thanks
[attachment=0:2p4333sf]<!-- ia0 -->Firefox001.jpg<!-- ia0 -->[/attachment:2p4333sf]
Accepted Answer Pending Moderation
0
Votes
Undo
Please switch to the TinyMCE editor and try again.
Accepted Answer Pending Moderation
0
Votes
Undo
Yep, that did it.

Any way to get it to work with the JCE editor? I sure do like it much better!
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.