Sorry to bother you with a supposedly trivial question about the uploads module (1.3.0-beta3)
The module looks like it has some potential. If only I could get it to work.
It fails to display anything on a page.
This is what I did so far:
Installed the module
set permissions
created category
uploaded file
inserted {cms_module module="Uploads" category="Scripts" mode="summary"} in a page.
The preview windows shows
string(140) "Smarty error: [in preview:cmspreview8p0C7u line 94]: syntax error: invalid attribute name: 'Uploads\' (Smarty_Compiler.class.php, line 1547)" string(140) "Smarty error: [in preview:cmspreview8p0C7u line 94]: syntax error: invalid attribute name: 'Scripts\' (Smarty_Compiler.class.php, line 1547)" string(140) "Smarty error: [in preview:cmspreview8p0C7u line 94]: syntax error: invalid attribute name: 'summary\' (Smarty_Compiler.class.php, line 1547)"
Server runs Apache/2.2.3 (Debian) PHP/5.2.0-8+etch7 mysql 5.0.32
Any ideas what I did wrong?
Thanks in advance.
[edit: fixed typo]
Uploads Module
Re: Uploads Module
Sometimes the wysiwyg editor makes trouble too - you write " and editor mask it to \". Check your page source.
Another way could be to try this
Another way could be to try this
Code: Select all
{cms_module module='Uploads' category='Scripts' mode='summary'}
Re: Uploads Module
Thanks. Tried that too, but all to no avail.
For now I will use the usual file manager that works fine together with my own templates until I find the time and motivation to look in that module.
For now I will use the usual file manager that works fine together with my own templates until I find the time and motivation to look in that module.
--
Re: Uploads Module
did you try {cms_module module='uploads' category='scripts' mode='summary'}
Re: Uploads Module
is this thread still active? i had a similar problem with another module. the solution:
when pasting cms code into the wysiwyg textarea, the editor puts tags around your code. that causes problems when parsing smarty template. so go into html mode of your editor and deleted the tags and it will work!
when pasting cms code into the wysiwyg textarea, the editor puts tags around your code. that causes problems when parsing smarty template. so go into html mode of your editor and deleted the tags and it will work!