LiveWhale CMS

Welcome, Guest Login

Support Center

Our documentation is moving:

Please check for the most up-to-date LiveWhale CMS and LiveWhale Calendar documentation. The below legacy documentation will remain available as a reference until the documentation migration is complete.

LiveWhale Developer

  • Styleguide: Markup

    Basic Coding Guide Use your head and do good semantic markup. Tag and attribute names are always lowercase. Paragraphs of text should always be placed in a <p> tag. Never use multiple <br/> tags. Items in list form should alwa...

  • Styleguide: CSS

    Basic Coding Style Use the following list as a guide when writing your CSS. Use a single tab per level of indent. Put spaces after : in property declarations. Put spaces before { in rule declarations. Don’t do single-line rule dec...

  • Styleguide: Javascript

    Basic Coding Style Use two spaces per level of indent. (Do not use tabs or mix the indents.) Always use camelCase, never snake_case, for functions, “methods” and variables. Use CappedCamelCase for “class” names, e.g.var liveWhale = new LiveW...

  • Styleguide: PHP

    Basic Coding Style Always use a complete set of full-form PHP tags, e.g. open with <?php and close with ?>. We get the point of not having a final closing tag on php-only documents, but as Schupp says: “Trailing whitespace is for sucker...

  • Delete

    $_LW->delete() allows for the full cascading deletion of the various data types. Pages Single page $_LW->delete('pages',$id); Multiple pages $pages = $_LW->dbo->query('select','','liv...

  • Creating a Simple Widget

    In this tutorial, we will be creating a basic module named, 'Fruit', which will display a list of fruit and their colors. It will have an optional argument (color), which will return only fruit having that color. Let's begin: Step 1. Create a folde...

  • Creating an Advanced Widget

    In continuation of the Creating a Simple Widget tutorial, we will be looking at an advanced tutorial where we will create a widget that is available through the widget editor. In this tutorial, our widget (e.g., Feedback Form) will allow a LiveWhale...

  • Handlers

    LiveWhale offers a rich set of handlers that give you the ability to insert your code into LiveWhale’s process. Additionally, you can create your own handlers and register them globally. If you add any custom handlers to your applications and wish t...

  • Social Media

    The following tutorial is based on work contributed by Lewis & Clark. Example Enabling the Social Media Widgets The following preparations step you through setting up the necessary api keys to en...

  • Properties & Attributes

    There are various properties and attributes available from the $_LW object. Here is a list of the more important ones and their purpose and scope $_LW->Properties Property/Attr Description Example Module Scope page The current Live...
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found