问题标签 [joomla3.3]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
0 回答
250 浏览

php - 本地(XAMPP)上的 Joomla3 安装停留在第 2 步

我正在尝试在 XAMPP 上的本地主机上设置 Joomla 3。我已经在 htdocs/myFolder 中提取了 Joomla 文件。一旦我启动该站点,它会将我带到 Joomla 站点配置。

步骤1。主要配置 - 我提供站点名称、描述、管理员电子邮件、用户名等等。

第2步。数据库配置 - 我提供以下信息:

Database Type: MySQLi Hostname: localhost:81 (because my apache runs on port 81) username: joomla_admin (user i have created in phpmyadmin) password: "password for above user" database name: "dbname which i created already" table prefic: "random generated" Old db process: Remove

一旦我点击下一步,加载栏就会出现并一直加载到世界尽头。

请帮忙!

0 投票
1 回答
106 浏览

html - Joomla!3.x:如何创建样式表以在不同的自定义 HTML 模块中使用

我正在 joomla 中创建一个网站,并且我大部分时间都在使用自定义 HTML 模块。每次创建新模块时,我都会在每个模块中设置样式,但我只需要相同的样式。自定义 html 模块的示例:

样品。

然后

我一遍又一遍地这样做是浪费时间。我只想创建一个可以在任何自定义 HTML 模块中随时调用的类。我该怎么做?

谢谢。

0 投票
1 回答
224 浏览

mysql - 从 artice Joomla 3 获取 sectionid

从 Joomla 2.5 升级到 Joomla 3 后,我的自定义模块不再工作。#__sections我从我的 id 所在的位置获得了一些 Text #__content-> sectionid

所以 sectionid in#__content已被弃用,但我找不到任何其他解决方案来从文章中获取该部分。有人有想法吗?

0 投票
2 回答
1522 浏览

javascript - Joomla 3.x:如何添加或链接到外部 javascript 文件

我想为我的 Joomla 使用视差。

特别是这个:https ://github.com/IanLunn/jQuery-Parallax

如何将这些插入我的 joomla 页面。

我将此模板与 Helix 框架一起使用

http://demo.joomshaper.com/?template=radon#

0 投票
2 回答
822 浏览

joomla3.3 - 如何更改 joomla 3 模板背景颜色

如何更改 joomla3.x 模板背景颜色。我正在从 css 尝试它,但我无法得到它。谁能告诉我如何更改 joomla3.3 模板背景颜色的颜色?

0 投票
1 回答
649 浏览

php - 检查 Joomla 的最佳方法!3.4.0 文章已经存在

我正在 Joomla 中创建文章!以编程方式使用 JTable。由于我有很多文章需要定期同步,所以我需要在插入之前检查每篇文章是否已经存在(否则会产生错误)。

最好的方法是什么?

我的想法是从数据库中检索所有文章并比较独特的字段。但是在检索文章时出现了问题(空白页)。这是代码:

如果这是 Joomla 中的“最佳”方式!检查某篇文章是否已经存在,这段代码的问题在哪里,导致空白页?

否则,这是检查 Joomla! 的最佳方法!具有一定内容的文章已经存在?

0 投票
0 回答
299 浏览

javascript - Joomla 中的 jQuery DatePicker + TimePicker

有人在此链接中使用过时间选择器吗?

http://trentrichardson.com/examples/timepicker/

我已经按照链接中的步骤操作,我将 add-on.js 文件添加到我的组件和里面的 css 文件,但是当我更改此代码时

对此:

什么都没发生。我只想向我从 JqueryUI 使用的日期选择器添加一个时间选择器。joomla与此有关吗?

我使用此代码从上面提供的链接中加载 javascript 文件:

这是页面加载时的错误截图:

在此处输入图像描述

我很困惑,因为从我关注的链接中,它只是使用了 .datetimepicker 然后它可以工作,但是当我使用我的链接时,它不起作用。

屏幕截图还显示 $.ui 未定义,但该代码来自 js 文件,该文件来自我关注的链接。

0 投票
0 回答
273 浏览

php - Adding additional field options to Joomla 3.3 backend to view in category list front end

Joomla 3.3 and Gantry v4.1.26

Attached below (dropbox link) is an image that I mocked up in photoshop, I would like to add a toggle option to view a table column in the category list view that contains a link to a PDF (of my choice) from the root images folder.

https://www.dropbox.com/s/rtv0p4cq200rbs0/PDF-sidebar-concept.jpg?dl=0

I was following this tut:

https://ranawd.wordpress.com/2010/05/11/adding-custom-columnsfields-to-joomla-article/

which has lead me into many right directions but it is outdated and meant for Joomla 1.5. If there was something similar to this but updated for Joomla 3.3.

Many thanks in advance!

*UPDATE** - March 30/2015

I was able to add an extra row by adding the following in root/components/com_content/views/category/templ/default_articles.php :

<in the thread tags>

<in the tbody tag>

All these are pretty much duplicates of the hit's function, i've also edited the language file to achieve 'JGLOBAL_PDF_LINK' and the default.xml file found in root/components/com_content/views/category/templ/default.xml adding:

To achieve referencing "list_show_pdf".

We also have to add a toggle to the backend in article options, go to root/administrator/components/com_content/config.xml and add:

I am still trying to store PDF files in the com_content table and show on the front end. Because in default_articles.php in the tbody code that I wrote it is out putting

Where I would like to output something like

and have a link to a PDF from the root images folder. Any recommendations or help is greatly appreciated. I do want to write documentation for this so it is easier to follow.

Cheers!

0 投票
1 回答
143 浏览

joomla3.3 - 如何为 Joomla 3.3 创建自定义插件

我在 Joomla 2.5 上有一个带有 hikashop 1.5 的网站,用于从 eway 支付网关进行定期付款我在文件 /plugins/hikashoppayment/eway/eway.php 上有自定义代码,这在我的一个实时网站 www.clet.edu .au

现在我在 joomla 3.3 和 hikashop 2.3 上有另一个站点,我想对同一个文件 /plugins/hikashoppayment/eway/eway.php 使用相同的以前的自定义代码,那么如何在当前站点中集成现有的自定义代码请帮助我如何为 joomla 3.3 插件执行此操作。

0 投票
3 回答
2816 浏览

php - 如何修复 JHtmlBehavior::formvalidator 未找到

我尝试从 Joomla 3.3.6 升级到 Joomla 3.4.1。当我尝试进入管理配置页面“JHtmlBehavior::formvalidator not found”时,我看到了这个错误。如何解决?