Joomla 2.5 module with editable title and content - joomla

Hi guys!
I need to make a new module with editable (from control panel) 1. Title; 2. Content.
Should I make a "Custom HTML" module or this is a wrong way?
I guess, I need some extension.
Thanks in advance

if your content doesn't have iframe, embed etc. no need to go for a extension or your own module.
if you are going to use iframe and embed tags, you can't use default "Custom HTML" module. because "Custom HTML" module is filtering embed,iframe etc. in that case you can use something like this
Custom HTML Advanced : http://extensions.joomla.org/extensions/core-enhancements/coding-a-scripts-integration/custom-code-in-modules/16359
or you can create simple module with two field

Related

How to view form data in content in joomla?

I want to display data from a form as a table in content in one menu.
I want users to be able to view the collected data.
What is the best way to accomplish this?
I searched and found modules. I have used ArtForms module.
Users are able to fill form in one menu, but are not able to view it in other menu.
Any ideas?
Thanks in advance!
Try this ,
Create a module that have your forms. For module development tutorial
And create an article and set the module inside that like.
{loadposition contact_form_pos}
Inside your article just mention the module position like above for more

How we create custom sigup page in phpfox?

PHPfox providing the feature to create custom page from back-end but How can I call register form to custom page? Please provide suggestion.
Thanks in advance.
You can call template files within your own pages. I wrote a demo module that illustrates this, using this you can include the templates that display the form to sign up.
But is there any reason why you wouldn't want to use a custom template (instead of the default one) or CSS for the changes you need?

Joomla module or component to be render on a blank page

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 having JavaScript available.
Is there any way that I can tell Joomla to not render the template along with my module? I was thinking that creating a component fixes that issue, but had to find that components are rendered into the template, too...
BTW: I have Joomla 1.5.22
To achieve what you want you have to add additional tmpl=component query string parameter to the request URL. This will disable template and module rendering.
Your URL will look something like this: index.php?option=com_xxx&view=xxx&tmpl=component
Since you are using Joomla 1.5 you can request index2.php?option=com_xxx&view=xxx and it will only render the component. Joomla 2.5 does not have index2.php so if you plan to migrate in future, don't use this option.
If you are using SEF then adding ?tmpl=component at the end on URL does the trick.
To go a step deeper... in your template directory you have component.php file, that is the file that's being loaded by tmpl param. You can copy component.php to my_component.php, do necessary changes and load your custom component template with index.php?option=com_xxx&view=xxx&tmpl=my_component
The joomla way of doing it would be to set your output to "raw", see this tut:
http://www.katcode.com/displaying-raw-output-in-joomla-by-setting-format-in-the-component/

Run code when new page is created in MediaWiki

I want every page on my wiki to end with a <comments /> tag. How do I automatically add this tag to the end of every page?
NOTE: comments tag comes from ArticleComments extension.
Do I have to write my own extension? How do I go about this?
You could take a look at something like the Preloader extension or the MultiBoilerplate extension at the mediawiki home page see if it matches what you need

How do I make a component in Joomla display as an article?

More specifically I am trying to make the mailto component show within my template; the same way as an article does.
By default the mailto component opens in a new window. So far I changed the code so it opens on the same window, but that way the whole template is gone.
Any suggestions?
In the template there is a tag which takes the contents of a component. An article is a com_content component. you are trying to put in a caom_mail_to component? The beauty is that they both plug into the same slot.
Now you can only ever have one component on a page. you can have lots of modules, but only one component.
you set which component is on a page by choosing it from the menu comands. (each menu item refers to a component.) generaly the componetsn are of the com_content type, and are articles, but in your case you are wanting to add a component called com_mailto? Asuming the component is installed, all you have to do is select the new butto0n when in menu item manager, and then select the mailto component type.
the tag that is being used in a joomla 1.5 template is:
<jdoc:include type="component" />
If on the other hand you are trying to add a module to the template, that is a different kettle of fish. Youy need to create an instance of teh module, assign it to a tag (which exiusts in teh template) then select which menu items the module will be published on. The tag in a template for a module is like:
<jdoc:include type="modules" name="module_name_place_holder" />
you can put more than one module into a single place holder.
If you already have this basic knowlge, pass on the details of this component, and we will see if we cant find you a better solution.
use "component as content" plugin
http://extensions.joomla.org/extensions/core-enhancements/embed-&-include/5947/details
I'm afraid I can't entirely follow your question - do you want to have a sign up form for membership or email notifications shown as an article? If so, then the easiest way is to install 'm2c' - the 'module to component' component. Then you can put any module (ie the sign up box) in the centre content area.
The m2c component can be found here: http://joomla.focalizaisso.com.br/en/componentes/index.php

Resources