Joomla计划插件激活 [英] Joomla schedule plugin activation

查看:58
本文介绍了Joomla计划插件激活的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在一周中的某些时间让我的Joomla网站处于脱机模式已经很长时间了.我想使用户无法进入,例如星期四中午12点至星期五中午12点.是否有某种插件或可以安排此类任务的工具? (对不起,英语不好)

I have a problem for a long time about having my Joomla site go in offline mode in certain part of the week. I want to make in unaccesable to users for example thursday 12pm to friday 12pm. Is there some kind of plugin or something that can schedule such task? (sorry for bad English)

推荐答案

我详细介绍了谢尔盖的答案.

I elaborate on Sergey's answer.

您可以编写一个系统插件,如下所述,该过程不会花费很长时间.我不确定它是否已经存在.

You could write a system plugin as I explain below, it won't take long. I'm not sure whether it exists already.

您的插件可以使输出重定向到所需的页面并清除文档内容,甚至可以加载其他模板,而不是使网站脱机.

Instead of putting the site offline, your plugin can redirect output to the page you desire and clear the document content, or even load a different template.

通过这种行为,站点将完全取决于插件而处于联机或脱机状态,因此您不必担心计划操作.

With such behaviour, the site will be online or offline depending exclusively on the plugin, thus you need not worry about scheduling actions.

这篇关于Joomla计划插件激活的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆