Go Back   WarriorForum - Internet Marketing Forums > The Warrior Forum > Main Internet Marketing Discussion Forum
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 07-18-2009, 11:14 AM   #1
HyperActive Warrior
War Room Member
 
Join Date: Aug 2007
Location: , , .
Posts: 122
Thanks: 9
Thanked 1 Time in 1 Post
Default Inserting sign up form?

Does the code for my sign up form have to be inserted on the page I want it displayed or can I do something with an external style sheet? Thank you.
iconoclast is online now   Reply With Quote
Old 07-18-2009, 01:17 PM   #2
HyperActive Warrior
War Room Member
 
Join Date: Jun 2007
Location: , , United Kingdom.
Posts: 167
Thanks: 9
Thanked 18 Times in 15 Posts
Default Re: Inserting sign up form?

Style sheets deal with colour, display attributes, layout etc - not with page code so the answer is no.

Did you mean an external file? This could be relevant if the sign up form is generated by Javascript or php etc

Anyway as the signup form code is a small number of lines it is often best to insert it into the page you want to display it on.
ppc4profit is offline   Reply With Quote
Old 07-18-2009, 01:59 PM   #3
Advanced Warrior
War Room Member
 
Barbara Eyre's Avatar
 
Join Date: Jan 2006
Location: North Carolina
Posts: 903
Thanks: 98
Thanked 31 Times in 25 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile 
Default Re: Inserting sign up form?

On the other hand, if this form will be on many pages of your site (and I'm going to assume a HTML website, as opposed to a WordPress type site) ... you could use a little php. I do this with headers, footers, navigation/menus - things that are on just about every page (if not all) of the site - so I have just one file to alter if need be, instead of doing the same change on every page.

You put, in your case, the code for the form in it's own file and call it something like: signup.html

Then, where you want the form to show, you do:
Code:
<?php include(signup.html)?>
You may need to add commands to your .htaccess file to allow php commands in your html sites.

but regardless of which way you ultimately do it, just do what works best for you in the long run.

Barbara Eyre is offline   Reply With Quote
Old 07-18-2009, 03:08 PM   #4
HyperActive Warrior
War Room Member
 
Join Date: Aug 2007
Location: , , .
Posts: 122
Thanks: 9
Thanked 1 Time in 1 Post
Default Re: Inserting sign up form?

I have inserted the following code, that I received from icontact, after the start of my sidebar div, but I am not seeing a form when I preview page in browser. I am using dreamweaver cs4. Can anyone tell me why? Thanks.

<style type="text/css">
#SignUp .signupframe {
border: 1px solid #060000;
background: #405152;
color: #ABECF5;
font-family: Arial, Helvetica, sans-serif;
}
</style>
<script type="text/javascript" src="http://app.icontact.com/icp/loadsignup.php/form.js?c=522222&l=27552&f=3590"></script>
<a href="http://www.icontact.com" style="font-family: Arial, Helvetica, sans-serif;"><font size="2">Email Marketing by iContact</font></a>
iconoclast is online now   Reply With Quote
Old 07-18-2009, 03:27 PM   #5
Viral IMer
 
Join Date: Jul 2009
Posts: 55
Thanks: 4
Thanked 4 Times in 2 Posts
Default Re: Inserting sign up form?

I tested your script by copying it into notepad, saving it as a html file, opened it in IE and it came up. It has a dark gray bg with light blue text and the words "email marketing by icontact" underneath the form box. Try creating a 1x1 table and put this in a table instead of the div. Hope this helps.
viralim is offline   Reply With Quote
Old 07-18-2009, 03:38 PM   #6
HyperActive Warrior
War Room Member
 
Join Date: Aug 2007
Location: , , .
Posts: 122
Thanks: 9
Thanked 1 Time in 1 Post
Default Re: Inserting sign up form?

Isn't that a css style? Don't I need to place the style in the head of the document for embedded or in an external style sheet, not in a table or div? Which portion actually goes where I want it to show in the body?
iconoclast is online now   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > The Warrior Forum > Main Internet Marketing Discussion Forum

Tags
form, inserting, sign

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 08:17 AM.