joomla-module

Make read more link open on separate page in joomla

不问归期 提交于 2020-01-05 07:06:15
问题 I am using joomla 2.5. When creating an article I add read more links to it. The issue I am having is, when a page has a single article then the read more link overwrites that content with the new article. I want the read more link to open as a separate page. I want it to be dynamic and not manually change. Any thing I am missing ? Any help is appreciated. Thanks 回答1: I am not sure if you sorted it out but I think I know what you mean. You may need to create a new Menu and use it as a hidden

Joomla module or component to be render on a blank page

孤人 提交于 2019-12-24 04:29:22
问题 I have developed a Joomla module that does provides a form, processes its post data, does some calculations and displays the results. The module includes a button to print the results. I'm currently using JavaScript to open a new window, paste the relevant HTML and open the print dialog. Instead of JavaScript I would prefer to provide a separate URL for the print view and simply open that in a _blank target. This would make the application work better for people using screen readers or not

Putting AJAX in a Joomla Module

二次信任 提交于 2019-12-22 06:52:58
问题 I've made a basic Joomla module for my site as a shoutbox. But I'd like to put AJAX in it (I know a similar module with AJAX already exists on JED but this more a project for me to learn how AJAX works in a Joomla module). The usual AJAX stuff where you redirect to a new php file obviously doesn't work as the file will not be defined as defined('_JEXEC') or die('Restricted access'); will fail in a new page. And defining _JEXEC to be equal to one (as I've read in several posts on SO) as far as

Joomla 1.7 popup extension to load module inside

旧城冷巷雨未停 提交于 2019-12-11 05:14:10
问题 Please let me know, if there any extensions available to display module inside the popup, and popup should load after user login. Scernario : I have opinion poll module, which should popup once after user login into the website. I need to specify the module from the backend, either by id or module position. The user will vote for the poll after login into the website and close the popup after voting. It will be great if it is Non-commercial extensions. Please suggest me on this. 回答1: Try this

How to create a custom form field type in a module?

∥☆過路亽.° 提交于 2019-12-10 12:50:19
问题 Im useing joomla 2.5, and I want to create a custom form field type that stored in the same module. In the XML: <fieldset name="basic" addfieldpath="/modules/mod_royalslider/fields"></fields> <fieldset name="basic"> <field name="title" type="City" label="anythging" description="" /> </fieldset> </fields> In the file /modules/mod_royalslider/fields/city.php <?php // Check to ensure this file is included in Joomla! defined('_JEXEC') or die('Restricted access'); jimport('joomla.form.formfield');

Putting AJAX in a Joomla Module

久未见 提交于 2019-12-05 13:16:34
I've made a basic Joomla module for my site as a shoutbox. But I'd like to put AJAX in it (I know a similar module with AJAX already exists on JED but this more a project for me to learn how AJAX works in a Joomla module). The usual AJAX stuff where you redirect to a new php file obviously doesn't work as the file will not be defined as defined('_JEXEC') or die('Restricted access'); will fail in a new page. And defining _JEXEC to be equal to one (as I've read in several posts on SO) as far as I've read on Joomla Docs is a security risk as it provides an entry point onto the site. The way the