Uploads Module

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
dwave
Forum Members
Forum Members
Posts: 39
Joined: Mon Aug 13, 2007 11:15 am
Location: Israel

Uploads Module

Post by dwave »

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]
Last edited by dwave on Mon Aug 13, 2007 12:59 pm, edited 1 time in total.
--
cyberman

Re: Uploads Module

Post by cyberman »

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

Code: Select all

{cms_module module='Uploads' category='Scripts' mode='summary'}
dwave
Forum Members
Forum Members
Posts: 39
Joined: Mon Aug 13, 2007 11:15 am
Location: Israel

Re: Uploads Module

Post by dwave »

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.
--
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Uploads Module

Post by Dr.CSS »

did you try {cms_module module='uploads' category='scripts' mode='summary'}
dwave
Forum Members
Forum Members
Posts: 39
Joined: Mon Aug 13, 2007 11:15 am
Location: Israel

Re: Uploads Module

Post by dwave »

Of course. It didn't change the overall brokeness of this module.
--
nicmare
Power Poster
Power Poster
Posts: 1150
Joined: Sat Aug 25, 2007 9:55 am
Location: Berlin

Re: Uploads Module

Post by nicmare »

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!
cyberman

Re: Uploads Module

Post by cyberman »

@nicmare

Thanks for your suggestion :).
Post Reply

Return to “Modules/Add-Ons”