RESOLVED
I am not sure exactly which fixed it but I made a couple alterations to the
bootstrap based on another tutorial written by Rob Allen. The 2 changes in
particular was to set the default timezone (don't think it was this) and to
add ./application/models/ to my set_include_path call.
Either way all is well and I am off and running. Thanks to all who provided
input and insight into the Zend Framework.
Regards,
Mike
duforu wrote:
>
> I am using _forward as described in the programmers reference manual.
>
> The code is extremely simple at the moment as I am just trying to
> understand the framework. It was requested that I post my code but it may
> be simpler for me to zip it up and attach it.
>
> Right now all the code does is:
> 1. redirect you to a login form if you have not logged in
> 2. If you properly login (no smarts here if user==pass) you are redirected
> to a dashboard. No content there just b.s. messages to myself.
>
> Sample output on dashboard main. What is really strange is that the view
> pulls in a toolbar file ("this is your toolbar buddy") and then simply
> writes a single line. As you can see in the example below it does this
> twice but the 3rd time it is only the single line and not the toolbar to.
>
> <code>
> This is your toolbar buddy!!!
> Welcome to the Dashboard::Main
>
> This is your toolbar buddy!!!
> Welcome to the Dashboard::Main
>
> Welcome to the Dashboard::Main
> </code>
>
>
> Ralph Schindler wrote:
>>
>> Are you using Zend_Layout? Do you have it set to look for layout
>> scripts and are setting a default layout?
>>
>> Or, are you using _forward by any chance?
>>
>> -ralph
>>
> http://www.nabble.com/file/p14300975/trunk.zip trunk.zip
>
--
View this message in context:
http://www.nabble.com/Site-rendering-content-multiple-times-tp14298680s16154p14304342.html
Sent from the Zend Framework mailing list archive at Nabble.com.