Connaxis Creative Outsourcing - Stay Competitive - Outsource Web Design to Argentina

Home » Blog
Blog
lang_btn lang_btn

CakePHP: Modifying layout blocks from within view elements

Added by: 18 February 2009 . 17:02

Usually a website layout consists of some main content block surrounded by common elements like a header, menu and submenu. CakePHP lets you handle these common widgets from the layout file (e.g. default.ctp) and use the view files for the "main content". In practice the controller passes all the necessary view data to both the layout and the views. But what if you have a common layout element "submenu" which should show local tasks (e.g. "edit", "new") depending on the main view and you don´t want to pass these submenu items through the controller? In this case you would need the view to "talk" to your layout and tell it "to display the submenu items edit, new and export whereever they belong".

The solution is simple and actually there is already an example included in the CakePHP framework for this: the "Javascript" helper.

Plans for 2009

Added by: 13 February 2009 . 16:02

In 2009 Connaxis is evolving it's capabilities by incorporating application designs using new technologies such as Adobe Flex and AS3. These technologies allow us to create expressive web applications that will engage, inspire, seduce, surprise and entertain internet users though the use of rich media applications like images, video, audio and 3D.

We will further progress our strategy of becoming the specialized workshop for various design studios. We do all of their custom web design; flash and coding. These companies thrive compared to the local competition because they can offer a high quality product for a moderate price level.

2009 we will focus on attracting the following high end partners: Game Development, Marketing Companies & Agencies, 3D Studios and High End Web Development companies in Europe and the USA.

Our new blog on programming is coming soon...

Added by: 11 February 2009 . 17:02

This blog will be coming very soon...

Stay tuned!

Page: 5