Jump to content

Add new Box and Title change


Tariq2009

Recommended Posts

Hi guys i have tried all the forum search but it says in some of posts to change it from /public_html/skins/Classic/styleTemplates/content/index.tpl or /public_html/language/en/lang.inc.php and none of them worked any idea whaty i am not doing right or what file need to change thanks

Link to comment
Share on other sites

  • 6 months later...

Easiest way to do this is to look at your current skin, copy, alter, and paste. For example, if you look at the Classic skin you will see a box looks like this:

from inside info.tpl (just an example, don't actually change the info.tpl, you are just using the info.tpl as an example or a template, paste the code somewhere you can work on it, like notepad or another txt editor or even Dreamweaver)

<div class="boxTitleLeft">{LANG_INFO_TITLE}</div>

<div class="boxContentLeft">

	<span class="txtCopy">

	<strong>{LANG_INFO_PRODUCTS}</strong> {DATA_NO_PRODUCTS}<br />

	<strong>{LANG_INFO_CATEGORIES}</strong> {DATA_NO_CATEGORIES}<br />

	<strong>{LANG_INFO_PRICES}</strong> {DATA_CURRENCY}<br />

  </span>

</div>




Now take out the stuff you don't need




	<strong>{LANG_INFO_PRODUCTS}</strong> {DATA_NO_PRODUCTS}<br />

	<strong>{LANG_INFO_CATEGORIES}</strong> {DATA_NO_CATEGORIES}<br />

	<strong>{LANG_INFO_PRICES}</strong> {DATA_CURRENCY}<br />




add the stuff you want




<div class="boxTitleLeft">YOUR TITLE HERE</div>

<div class="boxContentLeft">

	<span class="txtCopy">

	YOUR STUFF (code) HERE

  </span>

</div>

now take that final code and paste it into

global/index.tpl where you want it

For example in the Classic Skin, if you want this box to appear underneath the categories box you would find

{CATEGORIES} and paste your code right after

This technique can be used for almost any skin.

Jen

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.

×
×
  • Create New...