Announcement

Collapse
No announcement yet.

Large amount of code on a brochure page...

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

    Large amount of code on a brochure page...

    I have a large amount of html code that I need to put in a brochure fragment, but there is a size limit and my code goes over it...

    How do I get around this?

    I can't split it into smaller fragments (as far as I know...) because it is a list (<ol> </ol>) - but I'm happy to be corrected on how to do this.

    I have tried putting the code into a separate html file, and manually adding the headers and buttons and stuff onto the page using another page as a template. I then put a page redirect into the fragment. This works upto a point, but there's a small delay and as I have found as I change my site the headers/buttons change so I have to keep updating it manually.

    Is there another way?
    John

    #2
    I got around this by using a special brochure template for my fragment. The template contains this code

    <!-- DN3 TextOnly HTML begin -->
    <br>
    NETQUOTEVAR:INCLUDE dn3.html
    <!-- DN3 TextOnly HTML end -->

    and dn3.html includes all of the text for my downloads page. The end result is http://www.mole-end.biz/acatalog/downloads.html.

    Regards,
    Jan Strassen, Mole End

    Comment


      #3
      Thanks for that tip Jan.

      I have hard coded css stylesheet menus in my site and I have to replicate the code in three templates. I couldn't get the usual HTML include to work.

      NETQUOTEVAR:INCLUDE will do the job nicely.

      Many thanks.
      Niall
      www.highlandclans.co.uk

      Comment


        #4
        yep, that worked great - thanks!
        John

        Comment

        Working...
        X