Load layout from another view

23 views
Skip to first unread message

tampe125

unread,
May 16, 2012, 5:00:47 AM5/16/12
to joomla-de...@googlegroups.com
Hi, I have some linked views, and I'd wish to load a layout inside another one.
For example i have a list of orders, then in my customer view i'd wish to show the orders that belong to that customer only.

Now, how can i load a layout from another view?
Is there a way or i have to brutally require the file?

Thanks in advance!

elin

unread,
May 16, 2012, 3:26:17 PM5/16/12
to joomla-de...@googlegroups.com
I would maybe put each one in a subtemplate (default_customer1 etc) and write some code to select the template dynamically.

Elin
Reply all
Reply to author
Forward
0 new messages