Hi,
I am a new for this cms.
Now i am working on this cms base website for http://ekem.org.gr/
when i click on the publocation menu then a page open. On this page there is a section of ebook .
In ebook section, there is a link of "Free Download", below every every ebook image .
My problem is here :-
when any one click on this link then a window open and user input their email and that email save in database then that ebook(in pdf format) open.
Plz help me to slove this problem.............................
Thanks and regards,
YOGESH Kumar Kashyap
add new feture
Re: add new feture
create UDT lets say "test" with content
return $_GET['file_path'];
create new inline form
with
fields
required field e-mail(enable e-mail validitatio ),
hidden field "file_path" with smarty tag "{test}" and
"store relults in DB"
submition template {*i assume file "http://www.ekem.org.gr/uploads/news/id6 ... MA1009.pdf" exists*}
{capture assign='path'}{root_url}/uploads/news/{$test}{/capture}
create new page "new_page" (not cachable) it sould contain new form.
In http://www.ekem.org.gr/index.php?page=p ... s&hl=en_US create links like this
Free Download
edit This topic should be moved some where else.
return $_GET['file_path'];
create new inline form
with
fields
required field e-mail(enable e-mail validitatio ),
hidden field "file_path" with smarty tag "{test}" and
"store relults in DB"
submition template {*i assume file "http://www.ekem.org.gr/uploads/news/id6 ... MA1009.pdf" exists*}
{capture assign='path'}{root_url}/uploads/news/{$test}{/capture}
create new page "new_page" (not cachable) it sould contain new form.
In http://www.ekem.org.gr/index.php?page=p ... s&hl=en_US create links like this
Free Download
edit This topic should be moved some where else.
Last edited by Peciura on Sun Oct 11, 2009 1:54 pm, edited 1 time in total.
Re: add new feture
Hi Peciura.
I'm also trying to do something like this, but I don't understand what you mean by "create new inline form" can you give me a hint?
thanks
spngg
I'm also trying to do something like this, but I don't understand what you mean by "create new inline form" can you give me a hint?
thanks
spngg
Re: add new feture
Nothing special, just tick "Display form inline?: Inline means any form followup replaces the {cms_module} tag, non-inline replaces the {content} tag." in the "Main" tab of your form.what you mean by "create new inline form" can you give me a hint?
Re: add new feture
thanks pecuria, but when i create a new content page i cannot see this tag. i've also searched these forums and the api and cannot find anything for "Display form inline" 
How do I create a form ?
Thanks

How do I create a form ?
Thanks
Re: add new feture
1. Download and install module FormBuilder-0.5.12 (all newer versions are still in Beta stage). dev.cmsmadesimple.org/project/files/69#package-77How do I create a form ?
2. Create form (Extensions » Form Builder » Add New Form); at this step you will find all form options.
3. Call it in content page like
Code: Select all
{cms_module module='FormBuilder' form='contact'}