LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-03-2008, 04:37 PM   #1
jimbo1708
Member
 
Registered: Jan 2007
Location: Pennsylvania
Distribution: Ubuntu 8.10 Server/9.04 Desktop, openSUSE 11.1
Posts: 154

Rep: Reputation: 31
Content Management Systems: Mambo and Joomla


Hello Everyone,

I am currently evaluating various content management system to play with on my webserver using apache, php5, and mysql (LAMP). I have evaluated Drupal and found it to be not proper for what I need because its not flashy enough. Mambo has been what I am leaning toward but I have recently installed and am working on joomla. Nonetheless, I am looking for a photo gallery component to either joomla or preferably mambo that will allow me manually specify a picture directory in my filesystem that is a depository for pictures. I want the component to show all the pictures in the gallery prefferably through mambo. Does anyone have any experience with this? So far, I wrote a script that generates an html page that I put in a public_html directory. It works ok for JPGs but I am looking for something more robust.

- Jim


Here is my current script:
Code:
#!/bin/bash

#Created index file pointer
index="/home/bryan/public_html/index.html"

#Created MyPictures Directory Pointer
MyPicturesDir="/home/bryan/Desktop/MyPictures"

#Create Webserved directory
WebDir="/home/bryan/public_html"

#Create Username
ownerUserName="bryan"

#Create Header and Footer Pointer
header="/home/bryan/.htmlscripts/header.html"
footer="/home/bryan/.htmlscripts/footer.html"





cd "$WebDir"
rm *

cd "$MyPicturesDir"
cp * "$WebDir"

cd "$WebDir"
for file in *
do
        convert -thumbnail 150 "$file" "`basename "$file" .jpg`_thumbnail.jpg"
done


cat "$header" >> "$index"

cd "$MyPicturesDir"


echo '<table border="4" align="center" cellpadding="10">' >> "$index"

counter=0
for Filename in *
do
        echo '<td align="center" valign="top"> ' >> "$index"
        echo '<h5>'`basename "$Filename" .jpg`'</h5>' >> "$index"
        echo '<a href="'$Filename'"><image src="'`basename "$Filename" .jpg`_thumbnail.jpg'"></a>' >> "$index"
        echo '</td> ' >> "$index"
        counter=$((counter+1))
        if [ "$counter" = 5 ] ; then
                echo '<tr> ' >> "$index"
                counter=0
        fi
done

echo '</table>' >> "$index"
echo '<div align="right"><h4>This page was last compiled '`date`'</h4></div>' >> "$index"

cat "$footer" >> "$index"

cd "$WebDir"
for File in *
do
        chown "$ownerUserName" *
        chmod 744 *
done
 
Old 01-05-2008, 06:54 AM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
I don't know if this will do all of what you want to do, but I've been using zOOm Media Gallery for Joomla and it meets my needs. If you use it, you'll want to keep it patched as there have been a couple of exploits aimed at it.
 
Old 01-06-2008, 11:27 AM   #3
jimbo1708
Member
 
Registered: Jan 2007
Location: Pennsylvania
Distribution: Ubuntu 8.10 Server/9.04 Desktop, openSUSE 11.1
Posts: 154

Original Poster
Rep: Reputation: 31
I have been working with joomla on a test director on my webserver and I really like it, but the installation for mambo is not working. Does anyone know where I can find a zoom package for mambo, my info below:

Code:
 Database Version:   	 5.0.38-Ubuntu_0ubuntu1.2-log
PHP Version: 	5.2.1
Web Server: 	Apache/2.2.3 (Ubuntu) PHP/5.2.1
WebServer to PHP interface: 	apache2handler
Mambo Version: 	Mambo 4.6.2 Stable [ Zeppy ] 24-April-2007 03:00 GMT
Again, I like zoom, but the installation I tried installs ok and reports no errors but it will not show any of the buttons to save progress, delete, etc when I try to work with it on the /adminisrator backend. Thank you for your help HangDog.

- Jim
 
Old 01-07-2008, 07:31 AM   #4
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Quote:
Does anyone know where I can find a zoom package for mambo, my info below:
If there isn't a Mambo package on the zoom site, there may not be one. I know that currently, Mambo and Joomla are extremely similar, but they may have diverged enough since the split for Zoom to not work in Mambo.

Quote:
but it will not show any of the buttons to save progress, delete, etc when I try to work with it on the /adminisrator backend
I wonder if there is something like a PHP conflict. Have you turned on error reporting for PHP to see if something is going haywire? It runs OK on my rig, which is:

Slackware 12
Apache 2.2.4
PHP 5.2.4
MySQL 5.0.37

I know this sounds stupid, but can you give a better description of what buttons you're not seeing on the backend?
 
Old 01-09-2008, 03:49 PM   #5
jimbo1708
Member
 
Registered: Jan 2007
Location: Pennsylvania
Distribution: Ubuntu 8.10 Server/9.04 Desktop, openSUSE 11.1
Posts: 154

Original Poster
Rep: Reputation: 31
thank you for your help. I have succesfully transferred all my content to joomla which is going very well for me. Thank you

- Jim
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: More Mambo for Open Source Content Management LXer Syndicated Linux News 0 09-21-2006 06:21 PM
Joomla+Mambo. binary_dreamer Debian 0 08-04-2006 07:44 AM
LXer: Open Source Content Management Systems - An Overview LXer Syndicated Linux News 0 02-20-2006 04:01 PM
content management systems hirts123 Linux - General 10 10-02-2005 04:20 PM
Php-Nuke, Mambo or...? (web content management software) fturcic Linux - Software 0 01-30-2005 03:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration