Re: [fw-general] Zend_Layout, best practices

2012-07-26 Thread Rob Allen
On 23 Jul 2012, at 08:48, Jamie Krasnoo wrote: > Hey all, > > I've been looking at the docs for Zend_Layout, but it's left me with a few > questions. Are there any best practices when creating a layout script? > Also, since the docs show either render or partial being used. If I have a > partial

[fw-general] Zend_Layout, best practices

2012-07-23 Thread Jamie Krasnoo
Hey all, I've been looking at the docs for Zend_Layout, but it's left me with a few questions. Are there any best practices when creating a layout script? Also, since the docs show either render or partial being used. If I have a partial such as header and I need to communicate anything to that pa

Re: [fw-general] Zend_Layout and view rendering

2009-11-17 Thread prodigitalson
I usually use a placeholder/partial directly in the view script for things like this. In fact i never even thought to go abotu it in the way you are doing. so in my layout.phtml i might have something like: placeholder('sidebar'); ?> and in my index.phtml i would have: placeholder('sidebar')->

Re: [fw-general] Zend_Layout and view rendering

2009-11-16 Thread Mon Zafra
I don't know if this is a better way, but you could call $this->_helper->viewRenderer->setNoRender(false) after the render('sidebar') call. The noRender flag is always set to true after calling render once. The behavior is hard coded in the ViewRenderer helper and there's no option to turn it off.

[fw-general] Zend_Layout and view rendering

2009-11-15 Thread Gabriel Malkas
Hi, I use Zend_Layout and I need to render a different 'navbar' accordingly to the active action. I simply wrote this in my layout.phtml file : layout()->sidebar; ?> Then, in every action that needs to display a sidebar, I have : $this->render('sidebar', 'sidebar'); This works since it ren

Re: [fw-general] Zend_Layout not using ViewRenderer suffix

2009-08-13 Thread Hector Virgen
Actually, looks like Zend_Layout has its own setViewSuffix method. $layout->setViewSuffix('html'); -- Hector 2009/8/13 Steven Szymczak > It's still not picking up on the suffix (still wants 'phtml'). > > Hector Virgen wrote: > > Oops, you need to call Zend_Layout::startMvc() first. > > > > --

Re: [fw-general] Zend_Layout not using ViewRenderer suffix

2009-08-13 Thread Steven Szymczak
It's still not picking up on the suffix (still wants 'phtml'). Hector Virgen wrote: > Oops, you need to call Zend_Layout::startMvc() first. > > -- > Hector > > > On Thu, Aug 13, 2009 at 4:45 PM, Steven Szymczak > mailto:sc.szymc...@googlemail.com>> wrote: > > That results in a fatal error

Re: [fw-general] Zend_Layout not using ViewRenderer suffix

2009-08-13 Thread Hector Virgen
Oops, you need to call Zend_Layout::startMvc() first. -- Hector On Thu, Aug 13, 2009 at 4:45 PM, Steven Szymczak wrote: > That results in a fatal error: > > Call to a member function setView() on a non-object in > /Users/Steven/Sites/farstrider.eu/application/Bootstrap.php on line 63 > > For s

Re: [fw-general] Zend_Layout not using ViewRenderer suffix

2009-08-13 Thread Steven Szymczak
That results in a fatal error: Call to a member function setView() on a non-object in /Users/Steven/Sites/farstrider.eu/application/Bootstrap.php on line 63 For some reason, Zend_Layout::getMvcInstance() isn't returning an object. Hector Virgen wrote: You need to pass your custom view to the

Re: [fw-general] Zend_Layout not using ViewRenderer suffix

2009-08-13 Thread Hector Virgen
You need to pass your custom view to the layout: protected function _initLayout() { $view = $this->getResource('view'); $layout = Zend_Layout::getMvcInstance(); $layout->setView($view); } -- Hector On Thu, Aug 13, 2009 at 3:35 PM, Steven Szymczak wrote: > I'm now converting my sit

[fw-general] Zend_Layout not using ViewRenderer suffix

2009-08-13 Thread Steven Szymczak
I'm now converting my site to use layouts, and I noticed (thanks to the error message) that Zend_Layout isn't using the suffix I set in the View Renderer when initializing the view ('html' instead of 'phtml'). Within the application bootstrap, I initialize the view like so: protected f

Re: [fw-general] Zend_Layout for individual actions?

2009-05-05 Thread lightflowmark
Hi Colin - simpler than that, I think. I want to render an action called from the ActionStack to a placeholder *not* in a layout. Not sure if your code will show me how to do that also - please post it if you think it will! Thanks, Mark Colin Guthrie-6 wrote: > > 'Twas brillig, and lightf

Re: [fw-general] Zend_Layout for individual actions?

2009-05-05 Thread lightflowmark
Hi Mike - will that only render to placeholders within the layout script, or can I persuade it to render to placeholders within index.phtml somehow? Yours, Mark Mike Wright-4 wrote: > > lightflowmark wrote: >> Hi, >> I'm trying to achieve the following and having real difficulty in seeing >>

Re: [fw-general] Zend_Layout for individual actions?

2009-05-05 Thread Mike Wright
lightflowmark wrote: Hi, I'm trying to achieve the following and having real difficulty in seeing how it should work: 1) have a global layout using Zend_Layout which renders some common-to-all-actions stuff - a header, a menu, a footer. The 'main action' is then rendered to layout()->content.

Re: [fw-general] Zend_Layout for individual actions?

2009-05-04 Thread Kendall Bennett
A 95928 1-800-705-2215 (Toll-Free) 1-530-894-0797 (Int'l & Local) 1-530-894-9049 (Fax) http://www.amainhobbies.com ________ From: Mark Date: Mon, 4 May 2009 00:43:27 -0700 To: Kendall Bennett Subject: Re: [fw-general] Zend_Layout for individual actions? Hi Kendall, Thanks for that. I&

[fw-general] Zend_Layout for individual actions?

2009-05-03 Thread lightflowmark
Hi, I'm trying to achieve the following and having real difficulty in seeing how it should work: 1) have a global layout using Zend_Layout which renders some common-to-all-actions stuff - a header, a menu, a footer. The 'main action' is then rendered to layout()->content. 2) have the 'main act

Re: [fw-general] Zend_Layout

2008-09-23 Thread Ralph Schindler
I think what you are touching on is an advanced use case. It seems like you want sub-layouts, or per-module layouts. This is actually a use case that influenced the design of Zend_Layout. I do not have code, but I could point you in the right direction to handle your problem. Instead of using Z

Re: [fw-general] Zend_Layout

2008-09-23 Thread dele454
I think i would have been more reusable for me if one could specifya series of layout paths for possible use. and on setlayout() the ZF would look into all the paths to render the specified layout choice. I just implemented a naming convention for the layout files so i can differentiate between t

Re: [fw-general] Zend_Layout

2008-09-23 Thread dele454
Hi Mark, Thanks for the response. Am not confusing views with layouts. The files in the structure i specfied are just for illustrative purposes. I have both my partials and layouts in different folders - just for less confusion for me. What i decided to do is to move the layout folder to the roo

Re: [fw-general] Zend_Layout

2008-09-23 Thread Graham Anderson
On Monday 22 September 2008 18:34:06 Ralph Schindler wrote: > For a bit more background: why do you have site wide layouts inside > specific modules? Shouldn't modules share the same global layout? > > -ralph Layouts need not be specifically site wide, they may be applicable to a certain list of

Re: [fw-general] Zend_Layout

2008-09-23 Thread MarkDNA
I have something similar to that, but I'm not using the layout paths - I'm just dropping the layout into the views/scripts/ dir for each module, and for the main site (login screen in my case). You might just have to give it a try to see what your results are. You can set layouts in the controller

Re: [fw-general] Zend_Layout

2008-09-23 Thread dele454
My other option would be to move the layout folder from the admin module to the webapp root - so I can the 'global' access - with lack of a better word But am trying to avoid the CMS layouts all clustering up with the main site layouts. I just want to keep both separate and manageable. Ralph Sc

Re: [fw-general] Zend_Layout

2008-09-23 Thread dele454
Hi Mark, Thanks for the response. So what you are saying is that as long as i keep the startMvc() empty and specify my module paths, ZF will always look for the layout.phtml files within the specified module directories? In my scenario, i just have one module:admin module - where the cms apps

Re: [fw-general] Zend_Layout

2008-09-22 Thread MarkDNA
dele454 wrote: > > I just want to know if one can specify more than one layout path in the > startMvc function? having something like this: > > Zend_Layout::startMvc(array( > 'layoutPath1' => $config->paths->data > . '/module1/admin/views/layouts') >

Re: [fw-general] Zend_Layout

2008-09-22 Thread Ralph Schindler
For a bit more background: why do you have site wide layouts inside specific modules? Shouldn't modules share the same global layout? -ralph On 9/22/08 9:15 AM, "dele454" <[EMAIL PROTECTED]> wrote: > > I just want to know if one can specify more than one layout path in the > startMvc function

[fw-general] Zend_Layout

2008-09-22 Thread dele454
I just want to know if one can specify more than one layout path in the startMvc function? having something like this: Zend_Layout::startMvc(array( 'layoutPath1' => $config->paths->data . '/module1/admin/views/layouts') 'la

Re: [fw-general] Zend_Layout - Disable action stack output

2008-06-22 Thread xxjonkushxx
Yes. You need to look at registering context types within the init() function that get checked. So for instance, you can register an action to be used as an RSS Handle when called. Once again, I'm a bit hazy on the specifics, but I would look at the code behind the AjaxContext plugin, or any oth

Re: [fw-general] Zend_Layout - Disable action stack output

2008-06-20 Thread Sam Davey
Thanks, That makes sense. And I would certainly be able to do that if it was an Ajax request because I would be able to identify it before the plugin was registered. However the type of functionality I am talking about is disabling the Layout for a particular view such as one that will spit out

Re: [fw-general] Zend_Layout - Disable action stack output

2008-06-19 Thread xxjonkushxx
I could be slightly incorrect, but it is my understanding that these are two completely separate plugins. The layout plugin will be executed postdispatch, whereas the actionstack is a queue of requests that get dispatched. With this logic, you've already fired off your actionstack before you had

[fw-general] Zend_Layout - Disable action stack output

2008-06-19 Thread Sam Davey
Hi, I am currently putting togther a site using 1.5 and I am finding the Framework very powerful. However I am having a problem with the Zend_Layout/Action Stack logic that is hindering my progress. Basically I am adding controller/actions associated with the layout to the action stack. It all

RE: [fw-general] Zend_Layout, urls and spaces in names

2008-04-11 Thread Eric Marden
You didn't really say why and where you wanted to do this at, as there are different approaches to it. However, I recommend steering away from files with spaces in them - especially if your target hosting platform is running *nix. > Is there a helper or method to convert those spaces to %20 in Zen

[fw-general] Zend_Layout, urls and spaces in names

2008-04-09 Thread Ghrae
I'm fairly new to Zend, but I'm starting a new project and wanted to use the Zend Framework with it. I'm using the MVC and Zend_Layout. Some of the images I have to use have spaces in the names. Is there a helper or method to convert those spaces to %20 in Zend? Or should I simply use str_repl

Re: [fw-general] Zend_Layout & Zend_View Enhancements Demo

2008-03-20 Thread Mark Maynereid
Here's the problem: http://framework.zend.com/manual/en/zend.view.html#zend.view.introduction.view Note the long tags. It's no wonder people are getting confused. I agree with Matthew's justification and also Jordan's concerns. It just needs to be made crystal clear and consistent also consiste

Re: [fw-general] Zend_Layout & Zend_View Enhancements Demo

2008-03-20 Thread Jordan Moore
My fear is that new PHP developers will see short open tags in the ZF documentation, think, "Sweet! That makes things easier!", and start using them in all areas of their applications (not just views). I don't see it being a big problem, as long as... 1. There's decent explanations in the documen

Re: [fw-general] Zend_Layout & Zend_View Enhancements Demo

2008-03-20 Thread Matthew Weier O'Phinney
-- Jordan Moore <[EMAIL PROTECTED]> wrote (on Thursday, 20 March 2008, 01:05 PM -0700): > I just verified that "short_open_tag" is disabled in the > "php.ini-recommended" file that is distributed with PHP. I believe > this is to discourage users from using short open tags in > redistributable appli

Re: [fw-general] Zend_Layout & Zend_View Enhancements Demo

2008-03-20 Thread Jordan Moore
I just verified that "short_open_tag" is disabled in the "php.ini-recommended" file that is distributed with PHP. I believe this is to discourage users from using short open tags in redistributable applications to ensure greater compatibility. If logic is added to Zend_View that "supports" this fun

Re: [fw-general] Zend_Layout & Zend_View Enhancements Demo

2008-03-20 Thread Jordan Moore
Doesn't the recommended php.ini that is distributed with PHP disable short tags? On Thu, Mar 20, 2008 at 12:28 PM, Matthew Weier O'Phinney <[EMAIL PROTECTED]> wrote: > -- Aaron D. Campbell <[EMAIL PROTECTED]> wrote > (on Thursday, 20 March 2008, 12:06 PM -0700): > > > I'm sure I'll eventually app

Re: [fw-general] Zend_Layout & Zend_View Enhancements Demo

2008-03-20 Thread Matthew Weier O'Phinney
-- Aaron D. Campbell <[EMAIL PROTECTED]> wrote (on Thursday, 20 March 2008, 12:06 PM -0700): > I'm sure I'll eventually appreciate it. However, I'm a little frustrated > that I'm going to have to go through and fix all the short tags to get it > working on my servers. Add this to your .htaccess

Re: [fw-general] Zend_Layout & Zend_View Enhancements Demo

2008-03-20 Thread Aaron D. Campbell
I'm sure I'll eventually appreciate it. However, I'm a little frustrated that I'm going to have to go through and fix all the short tags to get it working on my servers. Ralph Schindler wrote: Hello everyone, I have put together a demo application that showcases some features of Zend_Layout

Re: [fw-general] Zend_Layout & Zend_View Enhancements Demo

2008-03-20 Thread Aaron D. Campbell
I got the same thing, as well as a problem when I tried "tar -xzvf file.tar.bz" However, for some reason I could "gunzip file.tar.gz" then "tar -xvf file.tar" As long as I ran it as separate command it worked fine. Jean-Marc Fontaine wrote: Well, I am able to extract on both OSX as well as Vi

Re: [fw-general] Zend_Layout & Zend_View Enhancements Demo

2008-03-20 Thread Jean-Marc Fontaine
Well, I am able to extract on both OSX as well as Vista with 7Zip Ark on KDE says the archive is corrupted and extracts nothing. Jean-Marc Kanopée - Développement Informatique Durable 56 rue de Saint André 59800 Lille Tél : 03 20 74 61 25 Porta

Re: [fw-general] Zend_Layout & Zend_View Enhancements Demo

2008-03-20 Thread Ralph Schindler
Well, I am able to extract on both OSX as well as Vista with 7Zip I will talk to the team more over the next few days on perhaps finding a better way to distribute demo like applications. -ralph Julian Davchev wrote: Is it just me or archive is broken and cannot extract. Ralph Schindler wr

Re: [fw-general] Zend_Layout & Zend_View Enhancements Demo

2008-03-20 Thread Karl Katzke
Worked fine for me on OSX, but StuffIt did crash after unpacking it. -K On Thu, Mar 20, 2008 at 11:50 AM, Julian Davchev <[EMAIL PROTECTED]> wrote: > Is it just me or archive is broken and cannot extract. > > > Ralph Schindler wrote: > > Hello everyone, > > > > I have put together a demo applica

Re: [fw-general] Zend_Layout & Zend_View Enhancements Demo

2008-03-20 Thread Julian Davchev
Is it just me or archive is broken and cannot extract. Ralph Schindler wrote: Hello everyone, I have put together a demo application that showcases some features of Zend_Layout and Zend_View Enhancements within the MVC environment. If you would like to download, set it up and play/browse the

Re: [fw-general] Zend_Layout & Zend_View Enhancements Demo

2008-03-20 Thread Jean-Marc Fontaine
Thank you very much Ralph ! Jean-Marc Kanopée - Développement Informatique Durable 56 rue de Saint André 59800 Lille Tél : 03 20 74 61 25 Portable : 06 88 56 50 79 Fax : 09 59 77 04 28 Web : http://www.kanopee.net/

[fw-general] Zend_Layout & Zend_View Enhancements Demo

2008-03-20 Thread Ralph Schindler
Hello everyone, I have put together a demo application that showcases some features of Zend_Layout and Zend_View Enhancements within the MVC environment. If you would like to download, set it up and play/browse the code within it, it is located here: http://framework.zend.com/wiki/display/ZF

Re: [fw-general] Zend_Layout with nested layout?

2008-03-08 Thread SiCo007
I have just done something similiar, as I primarily thought this is what Zend_Layout would do, basically I have the layout include a common header and footer. I know this is going back to the dark ages a little but it seemed like the simplest fashion, and if you don't want a layout to use the sta

Re: [fw-general] Zend_Layout with nested layout?

2008-03-08 Thread Christian Ehmig
> > I'm just playing with Zend_Layout and have a quick question. What I'd > like to do is have a three part view. I'd like my designer to design a > wrapper "template" that consists of the markup surrounding the output > of action views. This is exactly what Zend_Layout does so perfect! b

[fw-general] Zend_Layout with nested layout?

2008-03-06 Thread Jeffrey Sambells
Hi All, I'm just playing with Zend_Layout and have a quick question. What I'd like to do is have a three part view. I'd like my designer to design a wrapper "template" that consists of the markup surrounding the output of action views. This is exactly what Zend_Layout does so perfect! but

Re: Re: [fw-general] Zend_Layout consuming lots of memory?

2008-02-07 Thread Pádraic Brady
I think memory usage on Windows was definitely improved around 5.2 - didn't the core team update the memory usage functions in PHP around the same time? Can't quite remember - I do know measuring memory usage on Windows not too long ago was difficult in userland scripts. Since then it's been fixed

Re: [fw-general] Zend_Layout consuming lots of memory?

2008-02-06 Thread Philip G
On Feb 6, 2008 1:15 PM, Steph Fox <[EMAIL PROTECTED]> wrote: > 8 megs?! > > Which PHP version are you using? > PHP5, it's the default install. I've never had issues in the past running over it. Nor have I seen a reason to increase it. My production site is set to 128megs (MORE than enough, I know

Re: [fw-general] Zend_Layout consuming lots of memory?

2008-02-06 Thread Steph Fox
8 megs?! Which PHP version are you using? - Original Message - From: "Philip G" <[EMAIL PROTECTED]> To: "fw-general" Sent: Wednesday, February 06, 2008 6:53 PM Subject: [fw-general] Zend_Layout consuming lots of memory? Okay, I've recently downlo

[fw-general] Zend_Layout consuming lots of memory?

2008-02-06 Thread Philip G
Okay, I've recently downloaded ZFW 1.5 and playing around with Zend_Layout. Unfortunately though, there seems to be a bit of a memory problem. The issue is when I load Zend_Layout to create an MVC instance, and then attempt to call phpBB's methods to login, I get out of memory error. I have the def

Re: [fw-general] Zend_Layout - images and css not loading

2008-02-02 Thread Vincent
On 01/02/2008, Matthew Weier O'Phinney <[EMAIL PROTECTED]> wrote: > > -- Peter Atkins <[EMAIL PROTECTED]> wrote > (on Friday, 01 February 2008, 12:17 PM -0800): > > I apologize that was my typo > > > > > > > > /> > > Home > > > type="text/css" /> > > > > > > > >

Re: [fw-general] Zend_Layout - images and css not loading

2008-02-02 Thread Amr Mostafa
Not a solution to the problem, but rather a note, you should be using baseUrl(). Like: $this->view->headLink()->appendStylesheet($this->getRequest()->getBaseUrl() . '/css/lib.css'); And if you are adding it in the view, then I've found this helper BaseURL() by Geoffrey Tran to be very useful: ht

Re: [fw-general] Zend_Layout - images and css not loading

2008-02-01 Thread Matthew Weier O'Phinney
-- Peter Atkins <[EMAIL PROTECTED]> wrote (on Friday, 01 February 2008, 12:17 PM -0800): > I apologize that was my typo > > > > > Home > type="text/css" /> > > > > > . > > I wish that was it... > > I do see the following two errors: > > HP Fatal error: Uncau

Re: [fw-general] Zend_Layout - images and css not loading

2008-02-01 Thread Peter Atkins
I apologize that was my typo Home type="text/css" /> . I wish that was it... I do see the following two errors: HP Fatal error: Uncaught exception 'Zend_Controller_Dispatcher_Exception' with message 'Invalid controller specified (css)'... PHP Fatal

Re: [fw-general] Zend_Layout - images and css not loading

2008-02-01 Thread Matthew Weier O'Phinney
-- Peter Atkins <[EMAIL PROTECTED]> wrote (on Friday, 01 February 2008, 11:34 AM -0800): > This is my first post to the list, and also my first project with ZF. > > I'm trying to implement Zend_Layout with all the MVC elements outside of > the public doc root. This also includes the new layout tem

[fw-general] Zend_Layout - images and css not loading

2008-02-01 Thread Peter Atkins
All, This is my first post to the list, and also my first project with ZF. I'm trying to implement Zend_Layout with all the MVC elements outside of the public doc root. This also includes the new layout templates (I also tried with templates in pub tree). This issue I'm having is that the

Re: [fw-general] Zend_Layout & View scripts, a bit of confusion

2008-01-31 Thread Matthew Weier O'Phinney
-- jlevy <[EMAIL PROTECTED]> wrote (on Thursday, 31 January 2008, 08:24 AM -0800): > I init a Zend_Layout in my bootstrapper... > - Zend_Layout::startMVC(array('layoutPath' => $_approot.'/views/layouts')); > > ... > based on some other magick, I set the view script to an alternate scripts > direc

[fw-general] Zend_Layout & View scripts, a bit of confusion

2008-01-31 Thread jlevy
I init a Zend_Layout in my bootstrapper... - Zend_Layout::startMVC(array('layoutPath' => $_approot.'/views/layouts')); ... based on some other magick, I set the view script to an alternate scripts directory... - Zend_Layout::getMvcInstance()->getView()->setScriptPath($_alternate); // where alt

Re: [fw-general] Zend_Layout - working out

2007-12-13 Thread Łukasz Wojciechowski
On Dec 13, 2007 7:01 PM, Matthew Weier O'Phinney <[EMAIL PROTECTED]> wrote: > > Fixed; see ZF-2305, and r7102 of svn. > Hero of the day! Thank you very much! -- Łukasz Wojciechowski

Re: [fw-general] Zend_Layout - working out

2007-12-13 Thread Matthew Weier O'Phinney
-- Matthew Weier O'Phinney <[EMAIL PROTECTED]> wrote (on Thursday, 13 December 2007, 12:49 PM -0500): > -- Łukasz Wojciechowski <[EMAIL PROTECTED]> wrote > (on Thursday, 13 December 2007, 06:10 PM +0100): > > One more question :) I try to do Zend_Layout::startMvc(); in > > controller plugin but on

Re: [fw-general] Zend_Layout - working out

2007-12-13 Thread Matthew Weier O'Phinney
-- Łukasz Wojciechowski <[EMAIL PROTECTED]> wrote (on Thursday, 13 December 2007, 06:10 PM +0100): > One more question :) I try to do Zend_Layout::startMvc(); in > controller plugin but on every stage (routeShutdown() etc) I get error > > Fatal error: Call to a member function getBody() on a non-o

Re: [fw-general] Zend_Layout - working out

2007-12-13 Thread Łukasz Wojciechowski
One more question :) I try to do Zend_Layout::startMvc(); in controller plugin but on every stage (routeShutdown() etc) I get error Fatal error: Call to a member function getBody() on a non-object in (...)lib\Zend\Layout\Controller\Plugin\Layout.php on line 127 any ideas? -- Łukasz Wojciechowsk

RE: [fw-general] Zend_Layout now in core!

2007-12-13 Thread SiCo007
> From: holografix . [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 12, 2007 6:23 PM > To: SiCo007 > Cc: fw-general@lists.zend.com > Subject: Re: [fw-general] Zend_Layout now in core! > > > > Hi Simon > > I built the docs in windows with cygwin. it'

Re: [fw-general] Zend_Layout - Is this strange?

2007-12-12 Thread Dylan Arnold
Ralph. Thanks. After a great deal of headbanging I found out that I had rather than being outputted in part of my layout.. Problem solved Cheers On Dec 13, 2007 6:22 AM, Ralph Schindler < [EMAIL PROTECTED]> wrote: > Are you starting Zend_Layout without passing it any parameters? Do you > gi

Re: [fw-general] Zend_Layout now in core!

2007-12-12 Thread Federico Cargnelutti
Great, I like the idea behind this component. Well done. Matthew Weier O'Phinney-3 wrote: > > (as announced on fw-mvc) > > Greetings! > > I'm happy to announce that Zend_Layout has now been successfully merged > to core! > > This includes the following components: > > * Zend_Controller_(

Re: [fw-general] Zend_Layout now in core!

2007-12-12 Thread Vincent
On 12/12/2007, Daniel Freudenberger <[EMAIL PROTECTED]> wrote: > > for everbody who's not able to build the docs, i've put the documentation > (including zend_layout) to http://zfdoc.bwler.org/ > Awesome, thanks! Best regards, > > Daniel > -- Vincent

RE: [fw-general] Zend_Layout now in core!

2007-12-12 Thread Daniel Freudenberger
ubject: Re: [fw-general] Zend_Layout now in core! Hi Simon I built the docs in windows with cygwin. it's simple and easy. jus read the readme. best regards holo 2007/12/12, SiCo007 < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> >: It looks excellent and this is probably a s

Re: [fw-general] Zend_Layout now in core!

2007-12-12 Thread holografix .
Hi Simon I built the docs in windows with cygwin. it's simple and easy. jus read the readme. best regards holo 2007/12/12, SiCo007 <[EMAIL PROTECTED]>: > > > It looks excellent and this is probably a stupid question but how do I get > the documentation online, or is it only available via svn at

Re: [fw-general] Zend_Layout - Is this strange?

2007-12-12 Thread Ralph Schindler
Are you starting Zend_Layout without passing it any parameters? Do you give it the path to your layout scripts? Do you set a layout script to render? Also, do you have any empty image tags in your site that might be calling on your site? If so, that might be pulling up your index again an

Re: [fw-general] Zend_Layout now in core!

2007-12-12 Thread Matthew Weier O'Phinney
-- SiCo007 <[EMAIL PROTECTED]> wrote (on Wednesday, 12 December 2007, 04:58 AM -0800): > It looks excellent and this is probably a stupid question but how do I get > the documentation online, or is it only available via svn at the moment? I'd > like to read about it before trying it. I replied ear

Re: [fw-general] Zend_Layout now in core!

2007-12-12 Thread Matthew Weier O'Phinney
-- SiCo007 <[EMAIL PROTECTED]> wrote (on Wednesday, 12 December 2007, 04:58 AM -0800): > It looks excellent and this is probably a stupid question but how do I get > the documentation online, or is it only available via svn at the moment? I'd > like to read about it before trying it. The documenta

Re: [fw-general] Zend_Layout now in core!

2007-12-12 Thread SiCo007
It looks excellent and this is probably a stupid question but how do I get the documentation online, or is it only available via svn at the moment? I'd like to read about it before trying it. Thanks Simon Matthew Weier O'Phinney-3 wrote: > > (as announced on fw-mvc) > > Greetings! > > I'm ha

[fw-general] Zend_Layout - Is this strange?

2007-12-12 Thread Dylan Arnold
Hi all, I just downloaded the latest snapshot to try out Zend_Layout. I've come across something a little strange. I noticed one of my db queries was executing twice after a post to a certain action. Can anybody explain what is going on? I added this to the index action of my index controller t

Re: [fw-general] Zend_Layout - working out

2007-12-11 Thread Matthew Weier O'Phinney
-- Łukasz Wojciechowski <[EMAIL PROTECTED]> wrote (on Tuesday, 11 December 2007, 03:11 PM +0100): > So I managed to run Zend_Layout and I got to the "load of questions" point. > > OK, I get the idea of 2 step design but can't get it working ;) I mean > logically ... I have controller NewsControlle

Re: [fw-general] Zend_Layout now in core!

2007-12-11 Thread Ramon de la Fuente
Three thumbs up, incredible work! Matthew Weier O'Phinney wrote: (as announced on fw-mvc) Greetings! I'm happy to announce that Zend_Layout has now been successfully merged to core! This includes the following components: * Zend_Controller_(Plugin|Action_Helper)_ActionStack * Zend_Contro

[fw-general] Zend_Layout now in core!

2007-12-11 Thread Matthew Weier O'Phinney
(as announced on fw-mvc) Greetings! I'm happy to announce that Zend_Layout has now been successfully merged to core! This includes the following components: * Zend_Controller_(Plugin|Action_Helper)_ActionStack * Zend_Controller_Action_Helper_ViewRenderer (changes to work with Inflector)

[fw-general] Zend_Layout - working out

2007-12-11 Thread Łukasz Wojciechowski
So I managed to run Zend_Layout and I got to the "load of questions" point. OK, I get the idea of 2 step design but can't get it working ;) I mean logically ... I have controller NewsController in witch I have action show so I fetch all news in this action and want to show it on layout without won

Re: [fw-general] Zend_Layout Status ?

2007-09-11 Thread Matthew Weier O'Phinney
and Ralph have done most of the work. ;-) > - Original Message > From: Nathan Wright <[EMAIL PROTECTED]> > To: Matthew Weier O'Phinney <[EMAIL PROTECTED]> > Cc: Zend Framework General > Sent: Tuesday, September 11, 2007 10:20:02 PM > Subject: Re: [fw-general

Re: [fw-general] Zend_Layout Status ?

2007-09-11 Thread Pádraic Brady
patternsforphp.com - Original Message From: Nathan Wright <[EMAIL PROTECTED]> To: Matthew Weier O'Phinney <[EMAIL PROTECTED]> Cc: Zend Framework General Sent: Tuesday, September 11, 2007 10:20:02 PM Subject: Re: [fw-general] Zend_Layout Status ? Will layouts still render w

Re: [fw-general] Zend_Layout Status ?

2007-09-11 Thread Kevin McArthur
ot;Zend Framework General" Sent: Tuesday, September 11, 2007 2:39 PM Subject: Re: [fw-general] Zend_Layout Status ? Thanks for the quick response, I like how all this is sounding :) On 11-Sep-07, at 2:33 PM, Matthew Weier O'Phinney wrote: -- Nathan Wright <[EMAIL PROTECTE

Re: [fw-general] Zend_Layout Status ?

2007-09-11 Thread Nathan Wright
Thanks for the quick response, I like how all this is sounding :) On 11-Sep-07, at 2:33 PM, Matthew Weier O'Phinney wrote: -- Nathan Wright <[EMAIL PROTECTED]> wrote (on Tuesday, 11 September 2007, 02:20 PM -0700): Will layouts still render when ViewRenderer::setNoRender(true) has been called?

Re: [fw-general] Zend_Layout Status ?

2007-09-11 Thread Matthew Weier O'Phinney
-- Nathan Wright <[EMAIL PROTECTED]> wrote (on Tuesday, 11 September 2007, 02:20 PM -0700): > Will layouts still render when ViewRenderer::setNoRender(true) has > been called? That's one of the things I like about the ZVE approach-- > you don't have to manipulate two helpers every time you want

Re: [fw-general] Zend_Layout Status ?

2007-09-11 Thread Nathan Wright
Will layouts still render when ViewRenderer::setNoRender(true) has been called? That's one of the things I like about the ZVE approach-- you don't have to manipulate two helpers every time you want to disable view rendering. Will Zend_Layout be limited to 1 layout per request? At first I wa

Re: [fw-general] Zend_Layout Status ?

2007-09-11 Thread Matthew Weier O'Phinney
-- Philip G <[EMAIL PROTECTED]> wrote (on Tuesday, 11 September 2007, 02:25 PM -0500): > On 8/18/07, Matthew Weier O'Phinney <[EMAIL PROTECTED]> wrote: > > -- PotatoBob <[EMAIL PROTECTED]> wrote > (on Friday, 17 August 2007, 11:33 PM -0700): > > > > I sure hope default module layou

Re: [fw-general] Zend_Layout Status ?

2007-09-11 Thread Philip G
On 8/18/07, Matthew Weier O'Phinney <[EMAIL PROTECTED]> wrote: > > -- PotatoBob <[EMAIL PROTECTED]> wrote > (on Friday, 17 August 2007, 11:33 PM -0700): > > > > I sure hope default module layouts and a setConfig() feature are added > to > > zend_layout :( > > Ralph and I were discussing Zend_Layout

AW: [fw-general] Zend_Layout Status ?

2007-08-19 Thread Leo Büttiker
tem access calls. Cheers, Leo -Ursprüngliche Nachricht- Von: PotatoBob [mailto:[EMAIL PROTECTED] Gesendet: Sonntag, 19. August 2007 00:40 An: fw-general@lists.zend.com Betreff: Re: [fw-general] Zend_Layout Status ? I was trying to put into consideration, setting a default layout for

Re: [fw-general] Zend_Layout Status ?

2007-08-18 Thread PotatoBob
I was trying to put into consideration, setting a default layout for a specific module. One may have a blog or admin module with uses a completely different default layout. I am not sure if Zend_Application would suggest us to create "module controller" to extend from because of the namespaced reg

Re: [fw-general] Zend_Layout Status ?

2007-08-18 Thread Matthew Weier O'Phinney
-- PotatoBob <[EMAIL PROTECTED]> wrote (on Friday, 17 August 2007, 11:33 PM -0700): > > I sure hope default module layouts and a setConfig() feature are added to > zend_layout :( Ralph and I were discussing Zend_Layout yesterday. The current design we're looking at would have a default layout, an

Re: [fw-general] Zend_Layout Status ?

2007-08-17 Thread PotatoBob
I sure hope default module layouts and a setConfig() feature are added to zend_layout :( ../application/layouts phtml default

Re: [fw-general] Zend_Layout Status ?

2007-08-17 Thread Matthew Weier O'Phinney
-- Kamil <[EMAIL PROTECTED]> wrote (on Friday, 17 August 2007, 03:25 PM +0200): > What is the status of > Zend_Layout > or Zend_View Enhanced . Before version 1.0 there was big discussion > about it ,so > is layout management will be i

[fw-general] Zend_Layout Status ?

2007-08-17 Thread Kamil
What is the status of Zend_Layout or Zend_View Enhanced . Before version 1.0 there was big discussion about it ,so is layout management will be in version 1.1 ?

Re: [fw-general] Zend_Layout demo app...

2007-07-24 Thread Kevin McArthur
http://layout.chanterelle.ca/layout.tar.gz Should help. Kevin - Original Message - From: "Martin Hujer" <[EMAIL PROTECTED]> To: Sent: Wednesday, July 25, 2007 12:18 AM Subject: Re: [fw-general] Zend_Layout demo app... Look at http://www.spotsec.com/blogs/archi

Re: [fw-general] Zend_Layout demo app...

2007-07-24 Thread Martin Hujer
Look at http://www.spotsec.com/blogs/archive/the-basics-of-zend_layout-ahem-xend_layout.html?Itemid=125 (there is link to the sample on the bottom of the post) or http://svn.ralphschindler.com/repo/Xend/docs/layout_usage.txt Martin Drew Bertola wrote: > > Hi, > > Does anyone have a recent de

[fw-general] Zend_Layout demo app...

2007-07-24 Thread Drew Bertola
Hi, Does anyone have a recent demo app utilizing Ralph's Zend_Layout? Thanks, -- Drew