Data files make a messy CMS integration with G2
rsbrace
Joined: 2005-07-08
Posts: 13 |
![]() |
|||
Because all the data files share the same directory as the image files this causes quite a mess when using gallery with a cms built in image manager. My Installation: I tested G2 with mambo. pointed all my images to be stored in mambos image folder so I could use the same images inside mambos news articles. The photo below will show how many folders have to be navigated when trying to find the images needed. My recommendation would be to have a data and a photo directory independent of each other. Other than this great job.
|
||||
signe
![]()
Joined: 2003-07-27
Posts: 2322 |
![]() |
|||
Sorry... this isn't something we'll be changing. We have never intended for G2's data directory to be used by anything other than G2 itself. The g2data directory is for G2 data. If you'd like to link your images into Mambo's image system, what I'd suggest doing is creating a symlink in your mambo image directory that points to /g2data/albums |
||||
rsbrace
Joined: 2005-07-08
Posts: 13 |
![]() |
|||
Thanks, Great program G2 is the best yet and Im disappointed that I will not be able to use it. |
||||
signe
![]()
Joined: 2003-07-27
Posts: 2322 |
![]() |
|||
rsbrace wrote:
Thanks, There are ways (young Jedi), to create the link using a PHP script. Whether your host will *like* that very much is a different matter and something I can't comment on. <?php symlink("/path/to/your/g2data/albums", "/path/to/your/mambo/albums/Gallery"); ?> Just put that into a .php file and upload it to your webserver, then run it from your browser. (Make sure and delete it afterward.) (Note: the 'Gallery' after mambo/albums is the subdirectory/name where all of G2's images will be found. Don't try and link it directly to your mambo/albums directory.) |
||||
rsbrace
Joined: 2005-07-08
Posts: 13 |
![]() |
|||
Quote:
I tried this out and received the error below.
|
||||
rsbrace
Joined: 2005-07-08
Posts: 13 |
![]() |
|||
Still no luck with the php symlink but I did find a way. Install gallery inside your mambo directory. Set gallery to chmod new directories to 777 Install MosCE wysiwyg editor for mambo (found @ mamboforge) This is a work around but it worked in my testing. Good luck. |
||||