Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" ?>
- <config>
- <modules>
- <Laven_Main>
- <version>0.1.0</version>
- </Laven_Main>
- </modules>
- <global>
- <models>
- <laven_main>
- <class>Laven_Main_Model</class>
- </laven_main>
- </models>
- <blocks>
- <laven_main>
- <class>Laven_Main_Block</class>
- </laven_main>
- </blocks>
- <helpers>
- <laven_main>
- <class>Laven_Main_Helper</class>
- </laven_main>
- </helpers>
- </global>
- <frontend>
- <routers>
- <laven_main>
- <use>standard</use>
- <args>
- <module>Laven_Main</module>
- <frontName>main</frontName>
- </args>
- </laven_main>
- </routers>
- <layout>
- <updates>
- <laven_main module="laven_main">
- <file>laven_main.xml</file>
- </laven_main>
- </updates>
- </layout>
- </frontend>
- </config>
- <layout version="0.1.0">
- <default>
- <!-- <reference name="top.links" >
- <action method="addLink" translate="label title">
- <label>Main</label>
- <url>main</url>
- <title>main view</title>
- <prepare/>
- <urlParams/>
- <position>1</position>
- </action>
- </reference>-->
- <reference name="head">
- <action method="addCss"><stylesheet>css/main_style.css</stylesheet></action>
- <action method="addCss"><stylesheet>css/style.css</stylesheet></action>
- <action method="addCss"><stylesheet>css/popup.css</stylesheet></action>
- <action method="addJs"><script>levdes/popup.js</script></action>
- <action method="addJs"><script>levdes/validatesubmit.js</script></action>
- </reference>
- <reference name="top">
- <remove name="" />
- </reference>
- </default>
- <cms_index_index>
- <reference name="top">
- <remove name="top.links" />
- <remove name="top.forms" />
- </reference>
- </cms_index_index>
- <cms_page_view>
- <reference name="top">
- <remove name="top.links" />
- <remove name="top.forms" />
- </reference>
- </cms_page_view>
- </layout>
- Mage::helper('laven_main')->doSomething();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement