Forums / Setup & design / Include a view within another view

Include a view within another view

Author Message

Claudia Kosny

Thursday 04 January 2007 5:35:26 am

Hi there

Is it possible to include one view within another? The 'include' template operator includes only a template, whereas I would like to include a php script which does a lot of processing and then calls a template, which then should be shown within the other template.

Example:
I have a module with two views, let's say view_a and view_b,. View_a is associated with a script script_a.php which calls a template template_a.tpl and view_b has a script script_b.php that calls template_b.tpl.
Now I want to show the result of view_a within template_b.tpl.

Is there a way to do this?

Claudia

Jianjun Hu

Saturday 21 June 2008 8:22:05 am

I'm also interested in this topic.

onlyblue

☆..·°∴°.☆°°.☆°.
°∴ °☆ .·enjoy star° .·★°∴°
∴°.°★ .·°
  ミ☆°∴°.★☆° ∴·°
°.☆° .·∴° 

Is it a pleasure after all to practice in due time what one has learnt?