Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Adding multiple get_component( );
#8
(2014-02-13, 21:44:45)datiswous Wrote: Why wohould someone want to have a component in a component?

Any reason you like. Put the tagline in the sidebar for instance. In the real world I think the last time I did so I had a separate component for a list of links which could be inserted in the left or right sidebar or the main content as required, or sometimes I have called a contact form in a component so I can put it in a page or in a sidebar in different parts of the site.
Reply


Messages In This Thread
Adding multiple get_component( ); - by cyberviews - 2014-02-13, 19:13:03
RE: Adding multiple get_component( ); - by Timbow - 2014-02-13, 22:35:52
RE: Adding multiple get_component( ); - by Timbow - 2014-02-13, 20:57:59
RE: Adding multiple get_component( ); - by Timbow - 2014-02-13, 22:21:25
RE: Adding multiple get_component( ); - by Timbow - 2014-02-13, 22:49:25



Users browsing this thread: 1 Guest(s)