Welcome to WebmasterWorld Guest from 54.160.198.60

Forum Moderators: open

Message Too Old, No Replies

Dreamweaver/editable regions & SSI's

dreamweaver editable regions server side includes

     
2:32 pm on Sep 18, 2002 (gmt 0)

New User

10+ Year Member

joined:Sept 18, 2002
posts:9
votes: 0


I have created a template in Dreamwever Ultradev. It has editable regions, one of which includes a small ssi (in txt format). However when I go "new page from template" this editable region turns out to be non-editable. It only seems to occur when I have an ssi within the region.

Has anyone else had this problem and worked around it?

8:26 am on Sept 20, 2002 (gmt 0)

Administrator

WebmasterWorld Administrator jatar_k is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 24, 2001
posts:15755
votes: 0


Welcome to WebmasterWorld [webmasterworld.com] littlemissbuilder

I know some DW folk who have had problems using ssi's in templates but don't know how they got around it. Maybe this little bump will get someone's attention.

8:30 am on Sept 20, 2002 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Mar 8, 2001
posts:690
votes: 0


If you have an SSI in a region then of course you wont be able to edit it.

If you want to do that you will have to open the file you are trying to include seperatley.

If the SSI is in a region that you also want to be able to type stuff dont put the SSI in an editavle region.

8:36 am on Sept 20, 2002 (gmt 0)

New User

10+ Year Member

joined:Sept 18, 2002
posts:9
votes: 0


I dont want to edit the content of the ssi, I just want to be able to use the editable region to change which ssi I use (I have 5 second-tier toolbars in 5 separate ssi's)
11:56 am on Sept 20, 2002 (gmt 0)

Senior Member

WebmasterWorld Senior Member blobfisk is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Feb 25, 2002
posts:3185
votes: 0


Could this be something to do with the fact that the include call ( <!--#include file="your.inc"--> ) is specific to .asp files, and that your .dwt file may only see this as a comment?

I'm only guessing here, though...

2:34 pm on Sept 20, 2002 (gmt 0)

New User

10+ Year Member

joined:Sept 18, 2002
posts:9
votes: 0


Yeh maybe - hadn't thought of this.

But when I create a new page from this template, and save it as an .shtml document, the region is still uneditable?

3:20 pm on Sept 20, 2002 (gmt 0)

Junior Member

10+ Year Member

joined:Jan 17, 2002
posts:155
votes: 0


littlemissbuilder, you should be able to edit it. It might be worth checking your settings for ssi's under preferences. If the option for translating ssi's is set to "in all files", try changing this to "in no files" and then opening up your file - "in all files" seems to prevent editing.
3:45 pm on Sept 20, 2002 (gmt 0)

New User

10+ Year Member

joined:Sept 18, 2002
posts:9
votes: 0


gypsychild - thanks - I'll try this. Whereabouts in "prefernces" can I find this option?
3:56 pm on Sept 20, 2002 (gmt 0)

Junior Member

10+ Year Member

joined:Jan 17, 2002
posts:155
votes: 0


Select the category "translation" and then "server-side includes" - you can then see your current setting.
6:22 pm on Sept 20, 2002 (gmt 0)

Junior Member

10+ Year Member

joined:Jan 17, 2002
posts:155
votes: 0


littlemissbuilder, I should perhaps mention I have assumed from your post you are using UltraDev 1.
8:44 am on Sept 23, 2002 (gmt 0)

New User

10+ Year Member

joined:Sept 18, 2002
posts:9
votes: 0


Damn! Am using UltraDev 4 :(
Dont spose you know how to do this in this version?!?
9:56 am on Sept 23, 2002 (gmt 0)

Junior Member

10+ Year Member

joined:Jan 17, 2002
posts:155
votes: 0


Translation of ssi's can't be disabled in UltraDev 4 - although there are a couple of more complicated ways around it. I wouldn't bother though - having thought about this, if turning off translation allows editing, then the most likely cause of your problem is that you have opening and closing tags both in your template and your include file. Have a look at this and if you have repeated the tags, try removing them from the ssi file.