Welcome to Geeklog, Anonymous Monday, November 25 2024 @ 04:54 am EST
Geeklog Forums
Professional Theme With Built-in WYSIWYG
I have placed a link at the bottom of the theme saying "WYSIWYG Added by the Tech info Blog"
If you have any problems feel free to email me at sam@theplaceforitall.com
Install Instructions
There are two directories in the folder that you downloaded. Place the directory "professional" in your Geeklog layouts folder. Place the directory "htmlarea" anywhere one your web-server (make sure it's NOT inside the cgi-bin) where it can be accessed through a web browser. Inside the directory "htmlarea" is a file called "example.html" access this file though a web browser, for example:
http://www.example.com/htmlarea/example.html
If you see a textarea with editing options and not just a plain textbox than you are one the right track. Inside the "professional" directory there is a file called "header.thtml" open this file up in a PLAIN TEXT editor and on line 15 you will se this :
_editor_url = "http://example.com/htmlarea/";
Change the URL http://example.com/htmlarea/ to the URL on your server where you can access the directory "htmlarea" through a web browser. The URL you replace http://example.com/htmlarea/ with MUST end a slash (/).
Your WYSIWYG works now, but the HTML it generates will get filtered (deleted) by Geeklog using its default settings. To decide what HTML gets filtered by Geeklog and what doesn't you must change the settings: user_html AND admin_html in your Geeklog config.php file.
Now you should be able to use your new WYSIWYG whenever you submit a comment, link, and story. You will also be able to use your new WYSIWYG when you edit a story or link (like from the Admin menu).
Download the Professional Theme With Built-in WYSIWYG here.
Sam Krupa
- 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