Page 1 of 1

News (Module) Question, Please Help me!!!

Posted: Fri Apr 11, 2008 7:47 am
by jp.lagos
Dear Friends,

(Sorry my bad english). I'm new on CMSMS and i have some questions, i hope that you can help me! =)

1- I've been defined a custom field under News Module, called "picture", it has "file" type. When i add a news i attach a picture, then this picture is allocated in uploads/news/(id of news/picture.jpg. There'are a way to make that News Module uploads the files only to uploads/news/file.jpg and not uploads/news/newsid/file.jpf. I don't want to create a folder for each news to host a file....

2- Creating a new Summary Template I want to show the file uploaded, in this case, a picture.... then in my summary template i wrote:

picture}" /> 

but, what is the correct (php or smarty) variable to show the path of the file uploaded?...

I hope that you can help me guys.... i'll be thankful of you!

Thx u so much!

Best Regards,

Juan Pablo Barrientos L.

Re: News Module Issue

Posted: Mon Apr 14, 2008 11:21 pm
by jp.lagos
Someone can help me, please?
I need it, please....

:-\

Regards!!

Re: News (Module) Question, Please Help me!!!

Posted: Mon Jun 23, 2008 12:47 pm
by mager
id}/{$entry->picture}" />

(did not try it though), Martin