Jump to content

events/sidebar_events.php MENU NOT SHOWING


ChrisTaylor

Recommended Posts

  • Administrators

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
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

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!

Link to comment
Share on other sites

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...