Latest News

Category: General
Posted by: mark
The news module...

Newsblock 2 title

Category: General
Posted by: mark
The news module...

Content


This is using the {page_image} tag...
like so
<img src="uploads/images/{page_image}" alt="{page_image}" title="{page_image}" />

This is using the {$content_obj->GetPropertyValue('image')} tag

contact.png

Both must be wrapped in the standard img way
<img src="uploads/images/{page_image}" alt='{page_image}' />
or you will just get the file name "contact.png" and the same call can be used for the alt= and the title= calls, used in the first so if you hover you see it.

For Image Menus

If you want to use an image in your menu instead of text, like the menu above, you can use the tag {$content_obj->GetPropertyValue('image')} in the menu where ever you see {$node->menutext} or use the {$node->image}, most times it's before the </a>

This is a thumbnail called like so {page_image thumbnail}

contact.png

The content is the information for the page. We have already mentioned that for each page on your site you choose what template to use. When you add content to a page, it is automatically placed in the placeholders of the template you are using.

A page can have one or several content areas, or content blocks The first must be {content}. To add more content blocks to your template, use {content block='block name'}. These blocks will then appear as textareas when you edit a page.

You can make a content block use only one line, instead of a full textarea, by using the parameter oneline=true. That is, the full tag being: {content block='block name' oneline=true}. Read about more parameters in the help for the Content tag in the CMSMS Admin Panel, under Extensions -> Tags.

Content Types

There are currently 4 main content types in version 1.6.6 "Bonde". These content types determine the type of content for each menu item.

  • Content
  • Link
  • Separator
  • Section Header

The content type is simply a regular page. Normally this is the only one you will use. That is what this page you are reading is. Here you can put any content that you would put on a regular page. The layout of these types of pages are controlled by the templates. For each content page you create you must choose a template for it. If you login as admin and change the template of this page, you will see exactly how it works.

The separator type is just what it sounds like, a separator that appears on the menus. This type follows the hierarchy set in content management pages.

The link type is just what it sounds like, a link to another page, either internal or external. This Link type also shows up in the menu following the same hierarchy rules as the content type.

The section header type is used to break up menus into groupings. This is unrelated to the hierarchy, as the section headers have no associated pages with them. They are just a little bit of text to say what the next few links are in reference to.

There is no News content type. So use the News module call in the template instead, it works better. :)

Block 1 title

Previous page: Pages and navigation
Next page: Title