Jump to content

[Solved] How config to move this tab to new local in category?


Recommended Posts

hi

backend - modules - position - move a module - dropdownmenue and hook it where you want it to appear

sd


Thanks for your reply, but i can't see the item after i try to follow your guide. Please give me more detail, picture if you can.

Best regards,
Link to comment
Share on other sites

hi
i just misunderstood you a bit sorry

for this you need to do a little bit coding-

first make sure in category.tpl of your theme
{include file=$tpl_dir./product-list.tpl products=$products}


!!!!!{include file=$tpl_dir./product-sort.tpl},{include file=$tpl_dir./pagination.tpl} !!!!!!like this without !!!

{elseif !isset($subcategories)}

{l s='There is no product in this category.'}


{/if}
{else}

{l s='This category is currently unavailable.'}


{/if}



than change your global css of your theme:

line 1489 - form# products sort form
ad: float: left;
margin-left: 9em;

line 1459

form pagination

ad:

margin-bottom: -2em

play arround how you like it.

sd
Link to comment
Share on other sites

one more tipp

if you install firebug extention for firefox

you can find out your way and try changes of your theme

sd


Dear San Diego,

Great, I got it.
I did code like you guide me, but still have little error like the picture attach file, i mean the poisition not the same when you use search, special and categories funtion.
I use firebug to change my theme but i'm newbi, i dont know how to use it. thanks.

I attach all my .tpl for you. Pls help me out.

My tpl.zip

Link to comment
Share on other sites

one more tipp

if you install firebug extention for firefox

you can find out your way and try changes of your theme

sd


Dear San Diego,

Great, I got it.
I did code like you guide me, but still have little error like the picture attach file, i mean the poisition not the same when you use search, special and categories funtion.
I use firebug to change my theme but i'm newbi, i dont know how to use it. thanks.

I attach all my .tpl for you. Sorry my English and Pls help me out.

7632_WBbhxfgBl3pXuwXSlztF_t

7633_e62BbUipAtF4KE0jb6vj_t

7634_B7LkVxvnX604Dfd8y0H3_t

Link to comment
Share on other sites

hi

i gave you the margin for the right part of it with -(minus)2em i remember
this is if it is underneath not on top of the products

need more details to help what you want to do exactly
sd



Hi, This is every thing I did:

1. Change value on themes/mytheme/category.tpl
...........
{if $products}
{include file=$tpl_dir./product-sort.tpl}
{include file=$tpl_dir./pagination.tpl}
{include file=$tpl_dir./product-list.tpl products=$products}
{elseif !isset($subcategories)}
...........

2. Change value on themes/mytheme/search.tpl
...........
{include file=$tpl_dir./product-sort.tpl}
{include file=$tpl_dir./pagination.tpl}
{include file=$tpl_dir./product-list.tpl products=$products}

{/if}
...........

3. Change value on themes/mytheme/prices-drop.tpl

...........
{if $products}
{include file=$tpl_dir./product-sort.tpl}
{include file=$tpl_dir./pagination.tpl}
{include file=$tpl_dir./product-list.tpl products=$products}
...........

Actualy 3 step above I only move position {include file=$tpl_dir./pagination.tpl} upper the {include file=$tpl_dir./product-list.tpl products=$products}. Right?

4. Change value on themes/mytheme/css/global.css

/* pagination.tpl */
div.pagination { margin: 1em 0.7em; /* origin: margin: 1em 0; */}
ul.pagination {
list-style: none;
float: left;
}

and

form.pagination {
text-align: right;
margin-bottom: -2em /* Added */
/*float: left; Added*/

and

/* product-sort.tpl */
form#productsSortForm p{
height: 1em;
margin: 0.5em 0 1em 0; /* origin: 0.5em 0 0 0; */
float: left;
}
form#productsSortForm p label, form#productsSortForm p select{ float:left; /*origin: float:right; */}
form#productsSortForm p select{ font-size:1em; }


After all, I type ipod to search, the result like the "By search.jpg", I clik to All special, the result like the "By Special.jpg", and I clik to any sub-catory button, ex accessories, the result like the "By catologies.jpg". You note the red line, the position of "Sort by" form is higher than "Result per Page". I mean I want to config the horizontal position of "Sort by" form is equal "Result per Page" but I can't. After that I try to change margin-bottom: -2em to margin-bottom: -0.2em but nothing change. how can i do that? Please help me out. Tks
Link to comment
Share on other sites

i tried it a bit but had no more time so far
the point is that the pagination has two parts
so as soon you have more than one side of articels in a category
all gets massed up. i can bring these two in one line but this does not help for the future
so i need to know why you want to do it and what you want to reach with it except the look.
to use firebuck is easy.
you open your side than you klick on the little buck in your right bottom corner of your firefox
than the window get all the code of your side, there you can change and play how you like
and see the changes in realtime, without touching the code.
sd

oh and sorry my lines i told don´t match yours, because i changed my global css so much allready.

Link to comment
Share on other sites

ok changed it so you can check
sd

i used the presta template global css it is a txt file can´t ad a css script so you need to change it back to a css.


Hi San Diego,

When I use the global.css you give me the problem the seem.
Long time thinking, I think we must add "padding-top:0.5px;" in "form.pagination {"

then problem solved

ex:
form.pagination {
text-align: right;
padding-top:0.5px; /*Added*/
}

Thank you so much.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...