Jump to content

Recommended Posts

  • Administrators
Posted

Take a look at the line near the top of /admin/modules/events_admin/Events_admin.php that looks something like:

$this->set('sidebar', 'events/sidebar_events.php');

Make sure the ending ".php" matches the type of template you are using, most likely it needs to be ".tpl"

  • Like 1
Posted

I still have a problem, I change the code to this:

$this->set('sidebar', 'events/sidebar_events.tpl’);

I am using .tpl. It says /events/sidebar_events.tpl does this mean I need to put the tpl in the event admin as well templetes. Also when I do this I get this error

Parse error: syntax error, unexpected '>' in /home/wwwbafsv/public_html/admin/modules/Events_admin/Events_admin.php on line 21

I get this in all of the admin centre so what do I do, im not sure. I will change it back to .php so i can use the site

  • Administrators
Posted

It looks like you have made a change to the code that has caused a php error. Try to only replace the "php" with "tpl" and save the file.

  • 10 months later...
  • 2 months later...
Posted

Worked like a charm!

Steps :

1. Copy all files in /admin/modules/Events_admin/ (All .php, copy all files to .tpl format into the same folder)

2. Edit the Events_admin.php in /admin/modules/Events_admin/ : Change "$this->set('sidebar', 'events/sidebar_events.php');" (Line 15 in default) to "$this->set('sidebar', 'events/sidebar_events.tpl');"

Again worked! Thanks so much!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...