Very basic problem just getting started
Posted: Thu Mar 11, 2010 8:37 pm
Hello,
I am on a shared hosting service running apache-1.3.37; php-5.2.3 and MySQL - 5.0.41.
I have installed CMSMS 1.6.6 "Bonde".
I have read much of your documentation and am very excited to try your CMS. I have attempted to create a page, my own template and style sheet however for the life of me I cannot get my one page to reflect the changes that I believe I have made.
I started with your "Mimimal template" and modified it to use my copy of "MyFirstTemplate". It was modifed to use the h3 tag instead of h2 is was also modifed to use the menu "my_minimal_menu" which is a copy of "minimal_menu.tpl". I made no modifications to "minimal_menu.tpl".
I associated two stylesheets to MyFisrtTemplate, mycontentstyle and myMenuStyleSheet which have mimimal styles.
My page does not reflect any of the style changes and I am apparently making a very basic mistake. Below are screenshots.
The home page is www.tamarackresortrentals.com
Thank you for any help you can provide to this semi-hopless newbie
It appears that I cannot insert screen shots here so I am listing the filies instead:
MyFirstTemplate
----------------------------
{process_pagedata}
{* Change lang="en" to the language of your site *}
{sitename} - {title}
{* The sitename is changed in Site Admin/Global settings. {title} is the name of each page *}
{metadata}
{* Don't remove this! Metadata is entered in Site Admin/Global settings. *}
{stylesheet}
{* This is how all the stylesheets attached to this template are linked to *}
{* Start Navigation *}
{menu template='my_minimal_menu'}
{* End Navigation *}
{* Start Content *}
{title}
{content}
{* End Content *}
my_minimal_menu
-------------------------
{* CSS classes used in this template:
.currentpage - The active/current page
.bullet_sectionheader - To style section header
hr.separator - To style the ruler for the separator *}
{if $count > 0}
{foreach from=$nodelist item=node}
{if $node->depth > $node->prevdepth}
{repeat string="" times=$node->depth-$node->prevdepth}
{elseif $node->depth prevdepth}
{repeat string="" times=$node->prevdepth-$node->depth}
{elseif $node->index > 0}
{/if}
{if $node->current == true}
url}" class="currentpage"{if $node->target ne ""} target="{$node->target}"{/if}> {$node->menutext}
{elseif $node->parent == true && $node->depth == 1 and $node->type != 'sectionheader' and $node->type != 'separator'}
url}" class="activeparent"{if $node->target ne ""} target="{$node->target}"{/if}> {$node->menutext}
{elseif $node->type == 'sectionheader'}
{$node->menutext}
{elseif $node->type == 'separator'}
{else}
url}"{if $node->target ne ""} target="{$node->target}"{/if}> {$node->menutext}
{/if}
{/foreach}
{repeat string="" times=$node->depth-1}
{/if}
mycontentstyle
---------
.h3{
text-decoration: line-through;
color: #333333;
}
myMenuStyleSheet
-----------
.sectionheader {
background-color: #385C72;
color: #AB4567;
}
hr.separator{
background-color: #FF5C72;
}
I am on a shared hosting service running apache-1.3.37; php-5.2.3 and MySQL - 5.0.41.
I have installed CMSMS 1.6.6 "Bonde".
I have read much of your documentation and am very excited to try your CMS. I have attempted to create a page, my own template and style sheet however for the life of me I cannot get my one page to reflect the changes that I believe I have made.
I started with your "Mimimal template" and modified it to use my copy of "MyFirstTemplate". It was modifed to use the h3 tag instead of h2 is was also modifed to use the menu "my_minimal_menu" which is a copy of "minimal_menu.tpl". I made no modifications to "minimal_menu.tpl".
I associated two stylesheets to MyFisrtTemplate, mycontentstyle and myMenuStyleSheet which have mimimal styles.
My page does not reflect any of the style changes and I am apparently making a very basic mistake. Below are screenshots.
The home page is www.tamarackresortrentals.com
Thank you for any help you can provide to this semi-hopless newbie
It appears that I cannot insert screen shots here so I am listing the filies instead:
MyFirstTemplate
----------------------------
{process_pagedata}
{* Change lang="en" to the language of your site *}
{sitename} - {title}
{* The sitename is changed in Site Admin/Global settings. {title} is the name of each page *}
{metadata}
{* Don't remove this! Metadata is entered in Site Admin/Global settings. *}
{stylesheet}
{* This is how all the stylesheets attached to this template are linked to *}
{* Start Navigation *}
{menu template='my_minimal_menu'}
{* End Navigation *}
{* Start Content *}
{title}
{content}
{* End Content *}
my_minimal_menu
-------------------------
{* CSS classes used in this template:
.currentpage - The active/current page
.bullet_sectionheader - To style section header
hr.separator - To style the ruler for the separator *}
{if $count > 0}
{foreach from=$nodelist item=node}
{if $node->depth > $node->prevdepth}
{repeat string="" times=$node->depth-$node->prevdepth}
{elseif $node->depth prevdepth}
{repeat string="" times=$node->prevdepth-$node->depth}
{elseif $node->index > 0}
{/if}
{if $node->current == true}
url}" class="currentpage"{if $node->target ne ""} target="{$node->target}"{/if}> {$node->menutext}
{elseif $node->parent == true && $node->depth == 1 and $node->type != 'sectionheader' and $node->type != 'separator'}
url}" class="activeparent"{if $node->target ne ""} target="{$node->target}"{/if}> {$node->menutext}
{elseif $node->type == 'sectionheader'}
{$node->menutext}
{elseif $node->type == 'separator'}
{else}
url}"{if $node->target ne ""} target="{$node->target}"{/if}> {$node->menutext}
{/if}
{/foreach}
{repeat string="" times=$node->depth-1}
{/if}
mycontentstyle
---------
.h3{
text-decoration: line-through;
color: #333333;
}
myMenuStyleSheet
-----------
.sectionheader {
background-color: #385C72;
color: #AB4567;
}
hr.separator{
background-color: #FF5C72;
}