Server Side Includes

I’m using Server Side Includes as outlined on the Softpress website, here http://www.softpress.com/kb/questions/62/Server+Side+Includes

I’ve just uploaded my files and to my dismay, the include file is working, but the div (or HTML item) I’ve applied the inclusion to has disappeared from the HTML and CSS. There should be a div called SideColumn with a .SideText style applied to it, but I can’t find it in the code.

In FW, does turning a HTML item into a URL make the HTML item (div) disappear? Do I have to put the URL/include into a container - and then style up the container?

Thanks

http://www.advocatedesign.co.uk/ert


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I’ve put a div inside a div and applied the URL include to the child div. This seems to have worked, but now the layout has gone mad. Arghhhhhhhhhhhhhhhhhhhhh


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Mark,
You’ve missed out the closing part of the div tag which is causing the rest of the page layout to go out of whack;

<div class="editable" </div>

It should be;

<div class="editable"></div>

Regards,
Tim.

On 7 Oct 2013, at 16:20, Mark wrote:

I’ve put a div inside a div and applied the URL include to the child div. This seems to have worked, but now the layout has gone mad. Arghhhhhhhhhhhhhhhhhhhhh


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Tim

Thanks for spotting that. Going back to my original post, I originally did everything that the Softpress knowledgebase specified. But when I published the site, my div (that the include was suppose to go into) disappeared from the html and css. I’ve now inserted a html item into my side column and applied the include URL to the child item.

Is this what you have to do? I thought earlier today we got this working without having to insert a html item into a html item.

Cheers

Mark


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I’ve retried the instructions from Softpress and they don’t work. The item/div the include is applied to isn’t generated in the code - so there is no way to use CSS to position the include or style it.

The only way to do it is to insert and item into an item and style up the parent item.

Mark


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

And the other thing that is doing my head in, is FW keeps adding in paragraph returns. I keep deleting them, but they keep returning.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

FW keeps adding in paragraph returns. I keep deleting them, but they keep returning.

There is an Action - ‘Remove Paragraph Tags’ that might work for you.

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options