, Guest!
Already a Member? Login or Register.





Menu



Clients



Showcase



Rate FlexCMS

ScriptSearch.com Rating:

Hotscripts Rating
Excellent!
Very Good
Good
Fair
Poor



FlexCMS eNews

To subscribe to our enewsletter, please enter your email address in the box below and click the "Subscribe" button.


Note:  You may easily remove yourself from the newsletter list at any time by following the instructions included with every mailing.

LATEST DEVELOPMENT NEWS:  FlexCMS 2.5 has been released!!! Click here to read the official announcement!

Home > FlexCMS Support Forum > User Help > Code Snippets > Newsletter Block

FlexCMS Support Forum


Newsletter Block
Started May 26, 2005 @ 2:31pm by otter
Post Message 
otter
Administrator

Posts: 157
 
Newsletter BlockMay 26, 2005 @ 2:31pm
If you'd like to offer your newsletter subscription in a block, follow these instructions:

1) Create a new block

2) Block Title: Newsletter

3) Cut and paste the following code into the Custom Block Contents area:


Code

print 'To subscribe to our newsletter, please enter your email address in the box below and click the "Subscribe" button.<br><br><form action="'.$MainURL.'/newsletter/subscribe_submit" method="post"><input type="text" name="Email" size="20" maxlength="50" style="'.$FormStyle.'"><br><input type="submit" value="Subscribe" style="'.$FormStyle.'">
</form><font size="1"><b>Note:</b>? You may easily remove yourself from the newsletter list at any time by following the instructions included with every mailing.</font>';


4) Check the box next to Process PHP Code?

5) Save your block.

And that's it! Your block should look something similiar to this:



NOTE: Feel free to remove or modify the text located within the Print statement of the code.
 

Post Message 







All Contents, Code, Scripts and Technologies Copyright 2003-2007 FlexCMS.
All Rights Reserved. Software License Agreement

Processing Time: 0.16448 seconds.
 

Powered By FlexCMS
Powered By FlexCMS


Valid CSS!