Rearrangement of images

Phoca Gallery - image gallery extension
w_ds
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 12 Jun 2008, 14:08

Rearrangement of images

Post by w_ds »

Hi All!

Once again, it's me.

Is it possible to rearrange the thumbnails-list in a way that there are two columns of a table where one contains the thumbnails and the other the image the user chose (blank if none has been chosen yet)?


THX in advance!

Regards,
Stefan
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Rearrangement of images

Post by Jan »

:-( only if you know html/php and you will rework it...

try to see the swap image function, maybe it can be the function you are looking for:

https://www.phoca.cz/phocagallery/demo/i ... ian-alps-2
If you find Phoca extensions useful, please support the project
w_ds
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 12 Jun 2008, 14:08

Re: Rearrangement of images

Post by w_ds »

Well, yes I know HTML and PHP, so redoing it won't be a problem. Problem is to find the right file for that. Is there some sort of documentation which file does or contains what?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Rearrangement of images

Post by Jan »

Phoca Gallery use the Joomla framework and MVC pattern, so there is:

controller - here you get e.g. POST and GET data
view - here you display the output (default.php will be used as template)
model- here you get the data from database or you add data into database

you you must change the:

view: components\com_phocagallery\views\category\...
model to get the data: components\com_phocagallery\models\category...
If you find Phoca extensions useful, please support the project
w_ds
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 12 Jun 2008, 14:08

Re: Rearrangement of images

Post by w_ds »

THx a lot Jan!!!
Post Reply