AJAX Search

The built-in search engine utilises AJAX and MySQL's powerful FULLTEXT feature to rapidly return, in real-time, any pages that match your search query.

When you click on a returned result, the visited page will highlight the search terms until one of them is clicked on. Try searching for 'ajax' and clicking on a returned result.

Search results appear here in real-time.

Adsense Sidebar

This sidebar contains copy and paste Google Adsense code. Earning money with a discreet advertising sidebar on your website couldn't be easier! A single sidebar can be used across all pages, or you could deploy multiple Adsense campaigns for use within separate sidebars.

 

List of Variables

All page and site variables are accessed via $object->syntax (as opposed to array). To use these variables in your pages, you must have the 'Page content contains a PHP script, include or function' checkbox ticked.  Page and site variables are read-only (i.e. you can't modify them from within your pages).

List of Available Page Variables

These variables can be used to access information about an individual page.

  • $page_data->active
  • $page_data->aID
  • $page_data->allow_smart_tags
  • $page_data->allow_variable_access
  • $page_data->content
  • $page_data->creation_date
  • $page_data->custom_css_file
  • $page_data->custom_header_image
  • $page_data->custom_html_file
  • $page_data->description
  • $page_data->edit_role
  • $page_data->friendly_title
  • $page_data->hidden
  • $page_data->isphp
  • $page_data->last_updated
  • $page_data->lightbox_images
  • $page_data->meta_description
  • $page_data->meta_keywords
  • $page_data->menu_item
  • $page_data->menu_order
  • $page_data->menu_only
  • $page_data->menu_url
  • $page_data->news_layout
  • $page_data->page_order
  • $page_data->page_pass
  • $page_data->parentID
  • $page_data->pID
  • $page_data->rss_item
  • $page_data->show_date
  • $page_data->show_tags
  • $page_data->show_toc
  • $page_data->show_toplink
  • $page_data->sidebarID
  • $page_data->tags
  • $page_data->theme
  • $page_data->theme_layout
  • $page_data->title
  • $page_data->use_custom_header
  • $page_data->use_custom_css
  • $page_data->use_custom_html
  • $page_data->unlink_breadcrumb

List of Available Site Variables

These variables can be used to access configuration information about your Vanilla system and site in general. There are actually more than this, but we've listed the most useful ones.

  • $config_access_password
  • $config_admin_notice
  • $config_admin_notice_class
  • $config_admin_dragging
  • $config_admin_tooltips
  • $config_admin_panel_order
  • $config_animate_navigation
  • $config_attempt_friendly_links
  • $config_autosave_interval
  • $config_content_folder
  • $config_css_file
  • $config_default_meta_description
  • $config_default_meta_keywords
  • $config_default_theme_global
  • $config_enable_autosave
  • $config_enable_rss
  • $config_external_link_icon
  • $config_friendly_deep
  • $config_google_verification
  • $config_header_image_type
  • $config_hide_logo
  • $config_homepage_id
  • $config_jquery_core_admin
  • $config_jquery_core_public
  • $config_keep_log
  • $config_logo_position
  • $config_maintenance_on
  • $config_maintenance_message
  • $config_nav_position
  • $config_navigation_css
  • $config_page_not_found_id
  • $config_parse_urls
  • $config_public_tooltips
  • $config_recall_workspace
  • $config_rss_location
  • $config_show_accessibility
  • $config_show_breadcrumbs
  • $config_show_descriptions
  • $config_show_print_options
  • $config_site_title
  • $config_site_strapline
  • $config_site_footer
  • $config_site_email
  • $config_site_url
  • $config_theme
  • $config_theme_layout
  • $config_use_friendly_urls
  • $config_use_search_highlight
  • $config_use_themes

Smart Tag <=> Variable

Remember - all of the above variables can be printed out in your pages using Smart Tag syntax.

Adding Configuration Variables

The above variables are those available 'out-of-the-box'.  You can add your own custom variables via the FooBank system.