I am very sorry if this seams simple to you tech people but I can't understand how to attach modules to pages. I have a template and it gets the information from the "content" box within the page (please see what I mean .. http://develop.ibainternet.com). However I would like to use the forum module for the forum page and the CMSmailer for the contact us page, but I can't understand how do you get each page to use the right module without overwriting the template.
Can someone please try to explain to me how do you intergrate the modules into a page as I am very old school in HTML programming. I do understand CSS and the template was written mostly in CSS.
I would like to thank yo for any feed back you can provide.
Sherman
A newbie question - How do you "attach" new pages with modules to a template?
Re: A newbie question - How do you "attach" new pages with modules to a template?
Sherman,
if you've installed modules, you can check the help of the modules on how they can be called. If you've installed Album f.e. and go to "Content -> Photo Album -> Help" you'll see the following text in the help:
By the way, the template holds the structure of the page, and has different CSS-es attached to it, the ones attached are visible/changeable trough the CSS-button on the template you work on. Every content-page is linked to a template, so not necessery all pages to the same template. So if you put a module on a content-page and link that page to the template, you don't do anything to the template, you only added content. As the content-page is linked to a template, it's also linked to the CSS-es of that template.
Ronny
if you've installed modules, you can check the help of the modules on how they can be called. If you've installed Album f.e. and go to "Content -> Photo Album -> Help" you'll see the following text in the help:
With every tag, module etc.. is shown in the help how it can be called including the parameters that can be given. Some modules even make it possible to be choosen in the content-type wile adding a content-page.How Do I Use It
First go to Content -> Photo Albums and create Albums and add pictures to them.
To show all albums on a page, just put this code in your page content:
{cms_module module='album'}
If you only want certain albums shown then use use code like this:
{cms_module module='album' albums='1,3'}
The code above allows you to show in a page albums whose IDs are 1 and 3 for example. If you do not provide paramater "albums", it will show all the albums.
By the way, the template holds the structure of the page, and has different CSS-es attached to it, the ones attached are visible/changeable trough the CSS-button on the template you work on. Every content-page is linked to a template, so not necessery all pages to the same template. So if you put a module on a content-page and link that page to the template, you don't do anything to the template, you only added content. As the content-page is linked to a template, it's also linked to the CSS-es of that template.
Ronny
Last edited by RonnyK on Fri Mar 16, 2007 5:19 pm, edited 1 time in total.
Re: A newbie question - How do you "attach" new pages with modules to a template?
By the way, I'm calling "formbuilder" as a contactform with the following , but you can also use Feedbackform, which comes with the installation. I'm using formbuilder as that makes it possible to sent mails to different persons depending on the subject choosen:
Code: Select all
{cms_module module='FormBuilder' form='rk-mailform' lang="nl_NL"}
Re: A newbie question - How do you "attach" new pages with modules to a template?
Excellent thanks for that I have know added a photo album. You explained it very nicely ... thanks. 

[Solved] newbie question-How do you"attach"new pages with modules to a template?
This topic has been solved thanks to RonnyK
Re: A newbie question - How do you "attach" new pages with modules to a template?
Sherman,
if you use greybox or lightbox as your template, you should give full rights to the folders under your "Album" folder.
modules/Album/templates/db. In there "greybox" and "lightbox" should get "777" as that makes them open the images on top of your site in a transparant layer, instead of just opening them on a page.
Ronny
if you use greybox or lightbox as your template, you should give full rights to the folders under your "Album" folder.
modules/Album/templates/db. In there "greybox" and "lightbox" should get "777" as that makes them open the images on top of your site in a transparant layer, instead of just opening them on a page.
Ronny