Jump to content

Can I remove some of the boxes?


Guest Rivian

Recommended Posts

Guest clothahump

If you go to skins/[skin name]/styleTemplates/global/index.tpl you will see this,

<div class="colLeft">

{CATEGORIES}

{RANDOM_PROD}

{INFORMATION}

{CURRENCY}

{LANGUAGE}

</div>

<div class="colMid">

{PAGE_CONTENT}

</div>

<div class="colRight">

{SHOPPING_CART}

{POPULAR_PRODUCTS}

{SALE_ITEMS}

{MAIL_LIST}

</div>

Remove the Boxes you do not want.

Link to comment
Share on other sites

Okay - just to help anyone else who might be wanting to do what I wanted - I edited my customized skin - under boxes:

/public_html/ordershop/skins/Saddles/styleTemplates/boxes

<!-- BEGIN: site_docs -->

<div class="boxTitleLeft">Site Navigation</div>

<div class="siteDocs">

<!-- BEGIN: a -->

<a href="index.php?act=viewDoc&amp;docId={DATA.doc_id}" class="txtSiteDocs">{DATA.doc_name}</a>

<!-- BEGIN: sep --><span class="txtSiteDocs"><br></span><!-- END: sep -->

<!-- END: a -->

</div>

<!-- END: site_docs -->




added:


<div class="boxTitleLeft">Site Navigation</div>


right under


<!-- BEGIN: site_docs -->


changed the separator from a | to a <br>


<!-- BEGIN: sep --><span class="txtSiteDocs"><br></span><!-- END: sep -->


and moved 


{SITE_DOCS}


from the bottom of /public_html/ordershop/skins/Saddles/styleTemplates/global

to:


	<div class="colLeft">

	{CATEGORIES}

	{SHOPPING_CART}

	{POPULAR_PRODUCTS}

	{SALE_ITEMS}

                {SITE_DOCS}

	{MAIL_LIST}

	</div>


It's not exactly what I wanted as I would like to to be bulleted and had tried:


<!-- BEGIN: site_docs -->

<div class="boxTitleLeft">Site Navigation</div>

<div class="siteDocs">

	<ol>

<!-- BEGIN: a -->

  <!-- BEGIN: li -->

  <li class="bullet"><a href="index.php?act=viewDoc&amp;docId={DATA.doc_id}" class="txtSiteDocs">{DATA.doc_name}</a>

<!-- BEGIN: sep --><span class="txtSiteDocs"><br></span><!-- END: sep -->

  <!-- END: li -->

<!-- END: a -->

	</ol>

</div>

<!-- END: site_docs -->

but this is what was making my box blank (no data).

Looking at the difference in coding files between

/public_html/ordershop/includes/boxes/siteDocs.inc.php

&

/public_html/ordershop/includes/boxes/categories.inc.php

(which includes the bullets in the file), I was afraid I'd really mess it up!

It is now showing up (minus bullets)-- I'll mess with the rest of the stuff in the .css file for font's etc.

If anyone has suggestions for editing to include bullets - please jump in!

Lorri Nevil

GetAScript

Link to comment
Share on other sites

Guest Oscgfx

<!-- BEGIN: site_docs -->

<div class="boxTitleLeft">Site Navigation</div>

<div class="siteDocs">

<ol>

<!-- BEGIN: a -->

<li class="bullet">

<a href="index.php?act=viewDoc&amp;docId={DATA.doc_id}" class="txtSiteDocs">{DATA.doc_name}</a>

</li>

<!-- BEGIN: sep --><br /><!-- END: sep -->

<!-- END: a -->

</ol>

</div>

<!-- END: site_docs -->

Try that - to give it to you in a list. Replace your current /public_html/ordershop/skins/Saddles/styleTemplates/boxes/siteDocs.tpl with the above. You shouldnt have been changing things not in the skins directory - you can mess the store up if your not careful.

Let me know how you get on.

Link to comment
Share on other sites

Guest vrakas

Check also the Mailing List at the bottom as it has lines above and next to it :^^:

It looks like arabic language in a very small font (No offence)

Yes it does look very nice :P

Link to comment
Share on other sites

Check also the Mailing List at the bottom as it has lines above and next to it

Yes- and by the search - I noticed that after the upgrade to 3.0.1 but haven't tracked it down yet - I will of course, but it's low priority in terms of getting the rest of it done --

yes, starting but in FireFox are blank lines between site docs names because of truly applicable CR for <li> tag. IE ignores <li>s CR, FF neither

Yes - that was on list - I just removed

<!-- BEGIN: sep --><br /><!-- END: sep -->

and it fixed it - looks right in both browsers now. Was a little worried since the sep was in the siteDocs.php file it might mess something up - but I don't see it yet if it did.

I did notice again after the arabic character comment that in FireFox on the mailing list it's showing little bitty dashes i/o Join Now, while it's displaying correctly in IE (for the button) - so on to figure that one out :^^:

Thanks for input.

Link to comment
Share on other sites

I figured it out - my error -- when I was working on the site docs (they were set at 75%), and they needed to be same size as others - I accidentally let off part of the percentage :^^: - all fixed.

Link to comment
Share on other sites

Guest moxie

Couldn't you just use CSS to hide the boxes if you didn't want it permanent?

display: none;

Just a thought... haven't tried it myself yet :^^:

Link to comment
Share on other sites

IMO - it's easier to just remove for instance {SALE_ITEMS}

rather than messing with the css - but I guess it would be to each his own - I know that I'm barely comfortable with .css and that the store I'm working on is my first attempt to control images, etc with them.

I just removed {SALE_ITEMS}

since there aren't sale items - and move some of the variables from the right to the left and others that I didn't want there (i.e. currency, language) - and it was easy.

Just my 2 cents :^^:

Link to comment
Share on other sites

  • 2 weeks later...

If you go to skins/[skin name]/styleTemplates/global/index.tpl you will see this,

<div class="colLeft">

{CATEGORIES}

{RANDOM_PROD}

{INFORMATION}

{CURRENCY}

{LANGUAGE}

</div>

<div class="colMid">

{PAGE_CONTENT}

</div>

<div class="colRight">

{SHOPPING_CART}

{POPULAR_PRODUCTS}

{SALE_ITEMS}

{MAIL_LIST}

</div>

Remove the Boxes you do not want.

Hi

This for removing boxes anyone know how to add a new one?

Please

Link to comment
Share on other sites

Guest swifter_uk

Perform a search as it has been posted many times in the past ;)

I cannot find any conclusive method for adding additional boxes, despite searching with various words!! :D

Link to comment
Share on other sites

There's probably a better way to do it, but I just used one of the boxes that I didn't need and changed the contents of it to say what I wanted. I think it was under skins/killer(or whatever skin)/styleTemplates/boxes.

Link to comment
Share on other sites

Guest vrakas

Hi swifter_uk and jbeyler, yes i think this is better.

Ok then here it goes:

look at template styleTemplates/global/index.tpl under your prefered skin folder, open it and modify.

add code after {INFORMATION}

<div class="boxTitleLeft">YOUR HEAD LINE</div>

<div class="boxContentLeft">

ENTER HERE THE CONTENT YOU WISH

</div>

<div class="boxFootLeft">&nbsp;</div>

This works as it has been tested :D

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...