Welcome to Geeklog, Anonymous Saturday, September 07 2024 @ 08:10 pm EDT
Geeklog Forums
More fun with the static pages plugin
Dirk
After installing the static pages plugin I found that it didn't integrate too well into Geeklog since it doesn't use the block design like normal articles do. So I changed it to wrap the static content into a block. You can download my replacement for the index.php that goes into public_html/staticpages. This file also fixes a minor HTML error where the center tag wasn't closed depending on which type of user was viewing the static page.
But wait, there's more: When checking my Apache logs, I found that the plugin was trying to access a staticpage.gif file that wasn't included in the original archive. Putting a GIF into public_html/staticpages/images/staticpage.gif solves this.
And finally, since I am working on a German page right now, I've also translated the lang.php that comes with the plugin to German.
You can get a repackaged plugin containing all the above modifications from here. Please note that it installs the English lang.php by default. If you want German, you have to rename the included lang_ger.php to lang.php after the installation went through.
Have fun.
bye, Dirk
Dirk
Dirk
This version of the static pages plugin is designed to be used with the web based install that was built into Geeklog up until (and including) version 1.3.3. If you're running a newer version, you should really download and use Tony's version of the plugin (from the Plug-ins page).
bye, Dirk
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content