For clarification - instead of displaying the html, you want to write
it to an html file and then redirect the browser to that html file? If
so, why? Or is it that you want to display the actual html code on the
screen?
Both of these can be done - the first in multiple ways. What are you
looking
Well, the core issue is this. At the time I go through the action, I have
certain user data that we do not store that I wish to display and also save
to display later. So, I want to be able to create the HTML using my regular
symfony action, save it, and then display as normal. Later, I'd like to
Hi Guys,
I am working on a website idea that will need to have the layout
change for each different domain that hits the main application. I
had asked this question in the forums
http://www.symfony-project.org/forum/index.php/m/40732/?srch=change+layout+how#msg_40732
which points
Yeah I tried that too. That didn't work either.
James
On Dec 15, 2007, at 10:23 PM, Kiril Angov wrote:
You should not specify the extentions of the template you want to
change
to.
myOtherLayout.php - myOtherLayout
eg. sfConfig::setLayout('myLayout');
Kupo
James wrote:
Hi
Please, be more specific than just it did not work. If you look at
your log/frontend_dev.log does it say that it could not find the layout
file or some other error?
Kupo
James wrote:
Yeah I tried that too. That didn't work either.
James
On Dec 15, 2007, at 10:23 PM, Kiril Angov wrote:
I figured out where it has to go. Has to go in the action file. So
it looks like if I ad
sfAction::setLayout('layout2);
in preExecute() in my actions file it should set up the layout for me.
James
On Dec 15, 2007, at 10:41 PM, James wrote:
Yeah I tried that too. That didn't work
Well as i said I figured it out. i was doing sfConfig:setLayout(), I
should have been doing sfAction:setLayout(). I was calling the wrong
object.
I still haven't figured out logging. Then again haven't really dived
into it. I have no frontend/log dir/file and the project/log