Web Marketing Tool
Reseller
WMT .
Question
Referred By: Web Marketing Tool
Login


How can I specify a default content group and p...

Added: 05/23/2016   |   Updated: 8 Years Ago

Question   How can I specify a default content group and primary page to the join page using html code?



Answer   

Default Primary Page

To specify the default primary page add a hidden input with the name of capturepage.  For example:
<input type="hidden" name="capturepage" value="FILENAME.php">

Default Content Group

There is no way to do this through html.  However, you can control what the default content group is when editing membership from /admin/memberships

Alternative: Use PHP

If this does not work for what you are trying to do (exa: You need it specific for a promotion, not a membership), the other way to do it would be to use php code and putting a hook for do-join.php page.

The best hook to use is a special one in the middle of the file.

To do it create a file called do-join-midhook.php and put the php code for editing the default content group in that file.  There is an object for the member called $member that can be used with the method setPrimaryCGroup(#) for the primary content group.




Related Documents

Order/Signup Overview


Still Don't Understand?

Fill out the form below to ask for further clarification about this question:




RELATED QUESTIONS


Q. Are the sign up page and welcome page subject to the usual HTML editing?

A. Yes.

Ask For Clarification

Q. How do I insert php or html code into the head of all the pages?

A. Yes, you can edit 1 file and have it insert the code into the header () of all of the web pages, or another file for all of the members area pages.

For Web Pages (capture pages, landing pages, etc)

HTML or PHP Code:
Make a file call it:
pagehead-all.php
and put the code you want to inserted into it and upload it to the main folder.

For Members Area Pages

HTML:
Edit the existing file /adminpages/misc/head.html
PHP:
If you need php logic used for the code added to thethen you will need to create a custom ~~ code for it (exa: ~headercustom~) and then to add it to the head.html file mentioned above.  Then create a file called allpagescustom-hook.php and upload it into the admin folder.  In that file you will use the following code to add the results from php to the html file: $pContent = str_replace("~headercustom", $YOUR-CONTENT-FROM-PHP, $pContent);


Ask For Clarification

Q. What are the tilde codes available for the "New Member Notification To Admin Email"?

A. ~membership~ = Title of the Member's Membership
~password~ = Member's Password
~username~ = Member's Username
~fname~ = Member's First Name
~lname~ = Member's Last Name
~email~ = Member's Email
~phone~ = Member's Phone
~siteurl~ = The domain name of the site
~burl~ = The domain name of the site with /admin added to it (DEPRECATED)
~address~ = Member's Address
~city~ = Member's City
~state~ = Member's State
~zipcode~ = Member's Zipcode
~ip~ = Member's IP

Ask For Clarification

Q. What's tilde code for signed up member's last name / email and phone in New Member Notification To Parent Email?

A. ~membership~ = Title of the Member's Membership
~siteurl~ = The domain name of the site
~fname~ = Member's First Name
~lname~ = Member's Last Name
~email~ = Member's Email
~phone~ = Member's Phone
~username~ = Member's Username
~parentfirstname~ = Parent's First Name (5.0+)
~parentlastname~ = Parent's Last Name (5.0+)
~afname~ = Parent's First Name (DEPRECATED)
~alname~ = Parent's Last Name (DEPRECATED)
~sitetitle~ = The title of the site (system)

Ask For Clarification

Q. If a person wants to add their opt-in form to a 3rd party website where do they get the HTML form code.

A. You can create optin forms using HTML form creator.
You can add custom fields and copy/paste the code to your 3rd party website.



Ask For Clarification

Q. Which of the following attributes of the tag displays alternate text for the image?
Q. How do I set a banner to a specific content group (Exa: MBA Invite)? Where do I go to see the banner inside the content group once it has been added?
Q. What's the URL for memebers to join my website?
Q. How do I assign a page to a content group?
Q. What does group content mean?
Q. Can it be setup so that a youtube video link can be pasted in the HTML on the about me page?
Q. When using direct payment option how can a person upgrade and have more then 1 membership?
Q. How do I control what capture pages, banners, and autoresponders that a membership has access to?
Q. How do I assign a banner to a membership?
Q. After installing a page, how do we make it visible to the members?
Q. Is there a practical way using your software to have multiple funnel systems under one umbrella?



Question Keywords: content group, sign up, html code



DMCA.com Protection Status Authorize.net
Valid HTML! Valid CSS!


Reseller: WMT
|
Login
(502) 225-3237