Wednesday, October 27, 2010

Re: 2 column css layout: click on link in left column, opening the view in the right column

i have some trouble using $content_for_layout in my view........so i
guess it just works in layouts!!??

and i read one layout per controller, which sucks, cause i need this
one layout for an action...is there some way out?

On 25 Okt., 11:48, Tomfox Wiranata <tomfox.wiran...@gmail.com> wrote:
> big fat thx.....:)
>
> On 25 Okt., 06:49, LarryTX <lut...@swbell.net> wrote:
>
> > It sound like to me that you've got a simple menu in the left column.
> > You'd put your $content_for_layout in the right column. Then in your
> > left column, you'd have the standard hyperlinks like <a href="/mysite/
> > pictures/pictures">Pictures</a> (I'm assuming that Address, Pictures,
> > Contacts, and so forth are each a separate class.)  Each hyperlink in
> > the left column will display your desired page in the right column
> > because that's where you put your $content_for_layout. You could use
> > $html->link expressions instead of explicit <a> tags, but I find that
> > rather contrived when the normal hyperlinks are just as easy to type.
>
> > By the way if your ever in the market for a really good multi-column
> > layout, take a look at the jQuery UI Layout Plugin (http://
> > layout.jquery-dev.net/index.cfm). It's fantastic with all the bells
> > and whistles you could ever imagine. The instructions for using are
> > are a bit obtuse, but if take a look at the samples provided, it
> > becomes really easy to use.

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: