|
Written by Joe
|
|
Tuesday, 10 February 2009 03:54 |
|
Some tips and frequently asked questions on Joomla plugin Content static.
- How to store all generated html into cache fold?
1.Set parameter " Joomla base dir' to cache directory.
For example, if you install Joomla on C:\wamp\www(or \var\www),
please set "Joomla base dir"as C:\wamp\www\cache (or \var\www\cache).
2.Add the following two lines to .htaccess
RewriteCond %{DOCUMENT_ROOT}/cache/%{REQUEST_URI} -f
RewriteRule (.*) /cache/$1 [L]
The above two lines should just after "RewriteEngine On" and before the Joomla core rewrite section
- Must the url end with ".html"?
Not realy. If your urls don't end with ".html", please add the following
DefaultType text/html to the top of .htaccess file
- How do I know the Content static plugin has taken effect?
For example, I have a article with url
http://www.eboga.org/cms/joomla/tips-and-frequently-asked-questions-on-content-static.html
Please check the /cms/joomla/tips-and-frequently-asked-questions-on-content-static.html has been created.
And rename Joomla's entrance index.php to index.php.bak, you still can access the url with browser.
Which means the file no longer depends on Joomla now.
- Does Content static alter database?
No, the content static don't have database operation
- If I don't want the Content Static, how can I uninstall it?
Please disable the plugin(or uninstall the plugin), and remove all generated html files.
- Why I get Warning:" fopen(/www/htdocs/index.php/index.html) [function.fopen]: failed to open stream: No such file or directory"?
You url includes index.php. It is impossible to take index.php as a file and a directory at the same time.
|
|
Written by Joe
|
|
Sunday, 28 December 2008 12:02 |
|
A great way to save bandwidth is to take advantage of Google’s AJAX Libraries API to serve your favorite open-source JavaScript libraries.
For a Joomla user, Joomla import mootools.js automatically. Mootools.js is more than 70KB, How much bandwidth it will takes?
The Joomla Plugin Google Ajax Library will automatically replace your local ajax libraries with Google's AJAX libraries.
For example, it will replace
<script type="text/javascript" src="/media/system/js/mootools.js"></script>
with
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/mootools/1.11/mootools-yui-compressed.js"></script>
or
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/mootools/1.2.1/mootools-yui-compressed.js"></script>
It depends the version you have set. The mootools version must have hosting on Google's Ajax libraries.
Benefits of the using Joomla Plugin: GoogleAjaxLib
- Save bandwidth.
- Speed up your site's response.
- Service more online users.
Support Ajax libraries:
- Mootools
- Prototype
- JQuery
- JQuery UI
Demo Site:
Java Open Source Directory
|
|
Written by Joe
|
|
Tuesday, 09 December 2008 13:04 |
|
A Search engine keywords highlight for Joomla. Support the following search engines: - Google
- Yahoo
- MSN
- Live
- Ask
- Baidu
For a live demo, you can search 'Java open directory' with google. Search http://www.google.com/search?hl=en&q=java+open+directory find http://www.java-opensource.com in the search result, and click. Then you will find the keywords: java open directory are all highlighted.
|
|
Written by Joe
|
|
Tuesday, 09 December 2008 13:04 |
|
A Search engine keywords highlight for Joomla. Support the following search engines: - Google
- Yahoo
- MSN
- Live
- Ask
- Baidu
For a live demo, you can search 'Joomla extensions' with google. Search http://www.google.com/search?hl=en&q=joomla+extensions find http://www.eboga.org in the search result(In about 2-3 pages), and click. Then you will find that keywords joomla and extensions are highlighted. This plugin is built on: scott yang 's
|