Forum Moderators: open
I'm using include pages (not SSI as my server doesn't support them) for various parts of the page. I would like to be able to cut the page up into include pages with only the link and image as variable content but have been unable to do so. When I break a table up FP automatically "repairs" the rest of the page by removing or adding tags.
I tried a simply test by splitting up a one cell table which does work but have been unable to cut up a more complex layout.
My questions are:
1/ Is the above possible or does an include page have to be able to stand on its own as a complete HTML document.
2/ How does an include page work, is webbot a language that browsers can read?
3/ Is there a better client side method for doing what I'm trying to do?
Thanks for your help.
[webmasterworld.com...]
> 1/ Is the above possible or does an include page have to be able to stand on its own as a complete HTML document.
The include page needs to stand on its own. You can have multiple includes on one page as you are suggesting.
And you also asked...
> 3/ Is there a better client side method for doing what I'm trying to do?
Not that I am aware of. I've been working with FP since 1996 and use includes religiously. Typically I have three includes on each page; top, left or right, and bottom.
For your requirement, you would add one more include to create the surrounding content and then have your variable in the center or wherever you wish to place it.