Announcement

Collapse
No announcement yet.

Too much data for fragment ?

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

    Too much data for fragment ?

    I have some table data for a fragment within a section and when I paste it in with the !!< >!! tags it says "The field can only store a limited amount of information. It is now full. There was not enough room for some of the information you have pasted into this field"

    My question is, can I set up some sort of variable and save this html info to it then just add the variable info into the fragment so that actinic calls it up when the page is loaded ? If this is possible would somebody mind giving me a quick guide.

    Thanks.

    #2
    Yes. Create a new variable of type File Content and set it's scope to Site. Create a text file containing everything you would like in the fragment and save it in a text file in the Site1 folder. In the Site options set the variable value to the file you saved. Now in the fragment simply put [VariableName]. Where VariableName is the name of the variable you just created.

    Comment


      #3
      To do this I would:

      1. Save the content as a file in the site1 folder. Say table.txt
      2. Put this in the fragment.

      !!<
      <actinic:block php="true">
      include('table.txt');
      </actinic:block>
      >!!

      Mike
      -----------------------------------------

      First Tackle - Fly Fishing and Game Angling

      -----------------------------------------

      Comment


        #4
        Brilliant, all sorted thanks. Will come in handy.

        Comment

        Working...
        X