Page 1 of 1

joomla / mambo integration

Posted: Mon Oct 24, 2005 9:32 pm
by dracula
actualy this is not realy a installation problem since my s9y runs great. But it kind of bugs me that I have to run in a wraper.
I didn't find any mambo / joomla component for this.
I tried it on my own by creating in the components directory a link to my blog
ln -s com_blog /var/www/dracula/blog/ and then in the serendipity directory I created a link blog.php -> index.php then I went to my mambo installation with index.php?option=com_blog but then s9y tries to start the admin php to do the installation. I changed path and everything and also did a little modification in the source so that it doesn't do http Autodetect host when running in embeded mode but with no result.
anybody got this running in mambo / joomla or a module / component for s9y ?

Re: joomla / mambo integration

Posted: Tue Oct 25, 2005 11:34 am
by garvinhicking
If you embed serendipity, you need to pay attention that you previously chdir() to the s9y directory, so that s9y can find it's installation files! After the s9y installation, you can/must chdir() back to the directory where joomla started from.

Sadly I have never used Mambo/Joomla, so I cannot give you feedback on this.

Best regards,
Garvin

Posted: Thu Oct 27, 2005 10:27 pm
by dracula
thank you thank you thank you !
this is sooooooooo easy after your tip with the chdir.

so what I did is install the blog in components/com_blog/ direcotry ( or com_foobar ) mambo / joomla then uses this as component if you enter as link index.php?option=com_blog ( or com_foobar ) then you need a blog.php ( or foobar.php ) with just a simple content

Code: Select all

<?

chdir("/var/www_livadaru/html/cristian/components/com_blog");
include('index.php');
chdir( "/var/www_livadaru/html/cristian/");
?>
this is it ... then serendipity works
don't forget to set serendipity in embeded mode ...

/me happy ... :D

Posted: Fri Oct 28, 2005 11:05 am
by garvinhicking
That's great! Maybe you can tell that on the Mambo/Joomla! forums as well, in case other people are interested :)

Best regards,
Garvin

Posted: Wed Nov 02, 2005 4:06 am
by MySchizoBuddy
Ahhhh, u got s9y embedded in mambo/joomla.
S9y can be embedded inside anything right. they r all webpages after all

dracula, test it extensively. If it all works. the plugins works , template change then I'll go and post it on their forum.

can i see ur webpage

Re: joomla / mambo integration

Posted: Fri Sep 09, 2011 6:24 pm
by ranman
Hi

I have done everything as explained in here but I am getting something I could not really expect..

Code: Select all

Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/tmp/mysqld.sock' (2) in /homepages/44/d35/htdocs/components/com_blog/include/db/mysql.inc.php on line 270
serendipity error: unable to connect to database - exiting.
Any ideas ?

Many thanks

Re: joomla / mambo integration

Posted: Sat Sep 10, 2011 12:27 pm
by garvinhicking
Hi ranman!

the error messag estems from s9y not being able to connect to your database. Which database config did you enter in serendipity_config_local.inc.php? Maybe you needd to enter the IP address of the DB server instead of a hostname to prevent socket connections.
Regards,
Garvin