Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
glx_admin_image TXP 4.0 - Location issue
I’ve got the lovely glx_admin_image plugin installed, but it’s showing up at the top of my image properties pages, above the menu tabs in the yellow header. Looks like a damned mess. Anyone have a clue how to get it where it belongs, beneath the image?
Offline
Re: glx_admin_image TXP 4.0 - Location issue
Same here, I’d also be interested in a solution.
Offline
#3 2005-08-18 07:29:17
- heikki74
- Member
- From: Finland
- Registered: 2004-08-17
- Posts: 100
Re: glx_admin_image TXP 4.0 - Location issue
It is because the jump menu was added to the top of the page. In the image edit page the plugin searches the first form-tag on the page to add the image editing fields there. Now the jump menu is first. Similar thing is going on in image list page.
search this:
// get the upload form element var formUpload = document.getElementsByTagName(‘form’).item(0);
and change it to this:
// get the upload form element var formUpload = document.getElementsByTagName(‘form’).item(1);
another place:
// get the upload form element, the second form on the page var formUpload = document.getElementsByTagName(‘form’).item(1);
change to this:
// get the upload form element, the third form on the page var formUpload = document.getElementsByTagName(‘form’).item(2);
Offline
Re: glx_admin_image TXP 4.0 - Location issue
thanks, heikki74, that solved it. Will this be part of the plugin in the future or do I have to take a note of the change?
Offline
#5 2005-08-18 07:57:28
- heikki74
- Member
- From: Finland
- Registered: 2004-08-17
- Posts: 100
Re: glx_admin_image TXP 4.0 - Location issue
Well, I’m not the author of the plugin.
Johan wrote this message about the plugin development status.
So until Johan makes his comeback or someone takes over the plugin, you’ll just have to modify the code.
Offline
Re: glx_admin_image TXP 4.0 - Location issue
I see. That’s fine then.
Thank you.
Last edited by andreas (2005-08-18 08:17:29)
Offline