Wednesday, 01 October 2014 22:23
beggarly

I cant edit images

zOOm Media Gallery for Joomla 1.5

Re: I cant edit images

Postby guilleva » Wed Sep 10, 2008 2:36 pm

Thanks, now edit the file editimg.php and look for the line number 241

Code: Select all
<button type="button" onclick="document.imgForm.newdescr.value=<?php echo $editor->getContent(); ?>Zoom.saveImg();"><?php echo _ZOOM_SAVE;?></button>


and replace it with:

Code: Select all
<button type="button" onclick="document.imgForm.newdescr.value=<?php echo $editor->getContent('newdescr'); ?>Zoom.saveImg();"><?php echo _ZOOM_SAVE;?></button>
User avatar
guilleva
Administrator
Administrator
 
Posts: 1527
Joined: Wed Sep 12, 2007 3:10 am
Location: San José, Costa Rica

Re: I cant edit images

Postby tranky » Wed Sep 10, 2008 2:59 pm

still no luck, either in frontend and backend...

Console now logs:
"Error: el is null
Source file: http://www.staisereno.info/components/c ... js/zoom.js
Row: 810"
tranky
Fresh Boarder
Fresh Boarder
 
Posts: 9
Joined: Wed Sep 03, 2008 10:53 pm

Re: I cant edit images

Postby guilleva » Wed Sep 10, 2008 3:58 pm

Hi, in that same file, look for:
line 51:
Code: Select all
# $zoom->createProgressScript('upload');
# $zoom->hideProgress();


and replace it by:
Code: Select all
$zoom->createProgressScript('upload');
$zoom->hideProgress();
User avatar
guilleva
Administrator
Administrator
 
Posts: 1527
Joined: Wed Sep 12, 2007 3:10 am
Location: San José, Costa Rica

Re: I cant edit images

Postby tranky » Wed Sep 10, 2008 4:38 pm

Now the changes are saved correctly
tranky
Fresh Boarder
Fresh Boarder
 
Posts: 9
Joined: Wed Sep 03, 2008 10:53 pm

Re: I cant edit images

Postby guilleva » Wed Sep 10, 2008 4:48 pm

Great! Thanks for your help on getting this fixed! I have upgraded the patch in the previous post with those new changes in case anybody else need it!
User avatar
guilleva
Administrator
Administrator
 
Posts: 1527
Joined: Wed Sep 12, 2007 3:10 am
Location: San José, Costa Rica

Re: I cant edit images

Postby polux » Wed Oct 15, 2008 11:36 am

Thanks for the patch. I can edit the images but I cannot save HTML descriptions. It saves them in plain text. Any ideas? Thanks.
polux
Fresh Boarder
Fresh Boarder
 
Posts: 2
Joined: Wed Oct 15, 2008 11:28 am

Re: I cant edit images

Postby guilleva » Wed Oct 15, 2008 3:08 pm

Hi, I really sorry but I don't support the non-native version of ZMG anymore, are you using the native version of ZMG for Joomla 1.5?
User avatar
guilleva
Administrator
Administrator
 
Posts: 1527
Joined: Wed Sep 12, 2007 3:10 am
Location: San José, Costa Rica

Re: I cant edit images

Postby polux » Wed Oct 15, 2008 4:17 pm

I'm using zOOm Media Gallery 2.5.1 RC4, downloaded from your site.
polux
Fresh Boarder
Fresh Boarder
 
Posts: 2
Joined: Wed Oct 15, 2008 11:28 am

Re: I cant edit images

Postby guilleva » Wed Oct 15, 2008 4:54 pm

Yes, but that's the unsupported version, there is another native version of Zoom Media Gallery from Joomla 1.5
User avatar
guilleva
Administrator
Administrator
 
Posts: 1527
Joined: Wed Sep 12, 2007 3:10 am
Location: San José, Costa Rica

Previous

Return to zOOm



Who is online

Users browsing this forum: No registered users and 1 guest