I post this in this section as I have integrated Plogger to this site...Ok, the question popped up. How to integrate the Plogger gallery into sNews CMS script. Well, I guess the majority of the sNews user possibly knows this, but for those who do not, I'll do a swift "howto" as to how I did this. Might not be the only way, but its the way I did it.
First download and install Plogger ;), of course.
Note 1 ! - Make it part of the same database as sNews, but with another prefix, or else it will produce error messages.
Note 2 ! - To avoid unnessecary dilemmas, aslo install Plogger in a subfolder to sNews, that is inside the sNews install.
Then I simply copied the layout and design of my sNews index.php and overwrote the existing index.php in the plogger folder.
In this new index.php in the plogger folder there need to be some changes made in order to show the gallery. So open up the Plogger index.php (which should be an exact copy of your original snews index.php) and add at the top:
You also need to edit the snews session_start by adding a "../" (without the qotationmarks) since you copied the file and put it in a subfolder, like this.
session_start(); include ('../snews.php'); ?>
Then in the head tag, you put:
And finally, you need to actually show off the gallery. Scroll down to where you put the center function in this snews file. Change that for:
And your done. You might want to do some changes to the script in order to behave and look the way you want it and to fit your design. But that's another story, hehe... I made the most of my changes to get it the way I wanted the script in the gallery.php file.
Patric.
Add comment 02.01.2007. 12:20
A new design for p-ahlqvist.com. Hope you'll like it. I feel I do. I think it's finished aswell, hehe, but never say never... I might find errors, or I might even be told of errors through out the site as I have starred myself blind on this one for a while now.
Please, if you find anything, see anything, think anything, don't hesitate to bring it to my attention. There are small issues left to fix, like the comment styling for example. That is fully functional, but the looks of it will change over time. I do make changes if opinions is valid, so drop me a line or just comment this article, and I'll have a looksie.
Thanks for reading, Patric.
Comments (9) 16.12.2006. 12:23
Now it is there. I have finally made it and I definitivly owe Avenir one. He have patiently and like a mother guided me in the jungle of databases, tables and insertions into tables. Without his help I would still have a mear showcase of designs rather than an actual downloadsection. Thanks, Avenir.
What I have managed to do here, is to have three columns beside eachother rather than a long, long one with all designs in it. I want things to be compact, so to speak. This is totally tableless if anybody wondered. This is three columns of designs made all in CSS without tables. There, now I said it, now I'm good ;), I'm so good...
Ok, if there is an sNews design you like, grab it. I will, however, not give support other than in the sNews forum.
On the other hand, if you want me to set one of these, or a new designed one, up for you I can be of assistance for a reasonable fee. Contact me via the contact link, and we'll have a chat.
Patric.
Add comment 06.06.2006. 17:56