| Index
» Projects
» phpMyEdit
» Forum
» phpmyedit with joomla |
 |
tdwtomcat
Joined: 17 Apr 2009
Posts: 1
Posted: 2009-04-17 21:56
Back to top
Reply with quote
|
I've generated a php script and now I want to use it in Joomla. I can get the form to show, but the problem is every time I click a button (add, edit, etc.) I get redirected away from the form back to my homepage index.html. Does anyone know why this is?
|
leonardo.g
Joined: 24 Apr 2009
Posts: 2
Posted: 2009-04-24 07:57
Back to top
Reply with quote
|
| tdwtomcat wrote: |
| I've generated a php script and now I want to use it in Joomla. I can get the form to show, but .... |
How to do to show the form in joomla 1.5?
Now I try with Jumy but is possible without him?
I can modify the form to use it in joomla
If you help me I can help you!
|
leonardo.g
Joined: 24 Apr 2009
Posts: 2
Posted: 2009-04-24 17:11
Back to top
Reply with quote
|
in
phpMyEdit.class.php
at line
3227
you hawe to change
$this->page_name = basename($this->get_server_var('PHP_SELF'));
with
$this->page_name = basename($this->get_server_var('REQUEST_URI'));
et voilà run in Joomla!
|
zopha
Joined: 10 Jul 2009
Posts: 1
Posted: 2009-07-10 21:30
Back to top
Reply with quote
|
i also have problems with my banner changing almost everytime i push a button. Is there a logical reason for this?
|
trister
Joined: 01 Dec 2010
Posts: 15
Posted: 2010-12-01 09:52
Back to top
Reply with quote
|
I tried using this but it worked only for the main table display.
If I went to the details forms the buttons just reloaded the same form.
The solution I found was this :
1.
do what is mentioned above
2.
put on your tablename.php the following lines (if you use the code inside a module) :
| Code: |
$opts['url']=array('images' => 'modules/mod_myphptablename/images/');
$opts['page_name']='http://localhost/joochronoforms/index.php?option=com_content&view=section&id=10&Itemid=83';
|
3.
The more tricky part (you can try to see if you can work without this)...
I did a search & replace searching for 'page_name' word. Wherever I saw using the '?' to create a GET statement I replaced it with a '&'.
I hope this helps.
Note:
I.Step3 was made because the GET url was created like this
| Code: |
| index.php?...ItemId=80?PME.... |
You had 2 '?' and this confused the application.
II.I'm testing how well Joomla will work as an authentication wrapper of this app (I want it for an intranet application).I think I'll create a topic about the integration of phpMyEdit inside joomla & it's security (SQL injections etc..))
[/code]
|
|
Post new topic
Reply to topic
|
|
|
|