Displaying server-side include in DW8
Sorry if this has been asked before? I did search and
couldn't find it (this site is painfully slow and searching is
worse)
I am trying to figure out how to make DW8 show my server-side
include files in the design view. My site uses SSI for all headers
and footers, so every page has at least 2 SSI's. They show up as
the SSI mark on the page, but not the code or graphical
representation of what is in the SSI. I need to have that code
snipet show up in my design view. The only way I have been able to
figure out how to do it, is to reinsert the SSI again from the
menu, and then delete it. Doing it that way, the original ssi that
is listed on the page will display graphicly in the design view.
I do have the option in the preferences - Invisible Elements
- Server-Side includes: and the check box is checked / enabled.
If I could, while I'm here, one other question. I have DW
code rewriting turned on, and it shows me each time I open a file,
what corrections it has made. But if I save the file, and then open
it again, it shows me the exact same corrections being done again.
Is there a trick to make DW8 save the corrections it automatically
makes to the files?
many thanks in advance.
> I know that there were major changes between 4 and 8.
One of which was tightening the tolerance for bad code. CS3
is very strict
about displaying proper code.
However, your fragments below look OK.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"mmdlcab" <[email protected]> wrote in
message
news:[email protected]...
>
quote:
Originally posted by:
bregent
> Do any of your included files include html, head or body
tags? If so,
> that's
> the problem. Having those creates invalid html which DW
will not
> render.
>
> Thats a great thought, but I just checked, and no, none
of those tags are
> in
> the files. I'll see if I can attach the code for the 2
files and see if
> that
> helps any. The header file does have my menu system
pasted into the text
> of
> the include file, but that has not caused problems
previously. FWIW, this
> worked fine in DW4 which is what I upgraded from. In
version 4, the
> headers
> and footers showed up fine in desgin view. I know that
there were major
> changes between 4 and 8.
>
> Header include file:
> ----------------------------
> <table border="0" align="center" width="750"
height="110">
> <tr>
> <td><a href="/index2.html"><img
src="/images/color_logo.gif"
> width="110"
> height="107" alt="MMDL Logo" border="0"
/></a></td>
> <td align="center" valign="middle"><a
href="/index2.html"><img
> src="/images/header4.gif" width="450" height="110"
border="0" alt="MMDL -
> The
> worlds largest steel tip dart league"
/></a></td>
> <td align="center" valign="middle"><a
href="testpage.html"></a><a
> href="
http://www.dmisports.com/darts_main.html"><img
> src="/images/dmilogo_small.gif" alt="DMI Sports"
width="110" height="77"
> border="0" longdesc="
http://www.dmisports.com"
/><br />
> <!-- <a href="
http://www.mmdl.org/dmi_flyer.pdf"
> target="_blank">League Board
</a></td>-->
> </a><a href="
http://www.mmdl.org/dmi_flyer.pdf">League
Board </a></td>
> </tr>
> </table>
> <!-- DHTML Menu Builder Loader Code START
--><script language="JavaScript"
> type="text/javascript">
> var navVer = navigator.appVersion;
> if(navVer.substr(0,3) >= 4)
> if((navigator.appName=="Netscape") &&
(parseInt(navigator.appVersion)==4))
> {
> document.write('<' + 'script language="JavaScript"
type="text/javascript"
> src="
http://www.mmdl.org/dmbmenu/nsmenu.js"><\/script\>');
> } else {
> document.write('<' + 'script language="JavaScript"
type="text/javascript"
> src="
http://www.mmdl.org/dmbmenu/iemenu.js"><\/script\>');
> }</script>
> <!-- DHTML Menu Builder Loader Code END
--><table border="0" width="550"
> height="110">
> -------------------------------------
> footer include file
> --------------------
> <table border="0" align="center">
> <tr>
> <td width="20" valign="top"
align="center"> </td>
> <td align="center" valign="middle" width="194">
> <div align="left"><a
href="mailto:[email protected]?subject=MMDL
> Darts.*..
> ">Comments? Email us</a></div>
> </td>
> <td align="center" valign="middle"
width="128"><a
> href="
http://www.mmdl.org/dmbmenu/textmenu.html">Text
> based menu</a></td>
> <td align="center" valign="middle"
width="223">© <SUP>SM</SUP>
> 2007
> Minute Man Dart League. All rights reserved.</td>
> </tr>
> </table>
> -----------------------
>
>
>
>
Similar Messages
-
Display Server Side Include at top of scrollable Div
Hello,
In this topic, I will be referring to the following containers on my page:
DIV A: Contains the content of the page; this div has overflow set to scroll.
DIV B: Contains the links
DIV A contains 3 different server side includes, each with a different ID. Using the Show/Hide Element, I have set it so that when a link in Div B is clicked, the appropriate server side include is displayed in DIV A, and the other two server side includes are set to hide.
The only problem is that when their appropriate links are clicked, SSI 2 and SSI 3 do not appear at the top of DIV A, but at the position they would be if all SSIs were set to show, so the user has to scroll to see SSI and SS 2.
Do you folks know of any way to have the SSI display at the top of DIV A?
It occurred to me that instead of using Show/Hide behavior, I may need to somehow include an SSI only when a DIV B link is clicked, and when a different DIV B link is clicked, that SSI is stripped form the page and the appropriate SSI is included.Is that even possible?
Does this make sense to all of you?
Thanks,
MikeWithout seeing your code, it could be how you are positioning these elements on your page. If you plan on showing/hiding layers you will need to position these layers to show in the same spot every time by setting the position of DIV A to relative and the position of the 3 layers inside to absolute with a top and left value set to 0.
-
Server Side Includes not displaying in DW CS3 design view
I have this code in my page (see below):
When I open the file in Dreamweaver MX 2004 in design view,
the page displays correctly. That is, I see the correct styles from
the style sheet contained in Head_Standard.html and the logo/menu
in Logo_TopMenu.html
When I open the page in DW CS3, I do not see the effects of
the style sheet and I do not see the logo/menu.
However, when I change the code for the first include from:
virtual="/ServerSide
to
virtual="
../../ServerSide
then the page renders correctly in Dreamweaver CS3.
My first reaction was: what?! And my question is: how do I
use a root reference inside the head and get it to display properly
in DW CS 3?"Go to Edit > Preferences > Invisible Elements >
Server-Side Includes (Check this box) to show contents of included
file"
I already do this.
For me:
/ServerSide... does NOT work
../../ServerSide... works
So, a relative reference works and a reference to the root
does not. I have over 20 websites with root references and I need
this to work in DW9. -
What is the difference between jsp :include and server side include
what is the difference between jsp :include and server side include(request dispatcher include method)????
i understand that both request dispatcher include method and jsp:include take dynamic data,so when would one use request dispatcher include and when jsp:include.
Is the usage interchangeable?i believe jsp include is used only for jsp/html but include directive can be used to include servlets ,jsp and html....correct me if i m wrong and
do suggest if u hav ny other diff in this context...The difference really is: in what format do you want your inclusions? If your environment has many Java developers and only a few designers that focus mainly on, say, Flash, that might push you more towards the server-side include() directive. Or, if you have a large set of pages that receive dynamic content that is displayed in a consistent fashion (such as a workflow header area on a page).
If, on the other hand, you have more web designers, there may be a greater desire to deal in markup rather than Java code. Java developers themselves might prefer to view markup (JSP) that more resembles the eventual output than something occuring in Java code.
Finally, there are considerations of tiering. While it is totally possible to (and I have previously) implement 'view classes' that render markup or generate layout templates, JSP's offer, IMO, a subtle, psychological advantage. By forcing a developer to work in a different format, markup versus Java source, the separation on view from controller and model becomes a bit easier. It is still possible to make mistakes, but if a developer at some point notices, "Wait, I'm in a JSP, should I be importing a java.sql class?", then the choice to use JSP includes has paid off in spades.
- Saish -
I have a template (dwt) for my site with editable regions for
menus. I want to use Server Side Includes for the menu, as not all
the pages will have the same menu.
I have designed the site template (and pages) with css and
divs. The area for the SSI is a div of size 145x335. The menu which
I want to put inside this div will be a div based menu. I havent
had any luck displaying the Div from the SSI yet. I have been
looking on Google for help, but not much luck. I can get the Div to
appear but the formatting doesnt show up.
Im putting the SSI code in where I want it on the page, but
im not sure exactly which code to get rid of in the shtml file. I
know I need to remove body, head parts etc
My site template uses CSS stored on the document, not an
external css file.
Any ideas?> Im sure Ive not got it right yet!! My head wont work
lately!
Yes. It's not working well here, either.
Create your template with the editable region. In it, have
links to a) the
general stylesheet for all the pages, and b) the general
stylesheet for all
of the includes (these don't really need to be separate
files). Spawn a
child page, drop in the desired include, and save that page
as
whocares.shtml.
That's it....
The incude files themselves can be names anything you want -
I like the
'monkeybutt' extension, e.g.,
yourinclude.monkeybutt
The include files can make reference to CSS selectors, but
cannot have
embedded CSS rules, or links to external CSS files.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"~Billy~" <[email protected]> wrote in
message
news:eq234v$eq6$[email protected]..
> Ive made myself confused now! I need it spelling out to
me!
>
> Ok, a template file (dwt) with its css as an external
style sheet.
>
> Rest of the sites pages made from the template file.
>
> Next, the template has one editable region for a choce
of 2 div based
> menus to
> be placed into. Place either of these div menus into the
template editable
> region by creating two seperate SHTML files - one for
each menu with the
> body/head removed(and with internal or external css?)
>
> Next put the SSI code into the body of the template
where I want the SSI
> to
> appear.
>
> Im sure Ive not got it right yet!! My head wont work
lately!
> -
Server Side Includes with .irpt pages
I am intrested in using server side includes within my .irpt pages for example
<!#INCLUDE FILE="file.inc">
specifically inside of my applet tags to reference a standard set of parameters that I would like to be passed into my display templates. Does xMII have a similar representation of server side includes for .irpt pages?It might make your head explode, but in a good way...
Also, you'll need 11.5 or newer to run this. There are so incredibly many opportunities that this might open up for you to deliver not only static, but also dynamic embedded server-side content.
There are many aspects of xMII that are largely untapped. A few common ones are the ability of the Runner servlet (which invokes xMII BLS transactions) to stream virtually any type of content back to the requestor (XML, HTML, text, images, PDFs, Excel, whatever).
The other feature that not too many people use is the ability to use an xMII BLS transaction as a "stylesheet".
Lastly, there is the little-known "<SERVLET>" tag that can be used in IRPT pages.
Put all these pieces together, and amazing things can be done. The example I'm going to show you uses a BLS transaction, but it can also be done with an XSL stylesheet (if the desired included HTML is static). But let's go for the cool approach...
Let's assume you have some "stuff", such HTML page content, that you want included in a specific position on your web page. Let's also assume that this "stuff" resides in a file accessible at http://localhost/MyInclude.html (the file extension doesn't really matter).
Create a new BLS transaction with no inputs and an output of type String (the name of the output doesn't matter - but in our case, let's assume you name it HTMLOutput). To workaround a cosmetic bug (which will be fixed in a future patch), you should also create a second output (doesn't matter what name or type) - so add one called "DummyOutput" of type String. Not worth explaining why - just do it.
Next, add either a TextLoader or HTMLLoader action (in the Web group) to your transaction (they both do the same thing, actually - just different icons). In the Output links tab, assign the StringContent of the loader action to the transaction output. This basically accomplishes the loading and streaming of your included "stuff".
Save this transaction. Let's save it in a folder called CoolStuff, with the name IncludeTest.
In your IRPT page, add the following code where you want the "stuff" to appear.
<SERVLET NAME="Illuminator">
<param name="Stylesheet" value="xacute://CoolStuff/IncludeTest" />
<param name="OutputParameter" value="HTMLOutput" />
<param name="Output-Content-Type" value="text/html" />
<param name="Content-Type" value="text/html" />
</SERVLET>
Save the IRPT page, load it, and you're in business!
You can probably already start to envision to possibilities for adding more sophisticated business logic to create "dynamically" embedded content in your IRPT pages...
Best regards,
Rick -
Server-Side Includes in weblogic server 5.1
Hi,
I tried Server-Side Includes examples in weblogic server 5.1 thru .shtml file.
I am able to load the .shtml file but its not loading the included servlet. But
I am able to load the included servlet alone separately.
Somebody can be assist me what I have to do?
I am using WebApplication WAR structure for my application.
ex: http://localhost:7001/esp/hellooWorld -- loading the servlet
http://localhost:7001/esp/html/ServletInclude.shtml -- not loading servlet
where 'esp' name of the WebApplication
The .shtml file code is given below
<html>
<body>
<servlet name=hellooWorld>
</servlet>
</body>
</html>
Looking forward for some help
Thanks
Your WebLogic doesn't know it's supposed to be doing server-side includes. Make
sure you have .shtml registered/enabled - see the docs.
Mike
"Jyothi" <[email protected]> wrote:
>
>Hi Mike,
>Thanks for your reply.
>>What errors (if any) do you see in the log file?
>Just coming up with blank screen. No errors reported in log file. Nothing
>coming
>in log file regarding the servlet.
>>
>>When you display the page in a browser, what does View -> Source show?
>Just getting blank screen. If I see view source same source code coming
>up. Here
>is the view source when I view it from browser
>**********************************************
><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
><html>
><head>
><title>Including a servlet with SSI</title>
></head>
>
><body
> bgcolor="#FFFFFF"
> link=#DB1260
> vlink=#828282>
>
><font face="Helvetica">
>
>
><p>
><servlet name=hellooWorld>
></servlet>
>
></font>
></body>
></html>
>*********************************************************
>>Did you register the servlet?
>Yes. I registered the servlet. Thats why if I load the servlet alone
>I am getting
>the output.
>http://localhost:7001/esp/hellooWorld -> url used to load servlet alone
>>
>I hope this info helps to you to analyze my problem
>
>Thanks
>Jyothi
>>
>>"Jyothi" <[email protected]> wrote:
>>>
>>>Hi,
>>>I tried Server-Side Includes examples in weblogic server 5.1 thru .shtml
>>>file.
>>>I am able to load the .shtml file but its not loading the included
>servlet.
>>>But
>>>I am able to load the included servlet alone separately.
>>>Somebody can be assist me what I have to do?
>>>I am using WebApplication WAR structure for my application.
>>>ex: http://localhost:7001/esp/hellooWorld -- loading the servlet
>>>http://localhost:7001/esp/html/ServletInclude.shtml -- not loading
>servlet
>>>
>>>where 'esp' name of the WebApplication
>>>
>>>The .shtml file code is given below
>>>-----------------------------------
>>><html>
>>><body>
>>><servlet name=hellooWorld>
>>></servlet>
>>></body>
>>></html>
>>>--------------------------------------------------
>>>
>>>Looking forward for some help
>>>
>>>Thanks
>>>
>>>
>>>
>>>
>>>
>>
>
-
Tabbed panels, Collapsible Panel, and Server Side Include
Hi,
I'm having a problem with the way a Server Side Include inside a Collapsible Panel displays.
Here is how this particular page is set up.
The page has spry tabbed panels.
>>A panel has one overall Collapsible panel (the main product tab)
>>>>Nested in that Collapsible panel are four other collapsible panels (Overview, Features, Screenshots, What's New).
>>>>>>In each of these four collapsible panels is a server side Include that features that category's content
E verything works fine as far as opening and closing is concerned. However, the problem is with the display. The content panel doesn't resize with the Include content, and therefore, the Include content extends outside the border of the content panel.
I'm thinking this is because it is Include content rather than normal content. Is that right?
Do I fix this by changing the overflow value of one the Tabbed Panel CSS styles? If so, which one should I change, and to what value?
Or if that's not how to fix it, can anyone tell me how?
Thanks a lot,
MikeHi, I'm using the latest version of Spry. I modified some CSS rules of the tabbed panels, but not the javascript file. I didn't do anything to the Collapsible Panel rules.
Since first posting this thread, I changed the overflow of the Tabbed Panels Content Group CSS rule to "scroll". That did produce a scroll, but I'd much rather have the panel expand. So, I changed it back the way it was.
Here's the page I'm working on. Click the Court Solutions tab to get to the problem panel.
http://www.ptssolutions.com/Test/public_safety_products_3.shtml
It has different results in IE and FireFox, but doesn't work correctly in either.
Thanks a lot for all your help,
Mike -
Dreamweaver previews first Server Side Include Only (SSI)
Dreamweaver CC and 2014 preview the first Server Side Include (SSI) only, even if the Adobe extension is installed (Using the SSI extension in Dreamweaver to create page headers | Adobe Developer Connection)
How do I set Dreamweaver to preview multiple (more than one) SSI's?
Example Code:
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
</head>
<body>
<!--#include virtual="/content.shtml" -->
<!--#include virtual="/content2.shtml" -->
</body>
</html>
The code above will preview the text in "Content.shtml" but will not display the text in "content2.shtml".
For troubleshooting purposes, I have reduced the content in each file to only single lines of basic text.
Please advise. Thanks.
Update:
Dreamweaver Live View will show all of the server side includes. However the "Design View" and "Preview in Browser" will only show the one ssi.
The following Preference settings are enabled:
-Preview using temporary file
-Show contents of included file
Update 2:
I discovered that server side includes have been removed from the Dreamweaver interface, inferred from this article: A Look at the Modernized Dreamweaver CC : Adobe Dreamweaver Team Blog. If Server Side Includes were removed, can they be added again using the Server Behavior extension?The issue is fixed in Dreamweaver 2014.1
-
Are nested server side includes supported in DW?
Using DW 5.5 on Win 7, Apache 2.2 setup. Does DW Design view support nested server-side includes? I have to work on an old legacy site with nested ssi's that I haven't worked on for quite awhile, and I noted that while working on a page the left side column was not displaying in Display mode, so where the left column should be is just an empty blank div.
I could swear that DW used to display the nested ssi's, but looking at it now, it certainly isn't.
The left side column is just a div that is ssi included in the bodies of the pages ( nothing special ). It ssi includes various pieces such as news, announcements, etc. Everything displays fine on the website, but in the Design view the nested SSI's don't display.
Thanks,
DougKen, yes it's an include(s) inside an include. In this case the leftcolumn.html is server-side included in all the pages on the site. Inside the leftcolumn.html are four server-side includes for announcements, news, calendar, and next meeting info. Each of those are separate .html files that are constantly edited. It makes things nice and neat and I can give permission to other people to edit the individual files without screwing up the leftcolumn.html or the whole page. So leftcolumn.html is just a div with a width/margins/background color class and the four server-side includes. Of course you have to tell IIS or Apache you want to allow .html files to use ssi's, but that is simple enough and I think nicer than using .shtml's. YMMV.
What I thought I remembered was that the left column was fully displayed in the Split or Design modes, but I guess I was wrong. All I see is an empty leftcoumn div that has the proper width and background color. I work almost exclusively in DW code view or sometimes Split View, or use another editor like Brackets or CFBuilder, and just switch to a browser to view the pages.
Doug -
Server Side Includes Don't Show Up?
I support a web site and I've been maintaining it with DW (previous to CS3 and now I'm using CS3) and except for the home page, whenever I test a page locally on my PC, the content of the includes don't show up in the browser. Once I upload them to the web site, they work fine. I should point out that the home page is the only page in the root directory. All the other pages are in a next level folder. At the time I designed the web site, I thought this would help me organize things, but I regret doing it. This has happened with the previous version and with CS3.
Anyway, it's what I'm stuck with. I've set up my local site without server access. Given my situation, is there anyway to get the includes to work on my PC when I test the pages within DW?To summarize: I press F12 to start a browsing session and that page is displayed properly with server side includes. While in that browsing session, I click on a link to another page, and that second page in the browsing session does not disply the server side includes. When these pages are uploaded to the server, they work properly
If you open one of the inner pages, and hit F12 can you see the includes on that page,, or on any of the other inner pages when you browse to them individually? I bet you can :-)
It's only when you try and go from the temp file to a properly name file that it doesn't work. There was a technote explaining this much better than Ican, but I just can't find it now.
If you want to see the pages work as if they were on the server, that is going from page to page by clicking on individual links, you really need to set up a testing server on your machine.
http://help.adobe.com/en_US/Dreamweaver/10.0_Using/WSc78c5058ca073340dcda9110b1f693f21-7b6 ba.html
http://kb2.adobe.com/cps/191/tn_19165.html -
Server side include does not appear in browser
I've imbedded a server side include within an html file. I
can see it in the Dreamweaver design previewer, but it does not
appear when displaying the html in a browser. I've tried saving the
included file as "html", "htm", "shtml", and "shtm". Nothing seems
to work.
Any guesses?On apache, you have to use either shtm(l), or PHP. And in the
event that
you use the latter, the include directives must be PHP
includes, not HTML
includes, e.g., this -
<?php require('includes/foo.php') ?>
not this -
<!--#include file="includes/foo.inc" -->
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"Dave Bar" <[email protected]> wrote in message
news:frbps3$f6o$[email protected]..
> Interesting you mention this, I was just experementing
with this today.
> I traditionally use .asp and IIS when using Include
techniques.
>
> I have a client on an apache server, and they can't run
asp, so I had to
> test using html.
>
> This is what I found.
> Since I'm running IIS, I had to use shtml (their apache
server may run it
> with regular html).
>
> I also had to make sure I was using the IIS Localhost in
my url.
> so this worked:
>
http://localhost/tests_and_examples/TEMP/TestInclude.shtml
>
> While this did not:
>
http://localhost/tests_and_examples/TEMP/TestInclude.html
(notice the
> missing s in shtml)
>
> And this did not:
>
file:///C:/Inetpub/wwwroot/tests_and_examples/TEMP/TestInclude.shtml
> (Notice a regular file:/// instead of using IIS
localhost)
>
> Hope that helps
> -Dave
>
> "rsimmons1957" <[email protected]>
wrote in message
> news:frboib$dn5$[email protected]..
>> I've imbedded a server side include within an html
file. I can see it in
>> the
>> Dreamweaver design previewer, but it does not appear
when displaying the
>> html
>> in a browser. I've tried saving the included file as
"html", "htm",
>> "shtml",
>> and "shtm". Nothing seems to work.
>>
>> Any guesses?
>>
>
> -
I preface this all by saying that I have never used a
server-side include but am considering it based on a suggestion
from a thread yesterday.
If I created a server-side include file that contained only
my title banner/nav bar and placed that file at the top of each of
my pages, would it then be possible to have content (Flash, in this
case) from an editable region in a template-based file display on
top of that banner? Can they overlap, I guess is what I'm asking.
Thanks - JAY> This would probably be an issue mostly if you don't want
to synchronize
> your
> entire site, I suppose. What about file directory
issues? Can you keep
> pages in
> sub-directories based on the specific template from
which they were
> created or
> will that cause problems (such as SSI functionality)?
DW is quite smart enough to manage your page links.
Plus, if you can use virtual includes, then the link to the
include files
will be the same for any page in any location in your site.
So - you have no link worries in this sense. But a more
specific example
that leads you to ask your question might help get a better
answer here.
> class 1. I've got my nav bar/title banner
> happening as an SSI to be included on all pages - class
2. Lastly, all
> page-specific content including detail text, images, and
some info and nav
> Spry
> panels will appear in editable regions, (defined by
divs, presumably?) -
> class
> 3. WIth the latter, I'll preload the editable regions
with the type of
> content
> I want and then customize it on each page, relink, etc.
Using an editable region for a section-specific navigation
include is a
great way to do it.
Good luck!
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"LumberBisquit" <[email protected]> wrote in
message
news:[email protected]...
>
quote:
Originally posted by:
Newsgroup User
> But underlying it all is this nasty requirement to
upload all changed
> files.
>
>
> This would probably be an issue mostly if you don't want
to synchronize
> your
> entire site, I suppose. What about file directory
issues? Can you keep
> pages in
> sub-directories based on the specific template from
which they were
> created or
> will that cause problems (such as SSI functionality)?
>
>
quote:
> First, I mentally separate the page layout into three
sections:
>
> 1. Stuff that will not change for the life of the site
(i.e., the basic
> structural elements)
> 2. Stuff that *could* change from time to time (e.g.,
navigation
> elements,
> burst advertisements, section-specific navigation, etc.)
> 3. Stuff that *will* change from one page to the next
>
> Then I create a template containing all class1 elements.
Next I create
> server-side include files containing all class 2
elements and place them
> on the
> template as needed. Note - some of the class 2 elements
may be
> "section-specific elements", and their placement on the
template will be
> subject to the next item. Finally, I insert editable
regions to cover the
> class
> 3 items, INCLUDING the section-specific navigation.
>
>
> This makes sense to me and is very much what I had in
mind, (after asking
> lots
> of questions on this forum, that is). This site will
need at least three
> different structural pages - class 1. I've got my nav
bar/title banner
> happening as an SSI to be included on all pages - class
2. Lastly, all
> page-specific content including detail text, images, and
some info and nav
> Spry
> panels will appear in editable regions, (defined by
divs, presumably?) -
> class
> 3. WIth the latter, I'll preload the editable regions
with the type of
> content
> I want and then customize it on each page, relink, etc.
>
> Thanks so much!
>
> JAY
> -
Contribute changing relative path for server-side include
I am using Contribute CS3, version 4.1, and my pages crash
every time a send a draft for review, because Contribute is
rewriting a relative URL in a server-side include.
The server-side include (before I send for review) reads:
<!--#include file="../foo/bar.fileextention"-->
After I edit other portions of the page and send the draft
for review, it reads:
<!--#include file="http:
//www.servername.com/foo/bar.fileextension"-->
Which results in the draft being unreadable.
Is there any way to tell Contribute not to monkey with this
URL? I have hunted, read the forums, checked the knowledge base,
and coming up empy.
Thanks in advance for any help you can provide!! I really
appreciate it!
-NicholasAnswering my own question.
I researched this complete forum and with taking ideas from
different posts, I was able to figure this out. I thought I would
post it for anyone else needing to know the answer in one place:
Include tags must read:
<!--#include virtual="includes/fileName.html"-->
(Include file is NOT a real HTML doc -- no tags in file
except for CSS, as it would be used if not using Contribute.)
No reference to .dwt needed nor Template created.
No Edit instance tags needed anywhere.
Contribute user navigates to page:
[Upper right corner] Click Choose...
[In my structure] User opens includes folder (double clicks)
User selects THE file (clicks OK)
User clicks on Edit Page button
(Text is now editable.)
User edits text.
User clicks on Publish button.
Worked for me several times trying.
- Janet -
Server-Side Include Issue - Please Help
I am having trouble using server-side includes in
Dreamweaver. When I use the SSI to insert the header file, the
header document shows up on the page in design view, but I cannot
click anything. The cursor turns into a "no sign" no matter where
it is on the page. I cannot see anything but the header document,
and I cannot click outside of it or anywhere else in design view.
When I test the whole document in a web browser it actually seems
to work just fine. I see the header and the other text on the page
(unlike in dreamweaver, I cannot see anything but the header). Also
in Dreamweaver code view, the php tags and the included filename
are in red. This is the code for the test document:On Wed, 7 Mar 2007 04:02:29 +0000 (UTC), "AngryCloud"
<[email protected]> wrote:
> <?php include("header.php"); ?>
What does the code look like in header.php? Does it have
<html>, <head>
and <body> tags? It should not.
Gary
Maybe you are looking for
-
Problems Viewing and Printing PDFs Created from FrameMaker
I got no responses to this issue in the Acrobat forums (I posted 6 days ago), so since at least some of the PDFs were created through FrameMaker, I am posting here to see if anyone in this forum has seen the problem. At our company, we regularly crea
-
I'm considering buying a computer for my home studio. I'm currently typing this message on my new iMac with 4G of Ram. I've installed Logic 8 and a few other plug-ins (namely NI Komplete 5). I know that Ram is essential...and hard drives. My concern
-
Hello everyone. The scenario is the following: There is some forms that need to be fill out sometimes by the customer side and others by company side. The initial form will be filled out by the customer and some of those data are required on the anot
-
SOLMAN 4.0 ...
Hi all, Was wondering if there is a Java Perf Lib for Solman 4.0 running on Windows 2003 Std Edition with MS SQL 2000 Enterprise Edition? I need it to increase the performance of the Java Can someone also tell me what is the recommended specs require
-
Hi Can any one suggest me that how can i change my forms size dynamically that fits the browser size. thanks & regards