Question

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?

Was it helpful?

OTHER TIPS

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.

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top