Joomla

如何更改Joomla管理员语言

让人想犯罪 __ 提交于 2020-07-27 10:16:09
本教程说明了如何更改Joomla管理面板的语言。请注意,您可以安装多种语言并更改每个用户的设置。 首先,请先登录您的Joomla管理后台。接下来,转到扩展->语言->已安装以打开您站点的已安装语言列表。 在此页面上,您将看到所有可用的语言。在默认安装中,您应该只会看到英语。要添加更多翻译,请按页面左上方的“ 安装语言”按钮。 现在,您将看到Joomla应用程序将从官方Joomla扩展目录获得的可用翻译列表。这意味着这些软件包是安全的,您可以安全地使用它们。由于Joomla是开源应用程序,因此这些翻译是社区驱动的。这意味着您可能会看到它们不完整的通知。 请选择一种语言(此处搜索功能非常方便),然后按Install(安装)按钮。就本教程而言,我们将管理区域的语言更改为中文。 几秒钟后,新的语言包将安装到您的应用程序中。现在,您只需要将其默认设置为您想要的网站部分即可。在我们的情况下,我们想更改管理区域语言。再次转到 扩展名->语言->已安装选项卡,然后单击您要设置为默认语言(在本例中为中文)旁边带有星形图标的按钮。 就是这样,您的Joomla管理面板现在将以新安装和选择的语言工作。 来源: oschina 链接: https://my.oschina.net/u/3761169/blog/4410374

Joomla如何在文章中显示模块

别说谁变了你拦得住时间么 提交于 2020-07-27 03:15:14
本教程将向您展示如何在Joomla如何在文章中显示模块。 第一步 登录到Joomla管理面板。转到扩展,然后单击模块管理器: 第二步 您可以选择一个可用模块或创建一个新模块。让我们创建一个新模块: 第三步 我们将创建一个“ 最新新闻 ”类型的新模块,选择一个与其他模块所使用的位置不同的位置,在本例中为“ 404-search ”位置,保存该模块的所有设置: 第四步 现在,我们应该转到“ 内容”,“ 文章管理器”,然后选择需要添加该模块的文章: 第五步 输入此代码 到您希望其显示和保存的文章位置。 注意:“ 404-search ”是您需要添加的模块的位置: 回到前台刷新当前文章页面就可以看到模块的输出。 来源: oschina 链接: https://my.oschina.net/u/3761169/blog/4320430

如何在Joomla CMS中发布未分类的文章

て烟熏妆下的殇ゞ 提交于 2020-07-26 08:28:15
在Joomla内容管理系统(CMS)中创建文章和菜单项之后,必须将两者链接在一起,然后网站的用户才能使用它们。如果您对文章进行分类,则类别将链接到菜单项,从而使类别中的所有文章都可以通过菜单项使用。 要将菜单项链接到文章,请按照下列步骤操作: 单击菜单,在主菜单项里面点击新创建菜单,然后“编辑菜单”页面的“菜单类型,选择分类或者单篇文章。 “选择文章”页面将在“编辑菜单项”页面上打开。 请注意“选择文章”页面顶部的“搜索”,“访问”,“状态”和“类别”界面项。如果您在具有大量文章条目的网站上工作,它们会使搜索文章变得更加容易。 对于此练习,请单独保留“访问”,“状态”和“类别”字段。通过滚动浏览页面上所有可用的文章,或在“过滤器”文本框中输入文章的标题,然后单击“搜索”按钮,搜索“隐私策略”文章。 单击“隐私政策”文章的标题 “文章选择”页面关闭,然后返回到“编辑菜单项”页面。 单击保存并关闭按钮。 您返回到菜单项管理器,它显示一条消息,告诉您菜单项已保存。 查看新的菜单项。 查看首页以查看该文章。如有必要,请刷新。 查看文章。 单击新的“隐私策略”菜单项将打开“隐私策略”页面。 来源: oschina 链接: https://my.oschina.net/u/3761169/blog/4366544

jquery slidetoggle() not working in Joomla but works when not using Joomla

不问归期 提交于 2020-07-22 10:35:09
问题 I am using the slidetoggle function to show/hide a div on a Joomla 3 template. It is not working in joomla but it is working when I use it outside of Joomla. I read jQuery slideToggle doesn't work on joomla, but works on jsbin and put my script at the bottom of the page but that didn't help. It works here outside of Joomla working slidetoggle but not when I put it in the template's index.php file non-working slidetoggle In the Joomla template index.php, I have loaded jquery (version 1.10.2

change file persmissions filezilla command line windows

安稳与你 提交于 2020-06-02 11:16:06
问题 How do I change the file permissions in filezilla with the command line? I tried 'SITE CHMOD 755 templates' but that only changes the folder 'templates'. I want to chmod all files in the templates folder and the subfolders in there. I know you can do this by clicking rmb om the templates folder etc. but that is way to slow I was hoping the command line would be faster? If not, what is the best way to change a lot of file permissions on your server fast? I'm using filezilla in windows. 回答1:

Access the custom fields in joomla 3

醉酒当歌 提交于 2020-05-27 13:09:20
问题 In joomla 3 you can add custom fields. They are saved in the joomla mysql database under "_fields". I´ve created a new custom field called "region". The users can add a value in their profile settings. So my question is now, how can i call the users value of this custom field via php? I know how to call the users profile values for example: jimport( 'joomla.user.helper' ); $user = JFactory::getUser(); $userId = $user->id; $userProfile = JUserHelper::getProfile( $userId ); $usercity =

Joomla database query SELECT AS

♀尐吖头ヾ 提交于 2020-05-25 07:27:25
问题 So I'm just hypothetically thrilled to be querying my hypothetical database: $query->select($db->quoteName(array('user_id', 'name'))); I would, however, like the query to look like: SELECT `user_id` AS `uid`, `name` AS `User-Name` How the heck do I get the AS in there? 回答1: I know this question is 6 months old, so you've probably found an answer or worked around it, but for anyone else who has a similar problem: $query->select($db->quoteName(array('user_id','name'),array('uid','User-Name')));

Soap webservice returns “The content type application/soap+xml; charset=UTF-8”

女生的网名这么多〃 提交于 2020-04-30 08:41:51
问题 I'am trying to communicate with some SOAP webservice (which is from Joomla) I keep getting this error: The content type application/soap+xml; charset=UTF-8 of the response message does not match the content type of the binding (text/xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 330 bytes of the response were: '<?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org

Soap webservice returns “The content type application/soap+xml; charset=UTF-8”

时光怂恿深爱的人放手 提交于 2020-04-30 08:38:02
问题 I'am trying to communicate with some SOAP webservice (which is from Joomla) I keep getting this error: The content type application/soap+xml; charset=UTF-8 of the response message does not match the content type of the binding (text/xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 330 bytes of the response were: '<?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org

Laravel Valet 2.0版本:内置服务器替换成Nginx

孤人 提交于 2020-04-26 13:48:58
Laravel Valet,Mac平台上的极简Laravel开发环境,早已发布了2.0版本,该版本主要包含了一些bug修复以及将内置服务器从Caddy替换成Nginx。 升级到 Valet 2.0 升级到新版本很简单,只需几步就可以完成。 首先,备份你的 ~/.valet 目录,然后停止正在运行的Valet并将其卸载: valet stop valet uninstall 最后,升级到最新版本的Valet。可以通过Git或Composer来升级,这取决于你安装Valet的方式,比如我之前是通过Composer全局安装的,所以首先我需要修改 ~/.composer/composer.json 中valet的版本号: "laravel/valet": "^2.0" 然后运行Composer全局更新命令以更新Valet依赖: composer global update 最后我们使用Valet安装器执行安装和重启命令: valet install valet restart 此时查看Valet版本会发现已经升级到2.0版本: Valet驱动 目前Valet支持的驱动如下: ● Basic ● Bedrock ● Cake ● Concrete5 ● Contao ● CraftCMS ● Drupal ● Jigsaw ● Joomla ● Katana ● Kirby ●