Elxis CMS Forum

Support => General => Topic started by: oisy on April 12, 2010, 12:34:14

Title: IOS Gallery>how to remove date
Post by: oisy on April 12, 2010, 12:34:14
Hi, i didn't find the answer in the forum, sorry if it repeats...

So how can I remove or change the date of uploading a picture in IOS Gallery?
Title: Re: IOS Gallery>how to remove date
Post by: oisy on April 12, 2010, 12:56:09
And one more question

So i install the gallery, change the title on some languages but the titles "next picture" "previous picture"... are still in English. Can I change this text on other languages?
Title: Re: IOS Gallery>how to remove date
Post by: webgift on April 12, 2010, 15:15:05
Hi, i didn't find the answer in the forum, sorry if it repeats...
So how can I remove or change the date of uploading a picture in IOS Gallery?

Unfortunately we don't have the ability to edit the date of IOS Gallery Component.
If you know to manage database (e.t.c. phpmyadmin) you can modify from there but i don't recommend to do it so.

And one more question
So i install the gallery, change the title on some languages but the titles "next picture" "previous picture"... are still in English. Can I change this text on other languages?

These titles don't change because they are images.!!
You must edit via Photoshop or another Image Editor program which you can find at your ftp account:
/components/ios_gallery/images/nextlabel.gif
/components/ios_gallery/images/prevlabel.gif

Remember to save the new translated images to a *.gif image type.
Upload the edited images to the above ftp folder and you are ready!!
Title: Re: IOS Gallery>how to remove date
Post by: xmanhattan on April 12, 2010, 16:57:44

If you are comfortable with modifying the program, then you can open
/components/gallery.html.php using only a utf-8 editor.
Go to line 291 to find
Code: [Select]
echo mosFormatDate($row->dateadded);put // before the echo,
Code: [Select]
//echo mosFormatDate($row->dateadded);then save.

Again, you should only do this if you are comfortable with modifying code, otherwise change the dates using PhpMyAdmin as webgift says.
Title: Re: IOS Gallery>how to remove date
Post by: webgift on April 12, 2010, 17:09:08
Right Petros i had not seen the "remove" word on oisy's post ;)
Title: Re: IOS Gallery>how to remove date <fixed>
Post by: oisy on April 23, 2010, 11:59:03
Thanks! I don't understand data base, but this with images works!  :)
Title: Re: IOS Gallery>how to remove date
Post by: webgift on April 23, 2010, 12:04:18
 ;)