This series of lessons offers several helpful references for advanced CMS management.
Each LVSYS site comes with several pregenerated notification rules that you're able to activate to notify ...
Use the Quotes module to easily display quotes of the day or testimonials on your website.
Reference and examples for using html and javascript scripts in the LVSYS CMS.
The complete reference to all the LVSYS short codes notations using parentheses ( and ).
Web Page Parameters direct your pages to dynamically display items you want visitors to see. Use parameters to show products in a category, combine forms and articles, or allow visitors to search hotels in your business directory, for example.
RSS feeds are structured streams of data designed to expose website content to the world, in a format that other websites and programs can easily consume. The LVSYS platform offers built-in RSS feeds for articles, events and products.
To build a feed of all your recent articles, use the structure of the following url with this change:
http://sample.com/?rss=Article
To build a feed of all a specific category of articles, use the structure of the following url, with these changes:
http://sample.com/?rss=Article,category-name
To build a feed of all your upcoming events, use the structure of the following url, with this change:
http://sample.com/?rss=Event
To build a feed of all a specific category of upcoming events, use the structure of the following url, with these changes:
http://sample.com/?rss=Event,category-name
To build a feed of all your products, use the structure of the following url, with this change:
http://sample.com/?rss=Product
To build a feed of all a specific category of products, use the structure of the following url, with this change:
http://sample.com/?rss=Product,category-name
Each LVSYS site comes with several pregenerated notification rules that you're able to activate to notify you about activity on your site. Similar to the email notifications from a form submission, the notification rules will send you an alert based on different triggers to your email or cell phone.
To add a new notification rule, click on Add New Notification Rule and complete the fields as follows:
To modify an existing Notification Rules, click the desired notification rule's link in the list and modify the fields.
All Tasks > Misc > Quotes
Click Add New Quote and complete the fields as follows:
Quotes display automatically, as scheduled.
To modify quotes, click on the desired quote's link in the list screen and modify the fields.
Quotes display for a specific day of a specific month. To create multiple day quotes:
Please find below all the country codes you can use on the CMS, in configuration settings and in accepted fields:
Country Code | Country Name |
---|---|
AF | Afghanistan |
AX | Aland Islands |
AL | Albania |
DZ | Algeria |
AS | American Samoa |
AD | Andorra |
AO | Angola |
AI | Anguilla |
AQ | Antarctica |
AG | Antigua And Barbuda |
AR | Argentina |
AM | Armenia |
AW | Aruba |
AU | Australia |
AT | Austria |
AZ | Azerbaijan |
BS | Bahamas |
BH | Bahrain |
BD | Bangladesh |
BB | Barbados |
BY | Belarus |
BE | Belgium |
BZ | Belize |
BJ | Benin |
BM | Bermuda |
BT | Bhutan |
BO | Bolivia |
BA | Bosnia And Herzegovina |
BW | Botswana |
BV | Bouvet Island |
BR | Brazil |
IO | British Indian Ocean Territory |
BN | Brunei Darussalam |
BG | Bulgaria |
BF | Burkina Faso |
BI | Burundi |
KH | Cambodia |
CM | Cameroon |
CA | Canada |
CV | Cape Verde |
KY | Cayman Islands |
CF | Central African Republic |
TD | Chad |
CL | Chile |
CN | China |
CX | Christmas Island |
CC | Cocos (Keeling) Islands |
CO | Colombia |
KM | Comoros |
CG | Congo |
CD | Congo - The Democratic Republic Of The |
CK | Cook Islands |
CR | Costa Rica |
CI | Cote D'Ivoire |
HR | Croatia |
CU | Cuba |
CY | Cyprus |
CZ | Czech Republic |
DK | Denmark |
DJ | Djibouti |
DM | Dominica |
DO | Dominican Republic |
EC | Ecuador |
EG | Egypt |
SV | El Salvador |
GQ | Equatorial Guinea |
ER | Eritrea |
EE | Estonia |
ET | Ethiopia |
FK | Falkland Islands (Malvinas) |
FO | Faroe Islands |
FJ | Fiji |
FI | Finland |
FR | France |
GF | French Guiana |
PF | French Polynesia |
TF | French Southern Territories |
GA | Gabon |
GM | Gambia |
GE | Georgia |
DE | Germany |
GH | Ghana |
GI | Gibraltar |
GR | Greece |
GL | Greenland |
GD | Grenada |
GP | Guadeloupe |
GU | Guam |
GT | Guatemala |
GG | Guernsey |
GN | Guinea |
GW | Guinea-Bissau |
GY | Guyana |
HT | Haiti |
HM | Heard Island And Mcdonald Islands |
VA | Holy See (Vatican City State) |
HN | Honduras |
HK | Hong Kong |
HU | Hungary |
IS | Iceland |
IN | India |
ID | Indonesia |
IR | Iran - Islamic Republic Of |
IQ | Iraq |
IE | Ireland |
IM | Isle Of Man |
IL | Israel |
IT | Italy |
JM | Jamaica |
JP | Japan |
JE | Jersey |
JO | Jordan |
KZ | Kazakhstan |
KE | Kenya |
KI | Kiribati |
KP | Korea - Democratic People's Republic Of (North Korea) |
KR | Korea - Republic Of (South Korea) |
KW | Kuwait |
KG | Kyrgyzstan |
LA | Lao People's Democratic Republic |
LV | Latvia |
LB | Lebanon |
LS | Lesotho |
LR | Liberia |
LY | Libyan Arab Jamahiriya |
LI | Liechtenstein |
LT | Lithuania |
LU | Luxembourg |
MO | Macao |
MK | Macedonia - The Former Yugoslav Republic Of |
MG | Madagascar |
MW | Malawi |
MY | Malaysia |
MV | Maldives |
ML | Mali |
MT | Malta |
MH | Marshall Islands |
MQ | Martinique |
MR | Mauritania |
MU | Mauritius |
YT | Mayotte |
MX | Mexico |
FM | Micronesia - Federated States Of |
MD | Moldova - Republic Of |
MC | Monaco |
MN | Mongolia |
MS | Montserrat |
MA | Morocco |
MZ | Mozambique |
MM | Myanmar |
NA | Namibia |
NR | Nauru |
NP | Nepal |
NL | Netherlands |
AN | Netherlands Antilles |
NC | New Caledonia |
NZ | New Zealand |
NI | Nicaragua |
NE | Niger |
NG | Nigeria |
NU | Niue |
NF | Norfolk Island |
MP | Northern Mariana Islands |
NO | Norway |
OM | Oman |
PK | Pakistan |
PW | Palau |
PS | Palestinian Territory - Occupied |
PA | Panama |
PG | Papua New Guinea |
PY | Paraguay |
PE | Peru |
PH | Philippines |
PN | Pitcairn |
PL | Poland |
PT | Portugal |
PR | Puerto Rico |
QA | Qatar |
RE | Reunion |
RO | Romania |
RU | Russian Federation |
RW | Rwanda |
SH | Saint Helena |
KN | Saint Kitts And Nevis |
LC | Saint Lucia |
PM | Saint Pierre And Miquelon |
VC | Saint Vincent And The Grenadines |
WS | Samoa |
SM | San Marino |
ST | Sao Tome And Principe |
SA | Saudi Arabia |
SN | Senegal |
CS | Serbia And Montenegro |
SC | Seychelles |
SL | Sierra Leone |
SG | Singapore |
SK | Slovakia |
SI | Slovenia |
SB | Solomon Islands |
SO | Somalia |
ZA | South Africa |
GS | South Georgia And The South Sandwich Islands |
ES | Spain |
LK | Sri Lanka |
SD | Sudan |
SR | Suriname |
SJ | Svalbard And Jan Mayen |
SZ | Swaziland |
SE | Sweden |
CH | Switzerland |
SY | Syrian Arab Republic |
TW | Taiwan - Province Of China |
TJ | Tajikistan |
TZ | Tanzania - United Republic Of |
TH | Thailand |
TL | Timor-Leste |
TG | Togo |
TK | Tokelau |
TO | Tonga |
TT | Trinidad And Tobago |
TN | Tunisia |
TR | Turkey |
TM | Turkmenistan |
TC | Turks And Caicos Islands |
TV | Tuvalu |
UG | Uganda |
UA | Ukraine |
AE | United Arab Emirates |
GB | United Kingdom |
US | United States |
UM | United States Minor Outlying Islands |
UY | Uruguay |
UZ | Uzbekistan |
VU | Vanuatu |
VE | Venezuela |
VN | Viet Nam |
VG | Virgin Islands - British |
VI | Virgin Islands - U.S. |
WF | Wallis And Futuna |
EH | Western Sahara |
YE | Yemen |
ZM | Zambia |
ZW | Zimbabwe |
Use HTML or Javascript scripts to add Google AdWords, embedded Google maps or small programs to your website. To add scripts, look in the HTML list of All Tasks and click on the Scripts item. For more information on adding Scripts: Using Scripts.
Short code syntax | ( ( script|your script name ) ) | ||
Considerations | When calling a script in short code, the name entered in the code must exactly match the script name in Scripts or it will not work. | ||
Example Type Script Name |
Script Example (these examples are illustrative only and should not be used on your website) |
Short code | |
Paypal Button ppal-buy-widget |
( ( script|ppal-buy-widget ) ) | ||
Youtube Video youtube-demo |
( ( script|youtube-demo ) ) | ||
Google Map map-stadium |
( ( script|map-stadium ) ) | ||
Buttons share-buttons |
( ( script|cnn-feed ) ) | ||
RSS Feed cnn-feed |
( ( script|rss-feed ) ) |
Base Code | ( (img|image-name.jpg) ) | |
Options | Image Size - Directs the software to use the entered width and height for image size. | width=xxx pixels height=xxx pixels |
Positioning - Directs the software to position/float the image to the left or right of text. | float = left or right | |
Margins - Directs the software to apply space between the edges of the image and the text. Margins can be defined as a uniform space around all edges; grouped as top and bottom or left and right; or margins can be defined separately all around the image. | margin=X pixels (applies a uniform number of pixels all around the image). margin=V,H pixels (V defines a top and bottom margin in pixels, H defines a left and right margin in pixels). margin=T,R,B,L pixels (T=top margin, R=right margin, B=bottom margin and L=left margin). Margins must be defined in this specific order. All expressed in pixels). |
|
Examples | ( ( img|myphoto.jpg|float=right|width=160|height=120|margin=5 ) ) Places image sized 160 x 120 to the right of text, with a 5 pixel margin around all edges. ( ( img|myphoto.png|float=left|margin=5,0,2,10 ) ) Places image left of text. Sets a 5 pixel top margin, 0 right margin, 2 pixel bottom margin and 10 pixel left margin. ( ( img|myphoto.gif|height=90|margin=10,15 ) ) Centers an image with a height of 90 pixels. Sets top and bottom margins at 10 pixels; left and right margins at 15 pixels. |
|
Additional Considerations | Formats allowed: PNG, GIF, JPEG, and JPG. All others are rejected. Image name is looked up in the pub/photo folder (Multimedia->Images). Use the exact name in short code or it will not work. |
Base Code | ( ( youtube|youtube_videoname ) ) | |
Options | Dimensions – Directs the software to use the entered width and height for displaying the video. | width=xyz pixels height=xyz pixels |
Examples | ( ( youtube|youtube_title|width=480|height=385 ) ) | |
Additional Considerations | The title is looked up in the Youtube item in Managing Uploads. The title entered in short code must EXACTLY MATCH THE TITLE of the video or it will not work. The width and height of your video defaults to the youtube video settings in the Youtube section of Managing Uploads. If you prefer different dimensions, Youtube’s default dimensions are 480x385 for a 4:3 video and 640x385 for 16:9 video. Additional recommended Youtube dimensions are 560x340, 640x385, 853x505, and 1280x745. |
Note: a video file can be located either in the pub/video (for Videos) or the pub/doc (for Documents) folders. The software first looks inside the Video folder.
Base Code | ( ( video|video_file_name.mp4 ) ) ( ( video|video_file_name.flv ) ) |
|
Options | Dimensions – Directs the software to use the entered width and height for displaying the video. |
width=xyz pixels height=xyz pixels |
Auto Play – Directs the software to not automatically start the video. | autoplay=true or false | |
Loop – Directs the software to restart the video automatically when the video is done playing. |
loop=true or false | |
Hide Tool Bar – Directs the software to hide the toolbar controls underneath the video. Use only when Auto Play is on. |
toolbar=true or false | |
Examples | ( ( video|your_video_file_name|width=480|height=385 ) ) ( ( video|OverviewShort.mp4|autoplay=false|loop=false|toolbar=true ) ) |
|
Additional Considerations | The name is first looked up in the pub/video folder in the Video section of the Managing Uploada section. If it is not found there, the software looks in the pub/doc folder in the Documents section. The title entered in short code must EXACTLY MATCH THE TITLE of the video or it will not work. |
Base Code | ( (slideshow|slideshow-name) ) | |
Options | slideshow Size - Directs the software to use fitbox or a cropto styling | fitbox=300x200 pixels cropto=300x200 pixels |
Class - Apply a class to the slideshow other then the system default class | class=myclass | |
Examples | ( ( slideshow|MySlideshow|fitbox=160x120|class=MyTestClass ) ) Places slideshow sized 160 x 120 with the CSS class "MyTestClass" ( ( slideshow|MySlideshow|cropto=160x120 ) ) Places slideshow with all images cropped to 160x120 pixels. |
|
Additional Considerations | Formats allowed: PNG, GIF, JPEG, and JPG. All others are rejected. Image name is looked up in the pub/photo folder (Multimedia->Images). Use the exact name in short code or it will not work. |
Use document short code to embed links in text to your uploaded documents. | ||
Base Code | ( ( link|doc=myfile.pdf|text=clickable text ) ) | |
Examples | ( ( link|doc=technical specs.xls|text=click here to view tech specs ) ) | |
Additional Considerations | Enter the name of your document followed by its extension (.doc, .xls, .pdf, .jpg, .jpeg, png, .gif). The name entered in short code must EXACTLY MATCH the name of the document in the Documents section of Managing Uploads or it will not work. |
Add link to short code to create links for outside urls, internal urls, internal pages, documents in the pub/doc or pub/photo folders. You can add link in front of the img code to hyperlink your images. | ||
Base Code | ( ( link|url, page, document or image name ) ) | |
Examples | URLS: Add URL to link to a direct URL, or a local 'short url' ( ( link|url=http://somesite.com ) ) or ( ( link|url=my-article-short-url ) ) Internal Page: Link to a website page from your own website ( ( link|page=home|text=Home Page ) ) Image in Document Folder: Photo will be looked up in the pub/doc folder before pub/photo ( ( link|doc=myfamilyphoto.jpg ) ) Hyperlink Image: Create a hyperlinked image in body text ( ( link|img=image name.jpg|url=http://URL to link to|float=right|width=50|height=50 ) ) |
|
Additional Considerations |
If you use link with img, you can also use all the image options (float, margins, width, height).
|
Use short code to embed Javascript or HTML scripts to add small programs like Google Ads or Google Maps to your website. | ||
Base Code | ( ( script|your script name ) ) | |
Examples | For different script examples, go to Script Reference. |
Use short code to embed common HTML web copy in items (articles, products, etc.) on your website. This allows you to create Copy of frequently used information, ie: store hours, restaurant menu, services, etc. and use it throughout your website. | ||
Base Code | ( ( copy|your copy name ) ) |
Files you link to from your website are managed and accessed in one central location at http://yourdomain.com/pub/doc/yourfile. Please note that your URL is case sensitive.
The table below lists supported file types, organized by function.
Documents | pdf, xls, xlsx, ppt, pptx, doc, docx, csv, xml, txt |
Photos | png, jpg, jpeg, gif, ico |
Videos | flv, mp4, f4v, mov |
Archives | zip, gzip, bz2, tar, tgz, gz |
Executables | msi, exe, fla |
HTML | css, js |
Fonts | eot, svg, ttf, woff, woff2 |
Music | wav, mp3 |
vCards | vcard, vcf |
Web Page Parameters General Considerations:
Module Item | Attribute | Examples |
---|---|---|
article | Name |
articleName=explore-south-ca articleName=explore-south-or&articleName=lodging-south |
article | Category | articleCategory=autumn-activity Displays all articles marked with the “autumn-activity” category |
directory | Category | directoryCategory=hotels Displays all hotels in the business directory |
directory | Region |
directoryRegion=southern-oregon directoryCategory=hotels&directoryRegion=southern-oregon |
directory | Search |
directorySearch=1 directorySearch=1&directoryCategory=hotels&directoryRegion=southern-oregon |
form | Name |
formName=autumn-guide articleName=autumn-activity&formName=autumn-guide |
product | Category | productCategory=glassware Displays all products marked with the “glassware” category |
product | Name |
productName=lead-crystal-stem3 articleName=wine-glasses&productCategory=glassware |
script | Name | scriptName=teaser-ad Calls a script that displays a teaser ad at the top of the page |
Copyright (c) 2012 - 351 NE Ford McMinnville, OR 97128 - Phone: (503) 468-4890 - contact@lvsys.com - www.lvsys.com