Welcome Guest, Not a member yet? Register   Sign In
How to use several classes on one page?
#1

[eluser]mr. echo[/eluser]
Hello there!

I just installed ci today and after my first glance, tries and tutorials I must say: It's great! Congratulations to the authors!! :-)

My question is probably a typical newbie question and is likely already covered somewhere. However I couldn't find a proper answer. So if anybody could provide me with some links...

Let's say I want to create a project where I want to create objects of several classes on specific pages, e.g.:

- navigation-class, same class implemented on every page
- content-class, same class implemented on every page
- contact-form-class implemented on page x only
- etc.

How do I go about doing this since as I understand it on each view-file (which will be my uri & page) I can only implement one controller? Any answer / link would be appreciated!

Thanks.
Mr echo

PS: A hint on how to create a navigation-class I found in this thread:
http://ellislab.com/forums/viewthread/98704/
But it has a rather brief answer and no tipps on how to implement,


Messages In This Thread
How to use several classes on one page? - by El Forum - 03-08-2009, 01:44 PM
How to use several classes on one page? - by El Forum - 03-08-2009, 05:10 PM
How to use several classes on one page? - by El Forum - 03-08-2009, 05:24 PM
How to use several classes on one page? - by El Forum - 03-08-2009, 05:46 PM
How to use several classes on one page? - by El Forum - 03-08-2009, 06:02 PM
How to use several classes on one page? - by El Forum - 03-08-2009, 06:19 PM



Theme © iAndrew 2016 - Forum software by © MyBB