Jump to content

Upgrade to 5.2.8 from 5.2.6 and now have double ticks


drzac2003
 Share

Recommended Posts

OK, here is my new dilemma.

 

Following on from my navigation not showing up on the homepage, I have decided to upgrade to the v5.2.8. Upgrade was a complete success, although the navigation is still not showing but this is not the main problem. In Admin > Store Settings, all the options now have double ticks/crosses. For example on the Features tab, the Enable Products Review/Comments now has Tick Tick instead of just 1 Tick. The same is for items which are disabled I now have Cross Cross.

 

Furthermore, I do not have the option to change them; although the hover says "Enable" or "Disable", clicking the tick/cross does not do anything. Is my upgrade bugged or does anyone else have this problem?

 

Thanks

 

Dave

Link to comment
Share on other sites

Very weird. My initial guess as to how this might happen is if two copies of admin.js got sent to the browser.

 

The relevant HTML is (example):

<input type="hidden" name="status[1]" id="status_1" value="1" class="toggle" />

 

It's the class="toggle" that the javascript finds the hidden form element and adds new HTML to make an on/off image-based toggle. The added code is this:

<img class="checkbox" src="admin/skins/default/images/1.png" title="Disable" alt="Disable" rel="#status_1">

 

If the javascript that does this is run more than once, or is run in more than one copy of the javascript file, I can see how this could happen.

Link to comment
Share on other sites

The admin template file located here:

/admin/skins/default/templates/main.php

 

It is the main structure and layout into which all the other pieces and parts are input. The call to admin.js is made near the end of the file.

 

Ask the browser to show you the HTML source it received. All the {$special} tags have been rendered. That will give you a better idea as to what the browser requested after receiving the page: images, CSS, javascript files, etc.

Link to comment
Share on other sites

OK, not sure what I did except deleting an old admin folder and several "old" files (ie been replaced by the upgrade) and it now seems to have fixed the problem - was just about to delete the whole lot and start again :)

 

Just going to see if the other problem is fixed now.

 

Thank you very much for your help.

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.   Paste as plain text instead

  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.

 Share

×
×
  • Create New...