Offline

Offline

joomla自带的维护显示在哪个模板里改呀

回复

J3Xadmin 回复了问题 • 1 人关注 • 1 个回复 • 572 次浏览 • 2017-11-30 10:25 • 来自相关话题

条新动态, 点击查看
admin

admin 回答了问题 • 2017-11-30 10:25 • 1 个回复 不感兴趣

joomla自带的维护显示在哪个模板里改呀

赞同来自:

在模板的offline.php文件中修改即可
在模板的offline.php文件中修改即可

joomla自带的维护显示在哪个模板里改呀

回复

J3Xadmin 回复了问题 • 1 人关注 • 1 个回复 • 572 次浏览 • 2017-11-30 10:25 • 来自相关话题

Normal Joomla operation requires a valid user to enter their username and password to get past the offline template page. Logging in prevents testing of guest functionality on your site. So your choice to take your site offline for development or testing actually prevents an entire segment of test cases - the guests (unregistered visitors)! For many of us, guest functionality is as important as functionality for registered users because, how are we to woo the guests unless we give them a great experience?

The Offline plugin provides a similar functionality as is found in my AdminExile extension. An administrator can set the site in offline mode inside Joomla Global Configuration, and enable this plugin to grant login-free access to the site. Browse the site as a guest (or login) - while still in offline mode.

I wrote it so I could demo custom authentication systems to a client - while remaining in offline mode. This allowed them to see the site as a guest, and login as a user would login using the various authentication methods available. Additionally, they could log in and out of the system at will - without seeing the offline page unless they ended their session (closed the browser).

New in 2.2.2 - CIDR capable whitelist. You may whitelist individual IPv4 and IPv6 addresses - or you can whitelist entire IPv4 networks using a CIDR netmask. For example - you could type in 253 addresses 192.168.1.1 through 192.168.1.254, or you could just define the network using its CIDR notation like this: 192.168.1.0/24. If your server has the PHP GMP library installed, you may also whitelist IPv6 CIDR networks.

Configuration is easy.


Enable the plugin
Set a key
Copy the URL displayed above the key and paste it into your browser address bar.
Adjust your whitelist, if necessary.


When you're ready to take your site live, the plugin won't interfere. Of course, you should disable it to preserve system resources, but it takes its operating parameters from Joomla configuration itself. When Joomla is set to offline mode, the plugin will operate. When it's not in offline mode, the plugin exits as early as possible to release resources.

Update 1.17 - fixed javascript issue preventing display of the trigger URL in Joomla 2.5.
Update 2.2.2 - complete rewrite for performance and additional features.

All of my extensions are free and none of my extensions display advertisements or links to my sites or services. If you feel that I have blessed you, then you can bless me by making a contribution to fund future development. Visit the "Website" link to make a contribution.