Page 1 of 1
ctlmodulemaker: newby question
Posted: Fri Nov 06, 2009 3:27 pm
by LouiseW
In order to make a catalogue of items with text and a foto I installed ctlmodulemaker and started a catalog.
I kept it quite basic:
one group
group001 with the name
namegr01
in this group001 is one level
level01
Both have 4 fields, one of them with an image.
I made a content page with
{cms_module module="ctlmodule"}
However: nothing shows on
http://www.loes-online.nl/cmsms/index.php?page=ctl
Who can help me get started?
Re: ctlmodulemaker: newby question
Posted: Fri Nov 06, 2009 7:35 pm
by klenkes
Hi.
I suppose you mean group001=first level and level01=second level with your entries.
Is ctlmodule the name of your module?
If so, AND you created ONLY ONE entry you should call your module like: {cms_module module="ctlmodule" forcelist="1"}, or set it in the settings tab of the module admin. It's always best to create at least 2 final entries in order to evaluate the behaviour of a module.
If it still doesn't work, maybe you did something wrong in the template list_default, so that it doesn't list anything.
The module help(your module) is quite helpful and the FAQ(linked from the help) is pretty intensive.
Bernd
Re: ctlmodulemaker: newby question
Posted: Fri Nov 06, 2009 7:52 pm
by LouiseW
Hello Bernd
Thanx for your answer.
Your suggestion {cms_module module="ctlmodule" forcelist="1"} brought me a tiny step forward: I get a clickable link level01 under the page title. When I click it, an empty page appears. Just the page title remains.
The templates are all 'default'.
The helpfile states:
To call the module, simply use the following tag: {cms_module module="ctlmodule"}
So I just copied that.
There is a group namegr01. I entered that in the search field and it gave a hit: another clickable link ot an empty page.
The information is extensive indeed, so I got lost.
I'll give it another go soon and create one more level and group.
Re: ctlmodulemaker: newby question
Posted: Fri Nov 06, 2009 9:29 pm
by klenkes
LouiseW wrote:
There is a group namegr01. I entered that in the search field and it gave a hit: another clickable link ot an empty page.
mhh... I took a look at it, and what I could read out of the URL, there seems to be a final item called leve01l(alias=level01) but it contains no data?
Would be much easier if you could provide me a link to a DNA-file. This way I can see for myself what's wrong. You find the DNA-file in the CTLmodulemaker/autosaved directory.
Re: ctlmodulemaker: newby question
Posted: Sat Nov 07, 2009 9:09 am
by plger
(klenkes, I'll promote you to official leader of the CTLModuleMaker support team

- I appreciate the help you give!)
My two cents on this topic:
- Even though you say your templates are all default, you should copy the detail/final template here because those are generated on the fly for each module.
- You could also try turning debug mode on ( in config.php, change $config['debug']=false; to $config['debug']=true; ), after that if there is any php error it should be displayed on the website.
Plger
Re: ctlmodulemaker: newby question
Posted: Sat Nov 07, 2009 9:55 am
by klenkes
To Plger: Haha... thanks for the promotion.
I haven't been promoted to "anything" for 15 years! Of course I can promote me myself, but it won't be the same.
The least I can do to give something back to the community, is trying to help others. This is how a community works.
Bernd