Page 1 of 1
[Solved]Menu gone? and some other questions ...
Posted: Wed Jan 28, 2009 6:02 pm
by TomJ
Hi, I'm having a problem with my template I'm making.
I don't know how it comes but suddenly my menu is gone. I did some things with the menu ='' template thing and it seems that it is some bad thing in my template file or so
Also I seem to have another problem, I attached my stylesheet and I don't see why my paragraph and such isn't changing.
I want to have date and such be placed on another way and styled different.
I want to have my layout look like this:
http://tjdesign.foolishgames.net/index.html
and this is how it currently looks like:
http://tjdesign.foolishgames.net/
What do I have to do to make it look like that correctly
Don't mind the javascript banner ( I will change it every time myself when I upload a new thing).
Thanks
TomJ
Re: Menu gone? and some other questions ...
Posted: Wed Jan 28, 2009 7:28 pm
by Dr.CSS
You will need to post what your menu tag call looks like, you give very little description as to what you had before and what you have now in template, and the calls in your CSS are not targeting what you have in the page...
Re: Menu gone? and some other questions ...
Posted: Wed Jan 28, 2009 7:32 pm
by TomJ
This is my template file:
{stylesheet}
{metadata}
{literal}
$(function() {
$("div#controller").jFlow({
slides: "#slides",
width: "512px",
height: "156px",
});
});
{/literal}
TomJ Design
{menu='TomJDesign'}
Wake Island
Moscow
Mind
Gangs4Life
Wake Island ( ET:QW )Wake Island for Enemy Territory:Quake Wars
Moscow - East FrontlineMoscow now available for East Front - Go check it out.
Mind ( Doom 3 ) Close to ReleaseThis awesome mod for Doom3 soon cooming a place near you!
Gangs4Life trailer online!Check the trailer out now before it's to late.
{news}
Made by TomJ ©2009-2010
and this is my database template:
{* 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="current"{if $node->target ne ""} target="{$node->target}"{/if}> {$node->menutext}
{elseif $node->parent == true && $node->depth == 1}
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}
what is wrong then?
thanks
TomJ
Re: Menu gone? and some other questions ...
Posted: Wed Jan 28, 2009 10:34 pm
by Coldman
You can not call a menu tag like this {menu='TomJDesign'}
you need to add template {menu template='TomJDesign'}
Re: Menu gone? and some other questions ...
Posted: Wed Jan 28, 2009 10:59 pm
by TomJ
thanks that seems to work already,
but how can I style the page content like
http://tjdesign.foolishgames.net/index.html 
I want to have it that way instead of blue links and have category name and so on removed.
Also I want that it only shows like 100 or 200 first characters for each article.
How is that possible?
Re: Menu gone? and some other questions ...
Posted: Wed Jan 28, 2009 11:12 pm
by Coldman
My first question is where is the page with blue links on? I do not see it.
Limiting the number of characters in the News, you should change your news template. Add | truncate: 6 :'...'
Like this:
Code: Select all
{eval var=$entry->summary|truncate:100:'...'}
Re: Menu gone? and some other questions ...
Posted: Thu Jan 29, 2009 12:42 am
by TomJ
Ok thanks for all the help, I'm almost seem to have it but I'm only still having some problem with my
Read more button, I can't make Read more of it, it only keeps giving more, how do you make it like it is Read more ... and also whenever I click on the more button I don't see more
Also I don't get to see any difference when I go to another page, I don't know why. Hope someone can help

It is a nice CMS but takes some to learn.

Re: Menu gone? and some other questions ...
Posted: Thu Jan 29, 2009 6:30 pm
by Dr.CSS
You need to read the content of the default install it is a great help on teaching how to do so many things, and the Help for the diff. modules you are using...
You had problems with Menus if you would have read the Help you may have seen right off that you weren't calling your your template right...
If you read the News Help you will see how to change the More link...
If you read the default "How CMSMS Works" pages you may find your mistake of putting your 'content' in the template as apposed to in the page....
http://multiintech.com/default/index.ph ... msms-works