Welcome to WebmasterWorld Guest from 23.20.37.222

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)

10+ Year Member



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 Sep 20, 2002 (gmt 0)

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



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 Sep 20, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



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 Sep 20, 2002 (gmt 0)

10+ Year Member



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 Sep 20, 2002 (gmt 0)

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



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 Sep 20, 2002 (gmt 0)

10+ Year Member



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 Sep 20, 2002 (gmt 0)

10+ Year Member



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 Sep 20, 2002 (gmt 0)

10+ Year Member



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

10+ Year Member



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

10+ Year Member



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

10+ Year Member



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

10+ Year Member



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.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month