Fishcakes Exponent Installation
From Fishcakes Wiki
Fishcakes Exponent Installation
Notes on how Fishcakes Exponent Installation.
Contents |
Fishcakes Exponent Installation
User Settings
- Login to Exponent CMS and goto Admin Control Panel > Configure Site > Edit.
- Set Default File Permissions to World Readable and Writable.
- Set Default Directory Permissions to World Readable and Writable. See also Forum: Image Upload Permission and Forum: Permissions Problems.
- Tick Use PHP mail() function.
- Set Title, Keywords and Description to suit the site.
- Change the Not Found error text (see below).
- Change the Access Denied error text (see below).
- Change the Session Expired error text (see below).
- Set Session Timout to 19600*5 for longer login.
- Set Date & Time formats. First upload Custom date/time files (see below). See also Forum: Editing Calendar Views.
- Install custom themes and remove unused ones.
- FishcakesRev
- Install extra modules but don't remove unused ones until sure!
- Bulletin Board
- FAQ
- Google Translation
- Image Gallery with Lightbox
- Keyword
- Listings & Extended Listings
- Page Displayer
- Goto Admin Control Panel > Configure Site > Edit.
- Change the Display Settings > Theme to FishcakesRev.
- Protect directories by editing .htaccess file and adding this code:
-
Options FollowSymLinks MultiViews
Content Not Found text
<div class="moduletitle">Content Not Found</div> <p> The content you were looking for wasn't found on this site. It may have been deleted, or moved. If you're convinced it does exist, then the Search box above should help you find it. </p> <p> <a href="index.php" title="go to home page">« go to home page</a> </p>
Access Denied text
<div class="moduletitle">Authorization Failed</div> <p> You have tried to access a restricted area of this website. You are not allowed to access this area or perform this operation. <p>
Session Expired text
<div class="moduletitle">Expired Login Session</div> <p> Your session has expired because you were idle too long. Apologies for the inconvenience, but you will have to log back into the system to continue what you were doing. </p> <p> <a href="login.php" title="go to login page">« go to login page</a>. </p>
Custom Date & Time Formats
/conf/data/ (folder) /conf/data/time_format.dropdown (file) /conf/data/datetime_format.dropdown (file) /conf/data/date_format.dropdown (file)
Exponent Forum Posts
Posts made to the Exponent Forums to fix problems I've encountered.
Select a Page Error
- Forum: Insert/modify link problem — added to existing forum post.
Hi,
Did you ever manage to fix this problem? I'm getting an error when trying to use the HTML Text Editor's Insert/Modify Link function to Select a Page:
Not Acceptable: An appropriate representation of the requested resource /modules/navigationmodule/nav.php could not be found on this server. Apache/1.3.37 Server at dansalmon.info Port 80
It works fine on my development site but on my live site I'm unable to use this feature. I've checked that all the files:
- modules/nav.php
- modules/navigationmodule/actions/linker.php
- external/htmlarea/popups/section_linked.php
Everything seems to be in place and identical to my development environment.
Any ideas on what might be causing this problem?
Help greatly appreciated.
Cheers, Dan
- Still no response...
Protecting Exponent Sub-directories
I'm running Exponent on a few sites and am concerned about anyone being able to view the contents of the various sub-directories, as this is the first place a hacker will go when looking to do mischief. I'd like to put an index.html file into each Exponent sub-directory with the redirect code:
<HTML>
<HEAD>
<TITLE></TITLE>
<META http-equiv=Refresh Content="0; Url=../">
</HEAD>
</HTML>
I've tried it on my development site and it seems to be ok, but before I do it to a live site I'd like to find out it's likely to cause any problems.
Any advice from more experinced Exponent users would be greatly appreciated.
Cheers
Reply from Cletus:
Hi Dan. Putting an index.html in each and every directory is not the proper way to solve this problem. This is a server config option that needs changed. You need to tell apache to NOT index directories. You can do this by editing your apache2.conf file and find the <Directory> entry that corresponds to your Exponent install directory. It should look something like this.
<Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all # This directive allows us to have apache2's default start page # in /apache2-default/, but still have / go to the right place #RedirectMatch ^/$ /apache2-default/ </Directory>
What you are going to do is remove the option for indexing . To do this change this line....
Options Indexes FollowSymLinks MultiViews
...to look lik e this...
Options FollowSymLinks MultiViews
If you are on a shared host you should be able to accomplish the same thing via a .htaccess file.
Hope this helps.
-Adam (cletus)
Fishcakes Wiki Reference File
-
Fishcakes Exponent CMS Notes — Fishcakes Wiki Reference File.
Exponent CMS Resources
Official Exponent Resources
- exponentcms.org — official website.
- exponentcms.org Download — get Exponent.
- sourceforge.net Exponent — get Exponent from SourceForge.
- exponentcms.org Download Themes — change the look.
- exponentcms.org Download Modules — extend Exponent.
- exponentcms.org Forums — for advice.
- exponentcms.org FAQ — How Do I guide to common questions.
- exponentcms.org User Guides — PDF downloads.
- exponentcms.org Designers Guide — doesn't really exist yet!
- exponentcms.org Developers Guide — doesn't really exist yet!
- exponentcms.org How To Create a Module — basic module structure explained.
Unofficial Exponent Resources
- phpxref.com Exponent — online browsing of Exponent 0.96.3 source code.
- netstepcms.com eXponent Overview — good review of what's on offer.
- zimmertech.com Tutorials — excellent tutorials on variety of topics, including great Themes tutorial.
MySQL Resources
- mysql.com — MySQL official website.
- mysql.com Documentation — official user guide.
- wikipedia.org MySQL — good history and definition.
- php.net MySQL Functions — using PHP and MySQL together.
PHP Resources
- php.net — PHP Hypertext Processor official website.
- wikipedia.org PHP — good history and definition.
- w3schools.com PHP Tutorial — excellent online tutorial.
- php.resourceindex.com — index of PHP code snippets for the seriously techie.

