Sliding Billboard Support Product Page

This topic was archived by Teodor Kuduschiev on 7/14/2015 8:28:21 AM

Error - Code is Locked by a template or a translator

Reported 24 Dec 2009 21:58:54
2
have this problem
24 Dec 2009 21:58:54 Bobby Ross posted:
I am getting a Dreamweaver error everytime I try to create a sliding billboard.

=================================
Dreamweaver

Making this change would require changing code that is locked by a template or a translator. The change will be discarded.
=================================

I am not using a template file or any translator that I know of. How can I fix this so I can use the sliding billboard?

Thank you,
Bobby

Replies

Replied 25 Dec 2009 02:51:56
25 Dec 2009 02:51:56 Bobby Ross replied:
I think my issue has something to do with how I have coded my site...
  1. I have a header.php file that I pull my via php code:
    <?php include ("header.php"); ?>

  2. Then I code whatever is needed for that specific page.
  3. Then I pull in my footer.php file that I also pull in via php code:
    <?php include ("footer.php") ?>



  4. In that header.php file, it starts out my code for every page within it relatively like this...

    header.php
    <html>
    <head>
    
    <title> Home </title>
    <meta keywords...
    <meta discription...
    
    a few <script codes.. (JaveScript functions for popups...
    
    <link href="style.css" rel="stylesheet" type="text/css">
    
    </head>
    <body>
    
    <table>
      <tr>
        <td> header images... </td>
      </tr>
    </table>
    


    I then do the coding for each page...

    Then I call my footer.php file that closes the code for each of my pages that is coded relatively like this...

    footer.php
    <table>
      <tr>
        <td> footer images and coding </td>
      </tr>
    </table>
    
    </body>
    </html>
    


    This allows me to only have to update one header and footer file for my complete site, that is pretty much around 1k webpages within the site.

    OK, back to the problem... I think that because I have my <html>, <head>, and <body> tages outside the actual page I am trying to put a sliding billboard on, that is is never going to work for me because it does put any script file within the actual page. I get that "template or translator error that I mentioned in the last post.


    Please help... I really want to add this functionality to my site.

    Thank you,
Replied 21 Jan 2010 17:51:22
21 Jan 2010 17:51:22 George Petrov replied:
hi Bobby,

Sorry for the delay.

The issue is that in DW most extensions even the DW build in ones - can't handle when a HEAD is in another include file.

So the splitting like this won't work unfortunately as the extensions search the HEAD tag and when not found on the current page they can not add the js files include code ...

A manual solution will be to have a full page with he SBB on it and normal head tag - and then split those after changes have being done.

Greetings,
George
Replied 08 Jul 2015 23:58:31
08 Jul 2015 23:58:31 Chris K replied:
Hello, I am having this same issue - not using a template. only using DMX Supersized 2 and Bootstrap 3. The only include I have is for the menu, and I tried removing that completely, but I still get the same error. Any idea why? I don't see anything in the HEAD tag that should be a problem.
Replied 13 Jul 2015 19:36:59
13 Jul 2015 19:36:59 Bill Buttrick replied:
I try to add the navbar and get the same problem. Preceeding that notice, I get this: The component is not fully supported with the current Bootstrap CSS/JS file (lower than v3.0) I just purchased the bootstrap 3 and navbar last week. Surely they are up to date. Please help. Thanks
Replied 10 Jan 2016 11:10:15
10 Jan 2016 11:10:15 Juan Olarte replied:
Hi I am experiencing the same problem! it started right after I converted my pages to Bootstrap 3.
Is there anything I can do to fix this, it is taking me forever to open or save pages.
Thanks

Reply to this topic