What CSS controls the _header.tpl?

I have successfully changed the OXID logo for my shop’s logo however as the dimensions are slightly different between the graphics, it appears this has upset the layout in some way. It has resulted in the flash banners being compromised or in my case shortened in width. The flash still works okay but it is like viewing it with only half of a viewer. I have tried changing the css via out/azure/src/css/layout.css
But this seems to have zero effect and I wonder if it really controls the layout.

Any help?

Don_in_OZ

here is the banner css
https://www.oxid-esales.com/forum/showthread.php?p=61259#post57295

and this is the header css
http://www.oxid-esales.com/forum/showthread.php?t=9558#post56719

Danke Schoen Ray

I know need to brush up my German translating skills. I used to leave near Freiburg for 13 years but my written German was and is still poor.

Whilst I have your brain to ask a few questions…

In Europe they show the currencies like this:

245.00 EU (or the symbol)

But in North America and particularly in Australia, we write it as follows:

$123.45 or possibly AUD$123.45

Is there a way to change this too?

Thanks

Don_in_OZ

just reverse the order of the code, in details.tpl it is like this:

[{if $product->getFPrice() }]
                <big class="price pricerange" id="test_product_price">[{ $product->getFPrice() }] [{ $currency->sign}]</big>
            [{/if}]

move the red part to the position you like to

There are some other templates to change as well.

[QUOTE=Hebsacker;61470]just reverse the order of the code, in details.tpl it is like this:

[{if $product->getFPrice() }]
                <big class="price pricerange" id="test_product_price">[{ $product->getFPrice() }] [{ $currency->sign}]</big>
            [{/if}]

move the red part to the position you like to

There are some other templates to change as well.[/QUOTE]

You’re right, but that leads to problems in OXID. If you have block pricing it will look like AUS$ from 20.00 because the getFPrice()-function returns not only the price but also the word “from”.

Joscha

Thanks Gentlemen,

Regarding the changes you suggested… "just reverse the order of the code, in details.tpl "

I have had difficulty finding the red text or any reference to:

“[{if $product->getFPrice() }]”

I have looked through the file and found reference to a file called “details.tpl” in:

out/azure/tpl/page/details

but I think it is not the correct file. Sorry for being thick.


Don_in_OZ

[QUOTE=NHWS;61483]

out/azure/tpl/page/details

but I think it is not the correct file. Sorry for being thick.
[/QUOTE]

Jepp, thats right!

You should build a custom theme explanation here: http://wiki.oxidforge.org/Tutorials/Understanding_theme_management_in_OXID_eShop_from_4.5.0"
and could then change those files without getting into trouble.

Joscha

sorry - yes, templates are different now in 4.5 and especially in Azure

Fellows

I am still a little lost. If I understand correctly, Joscha is suggesting I build a custom theme. Unfortunately this doesn’t make any sense to me. I am still search to find the string "[{if $product->getFPrice() }]"
in details.tpl.

Help?

[QUOTE=NHWS;61527]Fellows

I am still a little lost. If I understand correctly, Joscha is suggesting I build a custom theme. Unfortunately this doesn’t make any sense to me. I am still search to find the string "[{if $product->getFPrice() }]"
in details.tpl.

Help?[/QUOTE]

Sorry, i misunderstood you.

That snippet could be found in azure/tpl/page/details/inc/productmain.tpl.

Joscha

Hi,

wasn’t there a module posted to dev-general mailing list a while ago?
The module will prevent you from the need to change ever single template.
I just can’t find it… :frowning:

Regards

[QUOTE=Marco Steinhaeuser;61567]Hi,

wasn’t there a module posted to dev-general mailing list a while ago?
The module will prevent you from the need to change ever single template.
I just can’t find it… :frowning:

Regards[/QUOTE]

Thats an idea!
[{$currency->sign}] should return nothing an the getFPrice should return the whole stuff.

That should be easy. But sorry, no insomnia today! :wink:

Joscha