forent Posted July 16, 2011 Share Posted July 16, 2011 Please help me.I have in my product-sort.tpl{l s="brand"}{l s="brand"}and my tools/smarty/compile/% Link to comment Share on other sites More sharing options...
MahmutGulerce Posted July 16, 2011 Share Posted July 16, 2011 Hi;Why dont you try it ? If have errors you will see than fix it.I have never seen any coder/webmaster who can compile codes in her mind. Link to comment Share on other sites More sharing options...
forent Posted July 16, 2011 Author Share Posted July 16, 2011 I am using it, but _tpl_vars[‘link’]->addSortDetails($this->_tpl_vars[‘request’],‘manufacturer_name’,‘ASC’))) ? $this->_run_mod_handler(‘escape’, true, $_tmp, ‘htmlall’, ‘UTF-8’) : smarty_modifier_escape($_tmp, ‘htmlall’, ‘UTF-8’)); ?>“ <?php if ($this->_tpl_vars[‘orderby’] 'manufacter_name' && $this->_tpl_vars['orderway'] ‘ASC’): ?>selected=“selected”<?php endif; ?>><?php echo smartyTranslate(array(‘s’ => ‘manufacturer’), $this);?>This is how _tpl_vars['orderby'] == 'quantity' && $this->_tpl_vars['orderway'] == 'DESC'): ?>selected="selected"<?php endif; ?>><?php echo smartyTranslate(array('s' => 'in-stock first'), $this);?>Searching the same. It is correct?And This:_tpl_vars['orderby'] == 'id_manufacturer' && $this->_tpl_vars['orderway'] == 'ASC'): ?>selected="selected"<?php endif; ?>><?php echo smartyTranslate(array('s' => 'ID manufacturer'), $this);?>This is how _tpl_vars['orderby'] == 'name' && $this->_tpl_vars['orderway'] == 'ASC'): ?>selected="selected"<?php endif; ?>><?php echo smartyTranslate(array('s' => 'name: A to Z'), $this);?>( where is problem? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now