PDA

View Full Version : Flash/Joomla Basic Interaction


lokki
10-29-2006, 05:36 PM
Hi all,

Does anyone have a good resource for talking to Joomla or another PHP/MySQL CMS through Flash? I'm familiar with passing variables to a simple PHP page, and getting them back, but Joomla is set up with some additional layers that I don't quite grok.

Specifically, I'd like to use the CMS registration module through Flash. I imagine I'll have to build the form and use POST to send everything through the URL to the right page, but my early efforts have bombed. Eventually, the CMS will also stand alone as a site for additional content and newsletters, which is why I want to use the registration tools at the outset.

I'm sure this has been done before, but I haven't found any info, yet. All help and suggestions are appreciated!

-lokki

lokki
11-03-2006, 10:40 PM
Anyone?

I've not had any luck with splitting out the PHP code, as the core engine keeps rejecting anything not requested via the main index page, and I'm not keen on editing the security features.

Cota
11-03-2006, 10:44 PM
You might be better served asking a question like this on joomla forum...thats where the issue appears to be. I dont mean to be rude, just trying to help you get your answer.

lokki
11-03-2006, 11:34 PM
I have asked there, too... what I'm after is anyone who might have actually done this sort of thing with an existing PHP engine/CMS. I figured the concepts would essentially be the same.

But thanks for that - I don't consider it rude at all! :)

lokki
11-06-2006, 05:27 AM
what I've got so far is a list of the variables the PHP form accepts. Some Joomla extension developers suggested using GET rather than POST (where I started).

The problem is I can send to the registration page, but that page is just the index page with some queries in the URL, e.g., index.php?option=registration. Calling this page and submitting variables via POST simply returns the page as if the URL were the only thing sent - no errors, etc.

I'll keep churning at this, but would LOVE any help or insight someone may provide. I think this will open the door to some much better things, but I'll probably need some help along the way.

lokki
11-10-2006, 06:07 AM
UPDATE:

I got the registration working properly, but the result from the database is in the form of a variable that is parsed on the server. So, it is already rendered into HTML by the time the sendAndLoad() function receives it. In fact, the entire page is still returned, so I hope someone can help...

Any ideas on how to modify the variable so Flash can read it? The function I am calling returns an echo statement, but there is no variable actually set in the HTML.

Thoughts??