Author Topic: merge 2 categories in 1.7.6 in the admin interface, without direct access to DB  (Read 5757 times)

0 Members and 1 Guest are viewing this topic.

Offline webmaster73

  • Jr. Member
  • **
  • Posts: 75
    • View Profile
hi.
I know how to merge 2 categories with SQL (direct access to the DB)

But I would like to give such power to fellow administrators who only have access to 4images 1.7.6 admin interface

I searched and could not find such a mod.

Does this exist?

The MOD should simply do 2 things:

$source_cat_id=
$target_cat_id=

1) update table images WHERE cat_id = $source_cat_id SET cat_id= $target_cat_id

2) mv /home/user/public_html/gallery_folder/data/media/$source_cat_id ../$target_cat_id


Offline Alessio

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
    • Webax.it [Alessio's photogallery]
You could use admin/image.php (Edit Image in ACP) and select all images of a category and move into another one.
« Last Edit: March 02, 2008, 09:57:49 PM by Alessio »
Alessio
my homepage: http://www.webax.it

Offline webmaster73

  • Jr. Member
  • **
  • Posts: 75
    • View Profile
You could use admin/image.php (Edit Image in ACP) and select all images of a category and move into another one.

Thank you Alessio. but are you using a modded version of images.php?
the regular non-modded file does not on my end provide a "move" button. I only got "delete" and "next page"

right ?

edit: I believe you are using a mod such as this one
http://www.4homepages.de/forum/index.php?topic=6759.0


Offline Alessio

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
    • Webax.it [Alessio's photogallery]
Thank you Alessio. but are you using a modded version of images.php?
the regular non-modded file does not on my end provide a "move" button. I only got "delete" and "next page"

right ?

edit: I believe you are using a mod such as this one
http://www.4homepages.de/forum/index.php?topic=6759.0


Exactly.
Alessio
my homepage: http://www.webax.it