Firebug - Web Development Evolved
21.11.2009 05:57:32
PL EN
News | Articles | Files | Skin ⇓

Folders structure

Folders and their content:

  • admin - admin panel modules
  • cache - cache memory - you can find here:
    • templates compiled to PHP code in subdirectories
    • category hierarchy, e.g. cat1.php
    • admin panel menu, e.g. adm1.php
    • menu blocks for each language, e.g. menupl.php
    • emots.js - emoticon list in ISON format
  • cfg - vortal settings - in clean F3Site installation you can find:
    • account.php - user accounts settings
    • content.php - content options
    • emots.php - emoticon list
    • latest.php - latest items settings
    • mail.php - sending e-mail options, password to SMTP server
    • main.php - main options
    • plug.php - list of installed plugins with their versions
    • words.php - censored words with their replacements
    • types.ini - content types, titles, tables, settings
    • ver.ini - F3Site version
    • visits.txt - counter of visits
  • files - files for download
  • img - images and icons - there are some subdirectories:
    • admin - icons for admin panel, e.g. settings menu
    • editor - icons for text editor
    • emo - emoticons
    • icon - common icons
    • photo - folder for photos
    • user - user avatars or photos
  • install - installer's files - delete it after F3Site installation!
    • HTML - templates with installer's HTML code
    • lang - language files
    • SQL - table schemes for MySQL and SQLite databases
    • install.php - class which installs data for all available languages
    • index.php - informs, whether the server fits requirements...
  • lang - contains folders with language files: en, pl, de...
  • lib - common libraries for a lot of modules - the most important are:
    • bbcode.php - replaces BBCode into HTML
    • categories.php - set of functions for managing categories and content
    • category.php - prepares category view, subcategories...
    • comm.php - displays comments
    • compiler.php - compiles .html templates into PHP code
    • config.php - builds and saves configuration files
    • content.php - displays templates, messages, adds CSS and JS
    • mail.php - sends e-mail messages
    • mcache.php - rebuilds menu blocks for each language
    • preview.php - dynamic text preview e.g. with BBCode
    • rss.php - class for building RSS channels
    • user.php - displays level and user group list
    • js.js - main JavaScript library in F3Site
    • editor.js - text editor with dynamic preview
    • forms.js - dynamic form fragments
    • comm.js - deletes / accepts comments, loads the form
  • mod - modules, e.g. article, user account... selected folders:
    • cat - files that fetch item list in categories
    • edit - content editing in the saver.class.php eye
    • panels - menu blocks, e.g. on-line users, poll, latest items...
    • pms - files of private messages + PM class in api.php
    • polls - files of poll - display results
  • plugins - extensions
  • rss - built RSS channels
  • style - skins

Files in base directory:

  • adm.php - start file of admin panel
  • code.php - generates CAPTCHA code for images
  • fileman.php - file manager
  • go.php - counts link visits and file downloads, redirects to them
  • index.php - start file - loads a module basing on URL
  • kernel.php - F3Site kernel - selects language, connects to database...
  • login.php - login page to the vortal or admin panel
  • request.php - start file intended to AJAX requests
  • robots.txt - informations for search engines
  • .htaccess - flags for HTTP server that may increase security - some servers do not accept them and it may cause errors
Mark:
Wrote: WebCM - 22.07.2009 o 03:47
Menu
F3Site CMS
Games & tools
Statistics