Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Andraž 45 posts 65 karma points
    Dec 21, 2009 @ 07:55
    Andraž
    0

    Sub page

    Hello,

    i would just aks a quick question. If i have a tree like this:

     

    - Home

        - About us

        - Offer

        - Contact Us

        - Call me

              - Who

     

    Which template should i use for the "Who" sub-page? Do i need a special document type for the this sub-page or can i just use document type for the 2nd level navigation? Because now it show's page but without any css, like this: http://www.simprisk.com/call-me/who.aspx , instead of this: http://www.simprisk.com/home.aspx

     

    Thank you.

     

     

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Dec 21, 2009 @ 09:29
    Dirk De Grave
    0

    It seems that you can use the same template for the 'Who' page as for the the 'Call me' page. Are those 2 docs of the same doc type (It seems when I turn on the trace info)? If so, use the same template! If not, create another template if you need a different layout. 

     

    Hope this helps.

    Regards,

    /Dirk

  • Andraž 45 posts 65 karma points
    Dec 21, 2009 @ 11:29
    Andraž
    0

    I have the same document type as i do the same template for both of them. But nonetheless "Call me" shows the right way and "Who" page shows unfformated.

  • jonok 297 posts 658 karma points
    Dec 21, 2009 @ 11:38
    jonok
    0

    Andraz, add a '/' character at the beginning of the file path for the css, eg. "/css/screen.css"

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Dec 21, 2009 @ 11:40
    Dirk De Grave
    0

    you're stylesheet include is not correct, you should use

    <link rel="stylesheet" type="text/css" media="screen" href="css/screen.css" />

    instead of 

    <link rel="stylesheet" type="text/css" media="screen" href="/css/screen.css" />

    (Mind the leading slash in front of 'css')

    Also, do so for the inclusion of scripts

    Hope this helps.

    Regards,

    /Dirk

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Dec 21, 2009 @ 11:41
    Dirk De Grave
    0

    Damn, both statements should be switched...

     

    /Dirk

  • Andraž 45 posts 65 karma points
    Dec 21, 2009 @ 12:13
    Andraž
    0

    Of course, this helped :)

    Tnx!

Please Sign in or register to post replies

Write your reply to:

Draft