Excellent ... thanks steve.

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]
Behalf Of Stephen Moretti
Sent: Wednesday, August 30, 2006 4:01 AM
To: [email protected]
Subject: [farcry-dev] Re: Displaying an image as dynamic content



>
> When you say to drop this "into your project folder" which folder do you
> mean? I have
>
> LGH
>
The top level, lgh, is your project folder.


>
> Also, when you say
>
> <con:container label="#stobj.ObjectID#_HeaderImage">
>
> How does that help me use a different image for each page?  How does the
> system know which image I need? Where do I go to choose?
>
When you are looking at page on the front of the site stObj.ObjectID
is the unique identifier for that page. You can also see this ID when
you look at the properties of a page in the admin of the site.

Using the ObjectID in your container label will give it a label unique
to that page, so if the ObjectID were 12345 (its won't be, because
farcry uses 35 character UUIDs, but for the purpose of an example...)
then your label would be 12345_HeaderImage.  On another page the
ObjectID could be 54321, giving you a container label of
54321_HeaderImage.  The container label is used as the identifier
under which items selected in Design Mode are stored in the database,
so the different labels would allow you to have content unique to a
given page.

> How do I refresh the ap scope? Is there a url param or trigger that will
> refresh all my variables and reload?

As well as Steve Rittler's suggestion of ?updateapp=1, you can also
trigger a Refresh of the App Scope from the Context Menu on the front
of the site when you're logged in.

Regards

Stephen





--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/farcry-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to