Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Streda, 25. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  phpmyedit with joomla

phpMyEdit General     phpmyedit with joomla
Odoslať novú tému   Odpovedať na tému    
 
tdwtomcat     Založený: 17.04.2009   Príspevky: 1  
Príspevok Zaslal: 2009-04-17 21:56
Návrat hore  Odpovedať s citátom     

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     Založený: 24.04.2009   Príspevky: 2  
Príspevok Zaslal: 2009-04-24 07:57
Návrat hore  Odpovedať s citátom     

tdwtomcat Napísal:
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     Založený: 24.04.2009   Príspevky: 2  
Príspevok Zaslal: 2009-04-24 17:11
Návrat hore  Odpovedať s citátom     

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     Založený: 10.07.2009   Príspevky: 1  
Príspevok Zaslal: 2009-07-10 21:30
Návrat hore  Odpovedať s citátom     

i also have problems with my banner changing almost everytime i push a button. Is there a logical reason for this?

 
trister     Založený: 01.12.2010   Príspevky: 15  
Príspevok Zaslal: 2010-12-01 09:52
Návrat hore  Odpovedať s citátom     

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) :
Kód:
$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
Kód:
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]

 
Odoslať novú tému   Odpovedať na tému    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov