View Single Post
  #3  
Old 01-03-2004, 01:56 PM
 
GlennM GlennM is offline
 

Senior Member
  
Join Date: Nov 2002
Posts: 198
 

Default

Thanks Leon,

WARNING: The following is how I have done it to my site, I don't know if it is the "correct" way but it has worked for me. Backup your site before attempting any of the following changes; I won't be responsible for you killing your site. These instructions assume you have knowledge of FrontPage and image slicing tools in programs like Photoshop

How I did it in the end was to:
  • Create my graphical box (aim for 150 pixels wide) in Photoshop and slice it up with the slice tool. Create enough versions with the top menu as "Category, Management, Help, Authentication, Special, Inventory, Your Cart, Your Profile, Administration, Products, News. Save all the image files into a directory your x-cart can access
  • Open the graphical box with FrontPage and set the side bars as background for their cells and the central body as background for its cell (this means the box will dynamically resize vertically regardless of the amount of menu choices that appear)
  • Use Webmaster Mode in the shop to pin down the individual menu boxes ie: admin/menu.tpl help.tpl provider/menu.tpl etc etc etc
  • Using admin/menu.tpl as the example, copy and past the entire code into the central body of your graphical box in FrontPage BUT be sure to paste it using the HTML window otherwise the formatting gets screwed
  • Then without changing anything else, copy and paste the entire code from the HTML window of FrontPage back into admin/menu.tpl and what you should get is the graphical box with the entire Management menu including the title etc in it (don't worry, we aint done yet)
  • Repeat this process with all the other menu bars not forgetting all the customer side menus
  • Once you have done the same to all the other menus, go to menu.tpl and remove everything but the code {$menu_content} and your menu boxes should change to only having the menu content with none of the other standard formatting
Like I said at the start, I don't know if I have done this the "correct" way, but it is working for me in my test environment.

Glenn
Reply With Quote