问题标签 [joomla-extensions]

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 投票
1 回答
169 浏览

php - 注册并忘记链接转到 Joomla 中的不同模板

我是 Joomla 的新手,这是我在 Joomla 的第一个项目。我正在使用 Joomla 1.6,出于登录目的,我使用Joomla 1.6 附带的默认登录插件。我正在使用 Joomla 1.6 默认模板Beez2-Default。当我点击忘记密码?链接或创建帐户链接注册表或忘记密码表单显示在另一个模板中,在我的情况下,它们显示在Beez2 - Parks Site中。但我需要在同一个模板Beez2-Default中显示它们。有人知道如何解决吗?

谢谢

0 投票
5 回答
40752 浏览

joomla - Joomla 插件:如何获取文章标题和文章 ID

我在 Joomla 1.6 中开发了简单的插件我坚持:如何获取文章标题和文章网址。

如果尝试打印以下语句,我没有得到任何输出:

我已经在 php 文件中编写了这个,没有使用 MVC 架构。在 Joomla 管理端是否需要做任何其他设置?

请建议您提取文章标题和文章网址的指针。

提前致谢!

普拉文

0 投票
2 回答
2592 浏览

joomla - Joomla 1.5 / YooTheme“ZOO”组件的修改

我将首先提到 Zoo 有一个开发者论坛,我已经使用过它。我在这里发帖的目的是,我通常会在几分钟或几小时内得到一个完整的答案,而开发论坛上的响应可能很慢或由于人口基数较小而根本不存在。

我的问题是关于 Yootheme 的 ZOO 2.3.2。默认情况下,产品“首页”似乎在项目顶部呈现“类别”框。如果关闭首页/模板配置中的所有可用选项(隐藏标题、计数、描述等),则项目顶部仍会保留一个空框。

通过解决以下文件,我已经能够手动完全删除该框:

media/zoo/applications/product/templates/default/frontpage.php,并注释掉第 84-92 行:

似乎应该在管理后端有一种更雄辩的方式来做到这一点,但我找不到。我错过了什么还是我的解决方案是最好的?

0 投票
3 回答
1689 浏览

joomla - VirtueMart Search Frustrations

I am trying to implement a simple "Virtuemart Only" search in one of the custom modules on a site. What I'd like is to be able to insert the search tags into an existing table in a mod_custom module. The problem is, I have no idea how to code an <INPUT> tag to work with VM.

Every Google search I've done returns solutions centered on either (1) installing the VM Advanced Search module, (2) using the basic VM Search module, or (3) using Modules Anywhere to load one of the previously mentioned modules into an existing space. Problem is, the site I'm working on doesn't need another module taking up space. It really just needs a simple <INPUT> field in a particular location that sends queries to VM.

Edit: To clarify my purpose, here is a partial of the source code I want to insert the search into:

So you can see, it's just a simple table with some icons, phone numbers, etc., with the search <input> (hopefully) inserted in the middle of it.

I'm guessing I just need to add some stupidly simple code like:

Of course, I just get an error trying to directly access that particular script, so I'm wondering: Any VM gurus know how to code this?

0 投票
2 回答
435 浏览

php - Joomla 组件的问题 - 从 index.php 上下文中访问 Joomla 框架

嗨,我有以下问题。组件上的标准操作在 Joomla 中被称为这样index.php?option=com_name&action=MYACTION。然后我可以在我的组件中使用 Joomla 框架,例如用于数据库访问。我正在为 3dsecure 网关开发组件。在付款的一个步骤中,我需要验证从银行发送的数据。所以我需要这样的东西index.php?option=com_name&action=validate。但是银行在这个 URL 之后添加了另一个?和更多的参数,所以我认为它不能工作..所以我想访问我的 Joomla 组件,例如从3dsecure.mysite.com/validate.php?这可能吗?

我只是想使用JFactory::getDB然后重定向到任何视图。我知道我可以使用 mysql_connect 并创建自己的数据库连接,但它非常难看:)

我可以以某种方式重定向我这边的请求(使用银行发送的参数创建有效的 url)吗?header(Location:)??

谢谢您的帮助

0 投票
1 回答
298 浏览

joomla - 如何在 joomla 中以编程方式检索文章和类别列表?

我需要创建一个组件(前端),它在被 ping 时提供安装它的 Joomla 站点中的文章和类别列表。调用 URL 类似于 ...../component/mycomponent?param=getArticleList 或 getCategoryList。

我需要在 Joomla 后端检索这些统计信息的列表。我可以通过 SQL 查询来做到这一点,但我想知道是否有更好的(使用 Joomla 类)方法来做到这一点。

0 投票
1 回答
159 浏览

plugins - Joomla:修改类别的插件

我正在尝试为 Joomla 制作一个插件,以模仿您对菜单项中的内容类别所做的所有更改。因此,在特定文章中添加、删除和编辑类别名称也会对菜单项进行相同的更改。

内容插件具有允许您处理该数据的onBeforeContentSave事件。onAfterDisplayContent我如何为类别做同样的事情?

0 投票
1 回答
282 浏览

joomla - Joomla 插件 {calls} - 如何使它们在新闻显示模块中不可见?

我正在为 Joomla 使用 sigplus 图片库扩展,有时我需要使用 {gallery /} 语句调用它的插件。它运作良好,在文章中不可见。但是,当我希望这篇文章在首页上可见并且为此目的使用 JED 中的任何模块(新闻滚动条/滑块)时,该声明是可见的。看例子

有没有办法让这个 {statement} 消失?还是有没有显示的滑块模块?

0 投票
2 回答
2555 浏览

module - 如何在 Joomla 中制作提交到同一页面的表单

我正在使用 Joomla 自定义 HTML 中的提交按钮制作表单,我想在单击提交按钮后留在同一页面上。

那可能吗?提前致谢。

0 投票
1 回答
274 浏览

joomla - 如何通过代码对齐joomla插件

我正在开发 joomla 1.5 和 1.6 插件。

我提供了两个输入参数:

  1. 对齐方式(左或右)
  2. 显示插件(文章后或文章前)

通过代码;有什么办法可以左右对齐插件,也可以在文章之前或之后显示插件。

请建议您对 joomla 1.5 和 joomla 1.6 版本的指点!

谢谢普拉文