CTL Module Maker creates blank modules?
CTL Module Maker creates blank modules?
I'm running CTLModuleMaker 1.8.9 on CMS Made Simple 1.6.4 "Moindou." When I use CTL Module Maker to create a new Module, everything seems to work and it successfully creates all the files and installs the new module. However when I go to content -> the module I just made, the page shows up blank. The CMS header is there, and the name of the module, but nothing else (no CMS footer either). I checked my admin permissions and I have all the permissions to edit. I also made sure all the image/file directories needed by this module exist. What else could it be? Has this happened to anyone else before?
Thanks!
Thanks!
Re: CTL Module Maker creates blank modules?
Just checked the server logs too. Nothing fishy reported. No Javascript errors either. Verrry strange.
- Attachments
-
[The extension txt has been deactivated and can no longer be displayed.]
[SOLVED] Re: CTL Module Maker creates blank modules?
I have exactly the same probloem (CTLModuleMaker 1.8.9.3, CMSMS MLE 1.6.6)
Last edited by patak on Sat Mar 06, 2010 2:20 pm, edited 1 time in total.
Re: CTL Module Maker creates blank modules?
Hi.
Most of the time this comes from a value you added to show in the the adminpart, like images or links which contain HTML tags and stuff like that. It crashes the display of the tabs and nothing is displayed.
What did you specify beside alias,name,active... and so on?
Bernd
Most of the time this comes from a value you added to show in the the adminpart, like images or links which contain HTML tags and stuff like that. It crashes the display of the tabs and nothing is displayed.
What did you specify beside alias,name,active... and so on?
Bernd
Re: CTL Module Maker creates blank modules?
Hi, thanks for replay!
In my case I have postdate (date format) url (long text) and file (other file). Everything is OK if file is not specified. File specifying leads to mentioned bug.
In my case I have postdate (date format) url (long text) and file (other file). Everything is OK if file is not specified. File specifying leads to mentioned bug.
Re: CTL Module Maker creates blank modules?
I just took a look into the CTLModulemaker FAQ and this case is mentioned there.
Under: How are the defaultadmin panels generated?
There you can see how to change the behaviour of the adminpanel. At first it looks pretty complex but after a bit of reading it sounds not so difficult eanymore
Under: How are the defaultadmin panels generated?
There you can see how to change the behaviour of the adminpanel. At first it looks pretty complex but after a bit of reading it sounds not so difficult eanymore
Re: CTL Module Maker creates blank modules?
I am surlly such a fool, but I could not figure out what might be wrong. Could you please help?
Re: CTL Module Maker creates blank modules?
Couldn't hurt if I take a look at it, but in order to do so I would need DNA file of your module.patak wrote: I am surlly such a fool, but I could not figure out what might be wrong. Could you please help?
But I assume it is in czech language... this would be a problem
Did you try to get rid of fields that could cause problems in the display?
Re: CTL Module Maker creates blank modules?
Hi klenkes,
thank you very much for replay. Here is auto exported dna file - (in English ).
It works perfect to the time when I try to upload a pdf file. After that I can see only what is on attached screen.
thank you very much for replay. Here is auto exported dna file - (in English ).
It works perfect to the time when I try to upload a pdf file. After that I can see only what is on attached screen.
Re: CTL Module Maker creates blank modules?
Hey great!
I think I will take a look at it tomorrow.
Snow and rain, so no need to leave the house
I think I will take a look at it tomorrow.
Snow and rain, so no need to leave the house
Re: CTL Module Maker creates blank modules?
Hi patak.
Today's your lucky day! I attached the adminpanel file.
In your directory /press/templates/ rename the file adminpanel.tpl to adminpanel-ORG.tpl.
Then copy the attached file into the directory and remove the .txt extension.
I commented my changes in the file so that your can choose what to display in the admin panel.
For now it is the filename and filesize.
Hope it works for you!
Today's your lucky day! I attached the adminpanel file.
In your directory /press/templates/ rename the file adminpanel.tpl to adminpanel-ORG.tpl.
Then copy the attached file into the directory and remove the .txt extension.
I commented my changes in the file so that your can choose what to display in the admin panel.
For now it is the filename and filesize.
Hope it works for you!
- Attachments
-
[The extension txt has been deactivated and can no longer be displayed.]
SOLVED Re: CTL Module Maker creates blank modules?
Wow, it works. Thank you VERY much!
Re: CTL Module Maker creates blank modules?
Hey great!
Please add [SOLVED] to your first post.
Have a nice day!
Bernd
Please add [SOLVED] to your first post.
Have a nice day!
Bernd
Re: CTL Module Maker creates blank modules?
I've got the same problem after I attach images. My admin page looks the same as the one above.
I tried through understand the FAQ page, but without succes.
I have made three levels
Category, Subcategory, Products
In each of these levels I put an input called 'foto' (photo) where you can upload a photo. After saving it, it leaves me with an empty admin page, like the one shown above on this forum.
Can anybody tell me what it is I have to change?
I changed this line:
{$oneitem->$oneval}
into these lines:
{if $oneval == 'foto_input'}
{if $oneitem->$oneval != ""}{$oneitem->$oneval->filename}{/if}
{else}
{$oneitem->$oneval}
{/if}
Thanks in advance!
Brandt
I tried through understand the FAQ page, but without succes.
I have made three levels
Category, Subcategory, Products
In each of these levels I put an input called 'foto' (photo) where you can upload a photo. After saving it, it leaves me with an empty admin page, like the one shown above on this forum.
Can anybody tell me what it is I have to change?
I changed this line:
{$oneitem->$oneval}
into these lines:
{if $oneval == 'foto_input'}
{if $oneitem->$oneval != ""}{$oneitem->$oneval->filename}{/if}
{else}
{$oneitem->$oneval}
{/if}
Thanks in advance!
Brandt
Last edited by Brandt on Mon Mar 08, 2010 2:13 pm, edited 1 time in total.
Re: CTL Module Maker creates blank modules?
Hi Brandt.
You didn't write if it works like you want it to?
If you want to display the image you should use something like this:
{if $oneval == 'foto_input'}
{if $oneitem->$oneval != ""}$oneval->filepath}" />{/if}
{else}
{$oneitem->$oneval}
{/if}
otherwise you would only have the filename displayed and not the image.
If the images are large I suggest to use
{$oneitem->$oneval->thumbnail} instead of {$oneitem->$oneval->filepath}
You didn't write if it works like you want it to?
If you want to display the image you should use something like this:
{if $oneval == 'foto_input'}
{if $oneitem->$oneval != ""}$oneval->filepath}" />{/if}
{else}
{$oneitem->$oneval}
{/if}
otherwise you would only have the filename displayed and not the image.
If the images are large I suggest to use
{$oneitem->$oneval->thumbnail} instead of {$oneitem->$oneval->filepath}