[Solved]Menu gone? and some other questions ...

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
TomJ
New Member
New Member
Posts: 4
Joined: Tue Jan 27, 2009 9:10 pm

[Solved]Menu gone? and some other questions ...

Post 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
Last edited by TomJ on Mon Feb 09, 2009 12:28 am, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Menu gone? and some other questions ...

Post 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...
TomJ
New Member
New Member
Posts: 4
Joined: Tue Jan 27, 2009 9:10 pm

Re: Menu gone? and some other questions ...

Post 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
Coldman
Power Poster
Power Poster
Posts: 318
Joined: Sun Jun 22, 2008 5:33 am

Re: Menu gone? and some other questions ...

Post by Coldman »

You can not call a menu tag like this {menu='TomJDesign'}
you need to add template  {menu template='TomJDesign'}
Important Code of Conduct
Why don't use CMSMS Docs or search?
Do you read Help?
Admin for Swedish Translations Team
Moderator Swedish Forum
After your problem is solved, push the green button
TomJ
New Member
New Member
Posts: 4
Joined: Tue Jan 27, 2009 9:10 pm

Re: Menu gone? and some other questions ...

Post 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?
Coldman
Power Poster
Power Poster
Posts: 318
Joined: Sun Jun 22, 2008 5:33 am

Re: Menu gone? and some other questions ...

Post 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:'...'}
Important Code of Conduct
Why don't use CMSMS Docs or search?
Do you read Help?
Admin for Swedish Translations Team
Moderator Swedish Forum
After your problem is solved, push the green button
TomJ
New Member
New Member
Posts: 4
Joined: Tue Jan 27, 2009 9:10 pm

Re: Menu gone? and some other questions ...

Post 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. :P
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Menu gone? and some other questions ...

Post 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
Post Reply

Return to “Layout and Design (CSS & HTML)”