Pages: [1]
  Print  
Author Topic: SEO binding not working  (Read 187 times)
fakeartist
Gaia Novice
*
Posts: 6


WWW
« on: November 10, 2011, 04:07:20 AM »

Hello to all!

According to Gaia's documentation:

Quote
Gaia supports binding expressions, similar to MXML, in the src, seo and assetPath attributes. This feature is primarily for localization, but you can use it for other purposes. A binding expression is {surrounded} by braces.

I'm trying to use this feature in Ramiro's multilingual site template like this:

Code:
<page id="home" title="Home" src="swf/home.swf" menu="true" seo="{locale}/home/index.html">

But when I scaffold the project, it creates a folder named "{locale}".

What I want is 2 folders to be created, one "en" and one "es".

Is this possible or am I missing something here?

Thanx in advance!
Logged
steven
Gaia Author
Administrator
Gaia Evangelist
*****
Posts: 3871


gaiaframework
WWW
« Reply #1 on: November 10, 2011, 10:22:41 AM »

You cannot scaffold with binding expressions. The documentation is extremely clear on this point.

http://www.gaiaflashframework.com/wiki/index.php?title=Site_XML#Binding_Expressions
Quote
Do NOT use binding expressions in any of your attributes until after you're done scaffolding and updating file bytes in XML!
Logged

Steven Sacks | Gaia Author
Please support Gaia by donating to the project!  Smiley
Pages: [1]
  Print  
 
Jump to:  

TinyPortal v1.0 beta 4 © Bloc