LOGO

SourceForge.net Logo

importing

under the hood importing

This is designed for small organisations. Most small organisations have websites perfect for importing into Lemon Squeezy.


Requirements

  • That each page on the exisiting website is surrounded by a similar template
  • a space where php 4.3 can be run, and where the webserver has permission to modify files. Occasionally it doesn't and you need to set the custom, pages, and pagesOld directories to world writable.
  • Depending on the level of expertise, this website can be adequate training. Half an hour of training is usually enough.

converting

copy the contents of the zip file into the web root. Feel free to move everything up a layer or two, although try to leave the demo and blank folders around because they might come in handy later.

If there is a logo file, save it as LOGO.jpg or LOGO.gif at the appropriate level

Copy a typical page from the existing website and paste the html into the 'edit template' page. It will probably help to have another window open with the rendered html for reference. Cut out all the unique content of the page and replace it with the BODY token, which you can copy paste from the top of the page. Do the same for MAINMENU and PAGETITLE. Make a wiki-link to the logo in the template. 

Look at the other tokens available where could they go and would they be useful?

don't forget to include the TOOLS token

For each page you must:

  • strip off the template section so that the page contains only its unique information
  • save it in the pages directory with an appropriate name. 

Now the sitemap. Using the pages you have just made, put their names in the hierarchy in the sitemap. You can include external links in the sitemap by just hardcoding them. If you have graphics for these, just drop them in the custom directory with the name pagename.gif and pagenameSELECTED.gif

Finally the pictures. You can in fact leave them where they are if the links are absolute, but it's better to move each picture into a directory with the name of the page on which it is displayed. and change the link to the picture to the usual syntax. At the moment if a picture is displayed on different pages, you need two copies of it. Pictures display at their natural resolution (for the sake of easy syntax), so some might need resizing


finalising

It's up to you how long you want to spend tidying up the html and defining styles. Just remember that generally every string in capitals, such as the filename STYLES.css shouldn't be touched. You may want to alter the login script slightly and probably to change the passwords.

Some clients will not need all levels of access. Lemon Squeezy is extremely useful without the manage page, and most people won't want to change the template and stylesheet. That's where you make your margin!.

^ back to top

mail matthew