Post by kornovec » Mon Jun 15, 2009 5:07 pm

Hey,

Im tryin to make different layout, where i want to move INFORMATION BOX into header on one line (menu). But there is an error message:

Notice: Undefined variable: informations in D:\xampp\htdocs\sop\catalog\view\theme\default\template\common\header.tpl on line 6
Warning: Invalid argument supplied for foreach() in D:\xampp\htdocs\sop\catalog\view\theme\default\template\common\header.tpl on line 6

What i need to do to make there variables defined?

Thanks!!!

New member

Posts

Joined
Mon Jun 15, 2009 5:02 pm

Post by readyman » Tue Jun 16, 2009 5:59 am

If you move anything from one view to another view you will also need to move the variables from the CORRESPONDING controller file. eg. Variables from catalog\controller\module\information.php go to the information view and will need to be moved to the catalog\controller\common\header.php file if you want them to appear in the header.tpl file.

Hope this helps.

http://www.alreadymade.com
Follow me on twitter.com/alreadymade


User avatar
Global Moderator

Posts

Joined
Wed May 20, 2009 5:16 am
Location - Sydney

Post by kornovec » Tue Jun 16, 2009 1:42 pm

Yeah!
Youre the man! Thanks! Now i only need to make some CSS and its done!!!!

Thank You!
K.

New member

Posts

Joined
Mon Jun 15, 2009 5:02 pm

Post by WCNZ » Mon Jun 29, 2009 3:45 pm

Thanks very much for clarifying this - very helpful! :)

New member

Posts

Joined
Mon Mar 24, 2008 11:21 am
Who is online

Users browsing this forum: No registered users and 5 guests