K this probably has a very simple ‘no’ answer and I wasted an incredible amount of hours on it but here goes.
I have 2 templates.
Template 1 is a category template with flash embedded in it for a gallery.
Template 2 is an XML template that lists categories and images from the gallery module. This is called from the flash file in the embed code itself.
There are multiple categories for the gallery. So when I load Template 1 I have a URL ending in C# e.g.(...gallery/C8/)
My XML contains a query
{exp:query sql="SELECT cat_id,cat_folder FROM exp_gallery_categories WHERE gallery_id = '1' AND parent_id = '9'"}
Now so, this is all fine if I want to list all the subcategories of the parent category which has the id of ‘9’ which you can see in my query there.
BUT I want that ‘9’ to reflect my C# on the category page so the XML loads the correct data for the category page it is on.
Any suggestions for passing that variable at page load time to the xml?
