in step 6 of RandomProduct howto there is instruction:
step 6) copy variable $sRandomProduct and paste into place You want to see random product. we suggest to paste in file "head.tpl"
would you kindly explain step by step what do I need to do with this?
sorry I know almost no coding
thx, peace
orinoco
2005-12-29 17:05
:) Without very basic knowledge of HTML you will be in trouble, because nobody knows where you want to place it. Probably best method: Open head.tpl file in text editor (Notepad) There is a part of main HTML code, you can see somethig like that: <td></td> this is table data opening <td> and closing tag </td> Paste $sRandomProduct between them, save file, upload and open main page, there your RandomProduct should appears. Pleased? If not try another location, search for <td> tags Hint: <td .... some code...> is table data opening tag with parameters, don't carry about it, place your $sRandomProduct just after ">". Hint 2: The place under category menu in head.tpl file looks like that: <td class='menu_left'>$sMenuCategories</td> and what about somethink like that: <td class='menu_left'>$sMenuCategories $sRandomProduct</td>
have nice fun!
Tribaliztic
2006-03-14 12:48
Where do I put it in v1.2? There are no td-tags =)