Jump to content

Sidebar problem in Admin page(might be a bug) [SOLVED]


WebsterZhang
 Share

Recommended Posts

Hi,

When you visit 'admin' page, did you find that the website shows a '.tpl' filename on the top of the sidebar? (attached 'before.png')

It did trouble me to find the reason. But finally, I solved that problem. That is what the sidebar should display. (attached 'after.png')

You may find '/admin/templates/core_sidebar.tpl' which is a one-line file. I write the code below.

<div id="sidecolumn"><?php echo $sidebar?></div>

I changed the code into this.

<div id="sidecolumn"><?php Template::Show($sidebar);?></div>

Then the problem is solved.

In order to help more admin, I decide to put the method here. Thanks for your reading.

Webster

post-51207-0-94111700-1481175682_thumb.png

post-51207-0-27786500-1481175697_thumb.png

Link to comment
Share on other sites

  • 4 months later...
  • 4 years later...
On 5/1/2017 at 2:40 PM, yototo01 said:

i have the same problem but my problem is not resolved...

I have a problem whis:
- sidebar_airlines.tpl
-
sidebar_airports.tpl
- sidebar_schedules.tpl

Same did you ever got them resolved if so if you don't mind can you share 

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

×
×
  • Create New...