| Index
» Projekty
» phpMyEdit
» Fórum
» Using phpMyEdit within Wordpress |
 |
dbd
Založený: 24.09.2008
Príspevky: 1
Zaslal: 2008-09-24 07:59
Návrat hore
Odpovedať s citátom
|
I am using Wordpress to edit a website and I wanted to know if anyone had any idea how/if phpMyEdit could be installed within Wordpress. I would like to generate tables for the website, but I don't know how to get started.
|
jetonline
Založený: 13.01.2009
Príspevky: 1
Zaslal: 2009-01-13 16:40
Návrat hore
Odpovedať s citátom
|
I have managed to do this with a little bit of fiddling. I first of all installed phpMyEdit into a directory external to my wordpress directory and used phpMyEditSetup.php to generate the required PHP code in the normal way. I then kept a copy of the generated code and then deleted this install of phpMyEdit.
To get the generated php working within a word press page or post you need the Exec-PHP plugin. Place phpMyEdit.class.php, and the lang, extensions and images directory into the wp-content/plugins/exec-php/includes directory. Then copy your generated php code into the appropriate wordpress page or post.
I did have some problems with the default navigation buttons. Wordpress broke the html of the '>' and '>>' buttons so I used customised buttons and changed button values from '>' to 'next' and '>>' to 'last'.
|
davewtop
Založený: 07.07.2009
Príspevky: 4
Zaslal: 2009-07-07 21:13
Návrat hore
Odpovedať s citátom
|
Hi,
I'm using Wordpress, too. Through trial and error, I discovered the process that you outlined (wish I'd seen that first).
Anyway, I'm building a new site for a state EMS agency. We need to use a lot of tables so I tried this program. Worked great! Kind of...
The test page loads the table okay, but when I click on a sort option it takes me back to the homepage of my site.
It's a temporary URL, but you can see what's going on at:
http://02db393.netsolhost.com/bems/data-import-test
I am not a coder so any help appreciated!
|
doug
Založený: 10.02.2003
Príspevky: 1013
Bydlisko: Denver, Colorado (USA)
Zaslal: 2009-07-08 13:23
Návrat hore
Odpovedať s citátom
|
There is probably a simple answer, but I can't think what it is. Try including a debug script in your page footer, perhaps it will reveal which variable is getting messed up: http://dbug.ospinto.com/
|
Captain_Caveman
Založený: 17.09.2012
Príspevky: 1
Zaslal: 2012-09-17 03:40
Návrat hore
Odpovedať s citátom
|
I came up a solution that works for me. I generated the phpmyedit page using phpmyeditsetup.php (let's call it "example.php") just as before. However, I put this in a folder on my web site. I then created a new page and used the Wordpress PageView plugin to point to the new file as an outside website. For the URL I pointed it to the page. (ie. http://www.mydomain.com/example.php). I hope this helps someone. Spent a lot of time trying to get this to work. In my case I also used .htaccess to disable all IP address except the ones I wanted as my example was to be used for an internal database for work. I hope this helps. If anyone needs more information, please email me.
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|
|