Add a link to menu bar

vertti

No avatar

2006-10-08 22:04

I have downloaded the product_attributes plugin and everything has gone smoothly exept this little problem.

-Add a link in the admin menu bar-

How do I do that? Now there isn't any change in the menu bar - remembering that I have downloaded the plugin following the instructions. Now I have to get it visible, yeah?

Life without coding is pretending

Claps

Avatar: Claps

2006-10-09 12:19

I quote from product_attributes AboutThisPlugin.html, Installation section:

" Add a link in the admin menu bar to access the attributes maintenance screen(s). Please remember to make a copy of the template file before you change it!
Edit templates/admin/page.tpl and somewhere within the <div class="menuBar"> section (which begins at roughly line 37) ...
Insert the 1 line below
CODE
<a class="menuButton" href="?p=attributesList"
onmouseover="return buttonClick(event, 'attributes'); buttonMouseover(event, 'attributes');"
>$lang[attributes]</a>
Note that the position in the Admin navigation bar depends upon whereabouts among the existing links you place the new link.
Then look a couple of lines down from there, for a line containing just "</div>",and immediately below this line paste the following 3 lines
CODE
<div id="attributes" class="menu" onmouseover="menuMouseover( event );">
<a class="menuItem" href="?p=attributesForm"><span class="menuItemText">$lang[Add_attribute]</span></a>
</div>
# Go to the Configuration - Plugins option on the Admin menu, and configure and then enable the productAttributes plugin."

vertti

No avatar

2006-10-09 14:03

Yes, and I have done all that. So should there be a new link in the menu bar? Because I don't have. And I have done all those faces.

This section is little shady to me..(# Go to the Configuration - Plugins option on the Admin menu, and configure and then enable the productAttributes plugin.")

I am not sure if iÍ know what that means..?

Life without coding is pretending

Back to top
about us | contact