3 Step Documentation
Mobile Mode | Return to Normal Mode
Skip to Navigation
Pages - Tips & Tricks
Make A Page From Other Pages.
In addition to simply linking to other pages in your site, you can also Insert other pages into the page you are working on. Literally! When your page is viewed in your site, the inserted pages will be included and displayed as one page.
Use this functionality to:
Easily update a single section of a page (your homepage?) without digging through the entire page in the editor. Enter the changing portion of the page as its' own page and then insert it into the parent page. Then, you can easily keep that section up to date.
Allow multiple authors to contribute to a page. Create a page for each persons section, and then combine them for display in your site.
Easily keep multiple pages up to date. If you have a statement or information that is repeated throughout your site, use insertion to allow you make your changes all at once.
Link related pages to each other. If you have several pages that are related to each other, create a page with links to each of the pages and use it as an interstitial menu (insert it into each page). Then, when you add pages to this group - you only need to add a link to the new page in one place (the inserted link/menu section), instead of having to add a link to the new page to each of the other pages in the group.
Add Javascript to your pages. Yes, you can do that. Just place your script in a page by itself. And then insert into pages you want to use it. This also affords you inherent reuseability of your code in your site and streamlined debugging.
Suppress Automatic Line Breaks.
Carriage returns are ignored by browsers when rendering a page. This means that normally formatted text appears all in one line except where line breaks are forced by line break (< br >) tags. To make pages on the web more closely resemble what you see in the editor window, 3ngine substitutes < br > tags for carriage returns when assembling a page for output. This is convenient, but can cause problems.
If you have a page or a page part that you are pasting in from an outside source, or if you wish for any reason to explicitly code < BR >'s, click the
button in the editor toolbar to insert an instruction into the page to suppress automatic line breaks.
Note - If you have Javascript code in your page, 3ngine will suppress Line Breaks automatically, because they would cause the Javascript code to not function. Therefore, when you use Javascript code, be sure to place it in its own [inserted] page part to preserve the formatting of your pages. (One without the other will not work - Javascript in a page without < BR > suppression will not function, but < br > suppression kills the carriage return formatting of your normal text).
Add Object Level CSS To Your Pages.
Your pages are HTML. You are free to add Style extensions or even tags not listed in the toolbar. The toolbar simply lists the most common tags (and to that end, if you think we ought to add a tag to the toolbar, please let us know).
Form Behavior Options.
Add the following variable callouts to your form to change its' behavior as follows:
Fancy submission replies:
To display a special page upon the form submission instead of a simple return message, add the redirectpage variable. Value can be either the Page ID or the Name of the page. Page ID and Page Name are displayed in the browser address when you view the page.
< INPUT TYPE="HIDDEN" NAME="redirectpage" VALUE="id/pagename" >
If your site is implemented in 3ngine Version 2.0 or higher, use the returnpage variable instead.
< INPUT TYPE="HIDDEN" NAME="returnpage" VALUE="id/pagename" >
Examples:
< INPUT TYPE="HIDDEN" NAME="directpage" VALUE="Contact George" > (3ngine 1.0)
< INPUT TYPE="HIDDEN" NAME="redirectpage" VALUE="2112" > (3ngine 1.0)
< INPUT TYPE="HIDDEN" NAME="returnpage" VALUE="Contact George" > (3ngine 2.0+)
< INPUT TYPE="HIDDEN" NAME="returnpage" VALUE="2112" > (3ngine 2.0+)
Send a copy of form email to submitter:
< INPUT TYPE="HIDDEN" NAME="copysender" VALUE="yes" >
Note - Your form must also include a text field named email for the visitor to enter their email address into...
Required Fields
To make one or more fields require input, add the requiredfields variable. Place your field name(s) in the VALUE parameter as a comma separated list.
< INPUT TYPE="HIDDEN" NAME="requiredfields" VALUE="one,two,three" >
Note - Remember to indicate in your form which fields are required so that you visitor knows what they need to do...
Store your form data in a file
< INPUT TYPE="HIDDEN" NAME="outputfields" VALUE="field1,field2,field3" >
< INPUT TYPE="HIDDEN" NAME="outputfields" VALUE="T|field1,N|field2,C|field3" >
To have your form create a data file that you can periodically downloaded, add the outputfields variable and list the form fields that you wish to save. In addition to your emailed output from form submissions, engine will create / update a .CSV data file (which can be opened as a spreadsheet or imported into a database)in your Uploads area.
You may simply list the field names as in the first example and they will all be treated as text fields (i.e., they will all be quote encapsulated).
If you need to specify your field types (i.e. numbers are not quoted in your file, and checkboxes are represented by a Yes or No), follow the second example, where T = Text, N = Numeric, C = Checkbox .
Note - If you change your form or outputfields selection, be sure to delete your existing output file as the fields and columns will no longer match the data file that has been started. You may also just change the formname variable to a new name and a new datafile will be created for your changed form.
Omit fields from email delivery
< INPUT TYPE="HIDDEN" NAME="omitfields" VALUE="field1,field2,field3" >
Use this function to suppress sensitive fields (Credit Card info, etc.) from the email notification and copy to submitter.
Combine with SSL Cert and set up the form to save data to file for secure retrieval.
3ngine Product Bulletins
||
SEO Enhancements - 06/09/2011
Site
Stats
||
Welcome Page
|
General Statistics
|
Keyword Analysis
Settings
||
General
|
Advanced
|
MetaTags
|
Users
|
Index Page
Menus
||
NavBar
|
NavMenu
Content
||
Pages
|
Page Editing - Tips and Tricks
|
Images
|
Videos
|
Files
|
Image Station
Extras
||
Galleries
|
Calendar
|
MailLists
|
Blog
|
Ads
Uploads
Store
||
Stats & Warnings
|
Inventory
|
Orders
|
New Item
|
Categories
|
Settings
|
Close
Help
||
Useful Links
|
Request Help
Store