zend-layout Questions

3

Solved

I have the following controller that, among other methods it has this one: class EquipasController extends OccControllerAction { public function listaAction() { $this->_helper->viewRend...
Snippet asked 26/11, 2010 at 18:1

2

I'm trying to generate a .pdf file using mPDF in a Zend Framework application, from the output of the action. Here is the code of my action: public function testAction() { $this->_helper-&gt...
Septima asked 17/1, 2013 at 20:2

5

Solved

So I have some default meta tags on layout.phtml set using $this->headTitle() and $this->headMeta()->appendName() and is echoed at layout.phtml's header My question is: How do I chan...
Cheerful asked 18/3, 2011 at 8:3

4

Solved

I would like to let Zend_Layout include header.phtml and footer.phtml with [layouy name].phtml. How do I do that? I tried to read codes in Zend_Layout, Zend_Layout_Controller_Plugin_Layout. I stil...
Wandawander asked 26/10, 2009 at 23:50

6

Solved

Case: you're developing a site with Zend Framework and need relative links to the folder the webapp is deployed in. I.e. mysite.com/folder online and localhost:8080 under development. The followin...
Muna asked 11/3, 2009 at 18:12

3

Solved

I have a Controller that I want to use for ajax scripts to call and set session variables, get information, etc. How do I set it so that that particular controller doesn't use the default layout (s...

2

Solved

I'm sure it's a simple one-liner, but I can't seem to find it. How can I use a different layout file for a particular action? Update: This worked for me, thanks! // Within controller $this->_...
Carnassial asked 23/10, 2009 at 21:20
1

© 2022 - 2024 — McMap. All rights reserved.