Matiss
Matiss

Reputation: 5349

Is it possible to specify store view in layout file

I have a store views: English, Latvian.

And i want to react to both store views calling a different template for each in one local.xml

smth like this

<?xml version="1.0"?>
<layout version="0.1.0">
    <English>
        <!-- do stuff... -->
    </English>
    <Latvian>
        <!-- do stuff... -->
    </Latvian>
</layout>

is it possible?

Upvotes: 0

Views: 1317

Answers (1)

bjjn
bjjn

Reputation: 355

A better aproach would be to create two seperate themes for the two store views. Then assign these to the store views either through System->Design or through System-> Configuration-> Design->Themes. This way you may have two layout.xml files and more control over the skin etc.

But if you just wanted to have seperate layout.xml use the System-> Configuration-> Design->Themes->Layout option.

Upvotes: 1

Related Questions