Photographer HTML

  • Posted in : Photographer
  • motti_b
    Participant

    How can i take of the code:

    <!-- TemplateBeginEditable name="head" -->
        <!-- TemplateEndEditable -->
    

    and:

    <!-- TemplateBeginEditable name="MainContent" -->
            <!-- TemplateEndEditable -->
    

    Are they a must in the template? They seem to screw up my updates.

    ahmetsali
    Keymaster

    Hi if you are using Dreamweaver, they should come in handy as those codes makes the Dw template system work otherwise for any other text editor they shouldn’t effect anything as they will be interpolated as just comments.

    motti_b
    Participant

    I am using Dreamweaver and I DO find these templates very useful. However, when it comes to the head portion of any page I would like a different Title, a different Meta Tags, Meta Description etc.

    How can I move the ‘HEAD’ part of the template to be editable?

    Thank you.

    ahmetsali
    Keymaster

    Hi again,

    then you can benefit the template files in the theme, repeated html sections (like head, header, footer) are in the template files, under /Templates folder. Just edit the head section in layout.dwt file and when you save it, the code changes should be applied to all other pages.

    motti_b
    Participant

    Hi,

    Well, I know that if I change something in the layout.dwt it will effect the whole site. However, I want the and the tags to be changed individually for each page.

    I cannot do it right now because it does not let me change individual pages.

    I want to have the and the outside the template. This way I can change the and for each page individually.

    I tried to delete the code:

    But it will not let me.

    How can I make the ‘head’ part of the pages not being part of the template?

    Thank you

    motti_b
    Participant

    resolved

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register