Pages: [1]
  Print  
Author Topic: Create new subpages dynamically (without scaffolding)  (Read 226 times)
mugdiman
Gaia Novice
*
Posts: 2


« on: November 28, 2011, 02:18:20 PM »

Hello, I am relatively new to gaia. I have a project where I have a page with a second and third level menu, that should be easy to update (from a separate XML and not site.xml). Each third level menu item should have a deeplink. So the question is if it is possible to create pages dynamically on the fly? Each item has the same structure and includes assets. I found references for externally loaded assets but not to create a complete gaia page with deeplinking from code.

Thank you, Dennis
« Last Edit: November 28, 2011, 07:39:08 PM by mugdiman » Logged
steven
Gaia Author
Administrator
Gaia Evangelist
*****
Posts: 3871


gaiaframework
WWW
« Reply #1 on: November 28, 2011, 10:49:57 PM »

Can you be more specific about what you have in mind?
Logged

Steven Sacks | Gaia Author
Please support Gaia by donating to the project!  Smiley
mugdiman
Gaia Novice
*
Posts: 2


« Reply #2 on: November 28, 2011, 11:49:58 PM »

Ok I will try to:

I have one section careers that should have careers as sub menu items

index
   nav
      home
      ...
      careers
         category 1
            career 1
            career 2
         category 2
            career 3

I know it is easy build that structure in site.xml, but using scafolding I have the feeling it creates a different swf for each career ? I need only one template and I reuse with the values from XML (text, images) How is the concept of templating handled in gaia? Can each career still have its own url ?

if lets say the client wants to add a career later, do they have to scarfold again to reflect the change in the site? (means open flash)

Thanks, Dennis

Logged
Ramiro
Moderator
Gaia Addict
*****
Posts: 861


interactive pragmatism


« Reply #3 on: November 29, 2011, 01:51:50 AM »

If your site.xml has pages pointing to the same swf file, Gaia will only create one fla and class, and re-use the same swf files within the different pages. Of course, you'll need your own implementation to place the correct content on each one.
Logged
Pages: [1]
  Print  
 
Jump to:  

TinyPortal v1.0 beta 4 © Bloc