问题标签 [joomla2.5]
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.
joomla - 删除 Joomla 2.5 博客中的 Readmore 功能
我有一个包含几篇文章的类别。我已经设置了菜单以将该类别显示为博客布局,并在此处关闭了 show readmore。
我还在每篇文章的最后添加了“readmore”div,以防止文章被缩短。
当显示类别页面时,两篇文章现在已完整显示,但我想在最后删除那个该死的“阅读更多”。感觉就像是在末尾添加了 readmore 的 hack。
joomla2.5 - Joomla 2.5 内容插件
我正在尝试将一个简单的插件部署到 Joomla 2.5 安装中。类声明之外的插件中的代码运行并将两个脚本标签添加到头部。但是,其中的代码什么也不做。我无法更改 $article->title 或 $article->text。我从不同的文章中逐字复制和粘贴,但似乎一切都只谈论 1.5。我发现的 1.7 内容只提到将 onPrepareContent 更改为 onContentPrepare。两者似乎都没有做任何事情。我将不胜感激任何帮助!
text-editor - 如何在 joomla 2.5 的自定义组件中将编辑器添加到文本区域?
我在 joomla 2.5 中创建了一个自定义组件,其中字段在 xml 文件中创建。这是代码。
我希望描述文本区域像在新文章表单中一样成为编辑器。我将如何做到这一点?
joomla - 关于产品规格的 joomla 扩展
有谁知道我可以使用哪些joomla组件/模块/插件来将我的产品规范标准定义为我的内容。
例如,如果我想在笔记本电脑上讨论一个网站。对于笔记本电脑规格,
我想定义:
about: -description 需要富文本
技术规格:描述需要富文本
处理器:描述需要富文本
有人知道我该怎么做吗?
感谢你的帮助。
谢谢。
php - Joomla注册表的服务器端验证?
我需要对标准注册表单(Joomla 2.5)上的用户名字段进行 php 服务器端验证。请问这是如何实现的,我应该将它添加到哪个文件中?谢谢。
php - jreviews 页面中的 SQL 查询,joomla 2.5
如何在 Jreviews 页面中“回显”基本 SQL 查询?我正在使用 Joomla 2.5。
查询:
Jreviews 基于 PHP(如 Joomla)。
预期结果,例如:
joomla - 模板参数菜单 Joomla 2.5
我尝试在后端制作一个带有可用选项的模板,我拿了关于选项的文档,我可以看到有一个设置列出了可用菜单并选择您希望出现在特定位置的菜单(关闭位置声明通过模块)。
templateDetails.xml 中的参数(来自文档> http://docs.joomla.org/Menu_form_field_type):
模板详细信息.xml
索引.php
所以我虽然录制的菜单列表,选择和保存是可能的,那方面不用担心。我的问题是我不明白如何在我的模板的 index.php 中显示选定的菜单。我可以检索此菜单的名称,但如何显示它?
谢谢
pagination - 如何对我从数据库中获取的数据应用分页?
我使用 MVC 创建了一个模块,用于在页面上显示数据库中的一些记录。
现在我想对记录应用分页,以便一个页面上只显示 5 条记录。所以我需要关于分页的帮助。
我想应用 1、2、3、4 的分页,而不是下一个和上一个链接。
那么是否有任何模块。
有谁能帮助我吗?我正在使用 joomla 2.5。
required - How to set a field required in joomla 2.5?
I have created a component. In this component I have created the form fields using xml file.
In xml file I set the attribute required='required'
of a text field and that field become a required field automatically.
But Now I have a component which has created the form in a php file using html input tags. And now I want to make a textfield required in that form so how will I do this? As in the input tag I can't enter the required='required'
attribute.
So what should I do with this so that the textbox becomes a required field and without entering some text in that field it should not be submitted.