Skip to main content
MikeB-S9UK
Known Participant
Dec 17, 2020 10:56 AM UTC
Answered

Change the folder name for Templates

Hi, is it possible to change the folder name for Templates as I am wanting to reduce the visible code seen in code design?

I want to change the folder name to a single character like T or t.

 

Then is it possible to reduce the code in the editable region markers from

<!-- InstanceBeginEditable name="" -->

to

<!-- IBEn="" -->

    This topic is closed to new replies. Start a new post to keep the conversation going.
    BenPleysier
    BenPleysierCorrect answer
    Community Expert
    Dec 17, 2020 11:46 AM UTC

    Hi, is it possible to change the folder name for Templates

    Short answer: No!

     

    Sure you can, but don't expect anything to work anymore. If you want to hide code, then use server side code like PHP.

    Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!

    3 replies

    Nancy OShea
    Community Expert
    Community Expert
    Dec 17, 2020 9:39 PM UTC

    Ben is correct.

    See my reply to this other related question.

    https://community.adobe.com/t5/dreamweaver/lock-code-folding-when-dreamweaver-opens/td-p/11688232?page=1

     

    Translate
    Nancy O'Shea— Product User & Community Expert
    BenPleysier
    Community Expert
    BenPleysierCommunity ExpertCorrect answer
    Community Expert
    Dec 17, 2020 11:46 AM UTC

    Hi, is it possible to change the folder name for Templates

    Short answer: No!

     

    Sure you can, but don't expect anything to work anymore. If you want to hide code, then use server side code like PHP.

    Translate
    Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
    MikeB-S9UK
    Known Participant
    Dec 26, 2020 9:27 PM UTC

    Thanks, but I am trying to reduce any server-side loading.

    I am helping someone who uses templates in their designs to reduce non-essential code. We are also looking at minimising CSS classes like card-image-top to c_i_t and col spacing col-sm-6 etc. to c-sm-6 to save where we can on the [link removed by moderator] website. As there are at least 12 cards we save 17 x 12 = 204 characters per page with those 2 classes alone.

    It's not much but 200 bytes is still 200 bytes saved.

    I have always been concerned about having more code on the page than content.

     

    Translate
    - &quot;Good English is an Art.&quot;