2 php communicating files

A multipurpose module, plugin and component

2 php communicating files

New postby [email protected] » Thu Jan 20, 2011 8:05 am

Hello,
Great job with the component,but I have a litlle troubleshooting...
I have created a chain-search form that is aparted from 2 files:index.php and get_options.php
The file get_options.php is included in my index.php.
Is there anyway that this could fit in a module with jumi?
How can I do this?....
I dont know where to place the file get_options.php so
that it will be recognized from index.php...

If you have any suggestions,I'd appreciate your help.

Thank you in advance,
Akis
[email protected]
 
Posts: 1
Joined: Thu Jan 20, 2011 7:59 am

Re: 2 php communicating files

New postby [email protected] » Tue Feb 08, 2011 2:15 am

Since you use JUMI to load your content/files, now you need to use the articles like you do for the files. For example you have a form, and the action of the form is the file result.php
Since your form is now an "article", the form action now will be index.php?option=com_jumit&id=32.... or an article index.php?option=com_content&id=12...
I usually use a menu with all the links to the necessary files, this way you can copy the url. After you finish, you can hide the menu, or publish it in some position NOT visible in your template

The second one the same way you use the newsflash to show articles froma certain category, use the same module to show the articles with your content
[email protected]
 
Posts: 1
Joined: Tue Feb 08, 2011 2:07 am


Return to Jumi

Who is online

Users browsing this forum: No registered users and 4 guests

cron