Announcement

Collapse
No announcement yet.

Code snippets

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Code snippets

    Hi,

    Sorry slightly off topic....

    Anyone got experience using html code snippets? Especially being able to just change one snippet then those changes being reflected in all the other instances of that code?

    A bit like the Include statment in programming

    I'm trying to avoid using Frames. They seem to be "Not recomended" a lot!

    Cheers,

    Nigel

    #2
    It depends on what you are referring to. The way that V8 works is that it uses termplate layouts that are conditionally parsed to create the html pages - so a code snipet could be placed in a layout and selectively used.

    Otherwise you may be able to use a variable (and selectively use that with blocks); the value of the variable could then be a code snippet.

    You may also find page 74 in the Advanced User Guide (Including File Content Dynamically Online) useful too.

    Comment


      #3
      I've been trying to get server side includes to work for me and I suppose my question was more of a Dreamweaver issue. I was just wondering if anyone has any experience of using dynamic code snippets.

      I like the idea of modifyng the layouts but I think that time has come to sit down and RTFadvancedM

      Cheers,

      Nigel.

      Comment

      Working...
      X