April, 2005
MySQL Notes
Various bits of information about using MySQL with Siteframe. MySQL Permissions Typically, you need these permissions on your MySQL database: grant alter,index,select,insert,pdate,delete,create,drop on database .*
to ' user '@' host ' identified by ' password ' or (somewhat easier) grant all on database .* to ' user '@' host ' identified by ' password ' though this is possibly...
0 comment(s)
/ glen
/ Internals
/ on April 24, 2005 at 14:38
HowTo: install Siteframe 5.x
The README.txt file that is distributed with Siteframe should have
the latest information on the product as well as a set of simplified
installation instructions. These instructions are intended to be very
comprehensive, and probably contain more information than any
reasonable person needs. Assumptions
You have an account with an ISP or web hosting provider
You know the final...
8 comment(s)
/ glen
/ HowTo
/ on April 24, 2005 at 08:29
Ad Hoc Text
On most websites, there is often a need for simple pages of
information. These are not really content pages, since they are mostly
to do with the operation of the site, and not its informational
purpose. For example, these sorts of things:
terms of service
help pages
contact information
notification of upcoming events
To support these uses, Siteframe 5.x provides "...
0 comment(s)
/ glen
/ Internals
/ on April 24, 2005 at 07:22
Deleting Content
Siteframe is designed to give site members control over their
content. Therefore, when something is deleted, it is gone from the
site's database and filesystem permanently (note: if regular backups
are made of the site's database and files, then it's possible to
restore accidentally-deleted data, though there is no direct function
provided for that by Siteframe). Typically, all related...
0 comment(s)
/ glen
/ User Help
/ on April 22, 2005 at 23:31
Administrators
A registered site member can optionally be flagged as an administrator
account. Administrators are the gods of a Siteframe website; they have
unlimited control over all site objects, and can edit or delete any
object as needed, including other members. When the site is first
created, an initial administrator account is created; this account
cannot be deleted, though it could be edited...
0 comment(s)
/ glen
/ User Help
/ on April 22, 2005 at 23:27
About Pages, Folders, and Files
NOTE: RECENT REVISIONS TO SITEFRAME HAVE RENDERED THIS DISCUSSION OBSOLETE. STAY TUNED FOR FURTHER UPDATES.
The three most common types of objects used on a Siteframe website are Pages, Folders, and Files. This page describes what each of these objects are, how they are used, and what some of the restrictions are.
A Page is just what you expect: a single page on the website. Each page...
0 comment(s)
/ glen
/ User Help
/ on April 22, 2005 at 23:07
thumbnail (Smarty extension function)
The {thumbnail} function is at the center of Siteframe's ability to
provide dynamically-sized images on demand. It creates resampled
versions of uploaded image files with special features and caching. Syntax {thumbnail file=" string " type=" string " size= integer center= boolean rotate= integer } When invoked, the function returns the name of a file that meets the
desired...
0 comment(s)
/ glen
/ Templates
/ on April 20, 2005 at 16:42
menu (Smarty extension function)
{menu} is a custom Smarty function for the construction of menus. A menu ,
in this context, is a set of links and text for a specific function.
For example, if you are signed in, the bottom of this page has a menu
with various items such as "New Comment" and "Send Feedback." If you
are the owner of a page, there are even more options like "Edit" and
"Delete." These menus are all...
0 comment(s)
/ glen
/ Templates
/ on April 20, 2005 at 16:41
Logging
Siteframe 5.x has two internal tables for logging. The first is the
audit log; this is always functional and records any major changes to
data. The purpose of this log is to track changes to the system; for
example, if a large number of objects are deleted from the site, you
can use this log to find what event or user initiated the deletion. The
second log is called the user log and...
0 comment(s)
/ glen
/ Internals
/ on April 17, 2005 at 16:32
Template Sets and Directory Structure
In Siteframe Beaumont, all standard templates are stored in the directory identified by the configuration variable dir_templates ,
which is usually named "templates" and is created immediately beneath
the root directory of the website. Templates that are used by common
site functions are stored immediately in that directory and are called
"site templates." These templates are used for...
0 comment(s)
/ glen
/ Templates
/ on April 9, 2005 at 11:18
