Code2Design.com

User login

Blog Links

Programming

The Layout

Navigation

Popular content

Resources

Who's online

There are currently 0 users and 5 guests online.

Blogs

You Can CMS Without One

For several years now, I've been creating mini CMS's without realizing it - actually before there was such a term. It's made all the difference in the world in maintaining websites, especially with over 50 sites like we watch over. How do I do it? Thought you'd never ask. :)

This requires either PHP or SSI (Server Side Includes). I'll be talking about the PHP method here, but can show the other if there's a demand.

First step is to create your first page normally and get it just the way you want it. Then examine your source to see what will be repeated on the rest of the pages on the top and bottom.

Whatever part of the code will be repeated at the top of each page, remove from your page and paste into a document of it's own called header.php. The part that will be at the bottom of each page, remove and place in a document called footer.php. In your original document, put the following in place of the contents of the new header.php:


Submitted by maspick on February 9, 2007 - 8:08pm. |
read more | maspick's blog | 1 comment

Disagreements

"And now I want to plead with those two women, Euodia and Syntche. Please, because you belong to the Lord, settle your disagreement.


Submitted by David on February 9, 2007 - 7:37pm.
read more | David's blog | add new comment

Focus on others (Humility)

"Don't be selfish: don't live to make a good impression on others. Be humble, thinking of others as better than yourself.


Submitted by David on February 9, 2007 - 7:34pm. |
read more | David's blog | add new comment

Prayer and Peace

"Don't worry about anything; instead, pray about everything. Tell God what you need, and think him for all he has done.


Submitted by David on February 9, 2007 - 7:27pm. |
read more | David's blog | add new comment

Who Am I?

I'm Tom ('Mas) Pickering. You can call me anything but late to supper. :)


Submitted by maspick on February 9, 2007 - 7:23pm.
read more | maspick's blog | 1 comment

PHP-guestbook without MySQL

Ok, I made a basic guestbook script in PHP yesterday that you can use without having support for MySQL. I thought maybe someone would like it so I have uploaded it.

The guestbook is self installing, just run the script once and everything will be installed! (remember to rename the file to guestbook.php not guestbook.txt first...)

[edit]Now I've also created one for XML. It works just as the other one, but you don't need to us sqlight... Also remember to rename the new file to gb_test.php, not gb_test.php_.txt, then it won't work...[/edit]

Now I'm just realy getting annoyed because I need more than 100 words in this stupid blog entry... Wonder if I've made that by now..


Submitted by Alxandr on February 9, 2007 - 3:26pm. |
Alxandr's blog | 1 comment | 3 attachments

Knowledge Increases Sorrow

Quote:


Submitted by David on February 7, 2007 - 2:44am. |
read more | David's blog | 1 comment

This site is a little messed up right now...

Yes I know, the site is a little messed up right now...


Submitted by David on January 27, 2007 - 7:50pm.
read more | David's blog | add new comment

Syndicate content


Like what you see?

Why not add more? C2D is looking for other Christian Web Masters who would like to help write articles for this site. If you have expericance in FLASH, CSS/HTML, PHP/MySQL, PhotoShop/GIMP, Blender, Javascript, or just General Design - our users would love to hear what you have to say. Contact Us

delicious   digg   reddit   magnoliacom   newsvine   furl   google   yahoo   technorati