Tabbed with Server Side Include
Has anyone had any problems adding Server Side Include to the Spry Tabbed Pannels, everytime the I add a SSI to the tabbed content is locks up the tabs.
Where the hell are to get support is this an interAKT, ADOBE or your on your own.
Hello,
I don't have an answer to your problem, because I've never tried this approach.
However, I can tell you that this is an USER-TO-USER forum. If you need to request technical support from Adobe, you need to go here:
http://www.adobe.com/go/support/
regards,
Ionut
Similar Messages
-
Problem with server side includes
Hi - I have a page with two php includes which no longer display properly. They were fine when I set them up, and I haven't changed anything. They don't display online - and also don't display on my local server (Apache). I have identical code on other sites which does display properly, both on my server and online. There's nothing wrong with the file paths as they display correctly on the DW display screen, and also on live display, so I'm completely baffled.
Can anyone shed any light?
Here's a sample page - http://www.lucidinsight.com/travelprev.shtml
The includes should both be displaying on the right side of the page (hence the two error messages)
Thanks!Hi...contrary to all logic and expectations, shtml pages DO process php includes. I appreciate that this seems very strange but I have several examples on my sites, with identical code to that already posted, and they work. I have to use a .php file extension rather than .asp as this is required for the file to be read by an online CMS site - rather than change the page to a php file and have to amend the site navigation, I have gone with just changing the file extension. This works for every single one of my sites except this one, and I can't see why, hence this question...
SW -
Poriblems with Server Side Include
I amtrying to convert to Spry Menus using SSI. into a template. been beating my head against the wall on what can go in and what can't in an include fil but that turns out not be my big problem
when in using Dredamweaver CS5 and do a server side I have major issues at the differeent levels
i have the file in a directory off the site root called Includes
the file i am trying to include
using a page at the root level my statement using document relation is
<!--#include file="Includes/Navbar.html" -->
works fine channg to site relation does not work Ok so far so good
however a page in a lower level director gets the dreaded
[an error occurred while processing this directive]
and i get an error
[Sat Sep 01 16:51:42 2012] [error] [client 174.57.220.98] unable to include file "../Includes/Navbar.html" in parsed file /usr/local/www/kasdivi.com/blog/beachguide.html
and also
Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20100525-debug/memcache.so' - Cannot open "/usr/local/lib/php/20100525-debug/memcache.so"
Unknown(0) : Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20100525-debug/apc.so' - Cannot open "/usr/local/lib/php/20100525-debug/apc.so"
Unknown(0) : Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20100525-debug/pdf.so' - Cannot open "/usr/local/lib/php/20100525-debug/pdf.so"
Unknown(0) : Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20100525-debug/memcache.so' - Cannot open "/usr/local/lib/php/20100525-debug/memcache.so"
Unknown(0) : Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20100525-debug/apc.so' - Cannot open "/usr/local/lib/php/20100525-debug/apc.so"
Unknown(0) : Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20100525-debug/pdf.so' - Cannot open "/usr/local/lib/php/20100525-debug/pdf.so"
the php errors don't seem mahor although they seem to have i have another iisue or are the related
but that aside
If I move the include file to the same level as the pade with approprirate include statement no problem it works
if i move it to a subditrectory then it doesn't work
summary
i can get SSI to work for page on the root level using Includes from a subdirectory
but on other level I must have the include in the same directory with the page
any thoughts??Your menu links are inside an include file. There should be nothing else inside that file except the list tags, classes & hyperlinks. Links are relative to the parent page(s) in which they will occur.
All supporting scripts and CSS go inside the parent page -- in your case, the Template.dwt file.
Local Files Panel:
-Includes
menu.html
footer.html
+Styles
+SpryAssets
-Templates
main.dwt
about.shtml
contact.shtml
index.shtml
services.shtml
Problems will occur if you use document relative link paths with pages that are located inside sub and sub-sub folders. Obviously, you want to avoid doing that. For best results, keep all your site pages at root level.
Hope this helps,
Nancy O. -
Need to get a spry menu to work on every page with Server Side Includes
I've created such a menu and have pasted the code into its own PHP file and then added the include but it just comes out as a blob of code and links. Any tips on how to do this? Thanks.
The following code was entered into a php file called topNav.php which was made reference to by another fiel. the result looks like this:
<ul id="MenuBar1" class="MenuBarHorizontal">
<li><a href="/index.php">Home</a></li>
<li><a href="/coming.php" class="MenuBarItemSubmenu">Resources</a>
<ul>
<li><a href="#">About Our Company</a></li>
</ul>
</li>
<li><a href="/coming.php">Announcements</a></li>
<li><a href="/coming.php" class="MenuBarItemSubmenu">FAQs</a>
<ul>
<li><a href="#">Human Resources</a></li>
<li><a href="#">Compliance</a></li>
<li><a href="/it/it_faq.php">IT Department</a></li>
<li><a href="#">Editing/Publishing</a></li>
</ul>
</li>
<li><a href="/coming.php" class="MenuBarItemSubmenu">Lounge</a>
<ul>
<li><a href="#">Event Photos</a></li>
<li><a href="#">Wanted/For Sale</a></li>
</ul>
</li>
<li><a href="/coming.php">New Employees</a></li>
</ul>
<script type="text/javascript">
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
</script> -
have used all previous versions of dw. no prior problem with server-side includes. now, they are not showing up in design view. Yes, I have marked preferences to include hidden items/server side includes. any thoughts anyone?
I set up a static test site. It has no testing server defined - just a local site. In that site I have two files -
1. include-test.html
2. /_inc/test.html
Their contents are -
INCLUDE-TEST.SHTML
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
</head>
<body>
<p>This is a test of SSI. The following paragraph is an HTML include -</p>
<!--#include file="_inc/test.html" -->
</body>
</html>
TEST.HTML
<p>Ut aliquip ex ea commodo consequat. Duis aute irure dolor eu fugiat nulla pariatur. Sunt in culpa ullamco laboris nisi quis nostrud exercitation.</p>
When I look at Design view for include-test.html, I can see the contents of the include file, and I can see it listed as a related file below the filename tabs:
So, I'm at a loss.... -
Server-side includes not working
Running CF9.x on Apache 2.2 Win 7.
I inherited an older html multiple page site that we are breaking down into includes using html server-side includes:
e.g. <!--#include file="includes/sidebar.html" -->, and saving the page as a .html file, which is then <cfincluded> in a .cfm file.
Is there a way to get <!--#include file="includes/sidebar.html" --> include working on a CF page? All I see is the contents of the page, but none of the sidebar.html, or header.html, etc.
I know I could switch to cfincludes, but the boss LOVES to muck around with the html side of things.
TIA,
DougI know I could switch to cfincludes, but the boss LOVES to muck around with the html side of things.
All the more reason to do it, surely?
But anyway...
I've never used a server-side include, but it looks to me that they just load the file and return it at that position in the document.
For CF code to be executed, the file needs to be REQUESTED, so it won't be a starter with server-side includes.
Adam -
SSI Server Side Includes searchable?
I'm creating a site that uses Server Side Includes to pull
content into pages. The client wants to include a Search function
to the site. My question is can a search function not only find the
SSI pages but pull them up directly?
Please see
http://www.trainride.org/mtm_index.shtml
The 2nd line of the bottom navigation are links that pull
content into the page with server side includes. Is there a way to
search and load the content pulled in by the server side includes?
Any help would REALLY be appreciated.
Thanks in advance!Melissa,
I believe that the search engines create their indexes using
spiders
that walk through all of the browser links in your site. The
content of
your SSIs get embedded into your page on the server, so there
is no
actual link by the time the page gets to the browser.
So, I think you need to add a hyperlink to your SSI pages
some (maybe
hidden) place in your site so the spiders will find them.
HTH,
Randy
> I'm creating a site that uses Server Side Includes to
pull content into pages.
> The client wants to include a Search function to the
site. My question is can a
> search function not only find the SSI pages but pull
them up directly?
> Please see
http://www.trainride.org/mtm_index.shtml
> The 2nd line of the bottom navigation are links that
pull content into the
> page with server side includes. Is there a way to search
and load the content
> pulled in by the server side includes? -
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 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 -
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 -
Server Side Includes not rendering correctly in Firefox with Layers
Hi
The server side includes are not correctly rendering with layers in firefox. From my site here:-
http://www.osteriastecca.com/index.php
the home_page.php content renders above a layer on the index.php page. Initially I thought this might be a Flash layer issue but the wmode is set correctly to transparent and it works fine with a normal ssi. It also works fine in Firefox without a server side include as you can see here:-
http://www.osteriastecca.com/index_old.php
Works fine in IE and Safari, but not Firefox.
How can this be rectified?
Regards
GlennyboyWhat testing server setup do you have? Are you using something like WAMP?
What do you see on screen which tells you the SSIs are not rendering? Any error message? -
Server Side Includes with Server Behaviors
Is it possible to include pages that have server behaviors attached to them, or are these behaviors limited to pulling in just plain html from the included pages?
For example, I want two pages, index.php and login.php.
I want the login.php page to have all of the user login behaviors/links/fields/buttons/etc. and then Include that on the index.php page. Am I supposed to be able to do this using ADDT server side includes?
I've been successful using server side includes to include static text on a page, but not dynamic content with behaviors attached. I'm not sure if I'm just have a mistake, or if this won't work in the first place.
thanks!Hi,
this is generally possible, as the included files sure can have their own server hehaviours -- did that several times, where the "container" page had about no server behaviours embedded, but the included file did.
ADDT´s server side includes will, loosely said, basically just "dynamically" strip the included document´s "head", but leave other components like server behaviours untouched
Cheers,
Günter Schenk
Adobe Community Expert, Dreamweaver -
Server side includes with htp package
I have a few procedures that call the htp package and generate dynamic web pages, however the server side includes are being treated as comments; they are not interpreted correctly and hence are not reading the associated file.
Has anyone encountered this before and found a solution?I have a few procedures that call the htp package and generate dynamic web pages, however the server side includes are being treated as comments; they are not interpreted correctly and hence are not reading the associated file.
Has anyone encountered this before and found a solution? -
Converting Library Items to Server Side Includes
Can someone direct me to a resource (Adobe or other) that
explains how a LI can be converted into a SSI? Thanks in advance.
tjinjaxOpen the *.lbi file, and save it wherever you want the
includes to be saved
with whatever extension you want your includes to have.
Open the parent page, and find the code that represents the
Library item.
Select EVERYTHING between -
this: <!-- #BeginLibraryItem "/Library/Address.lbi" -->
and this: <!-- #EndLibraryItem -->
INCLUDING those two lines.
Click on the include icon on the Common tab on the toolbar,
or use INSERT |
Server Side Include. Browse to, and select the file in your
list of include
files. Click OK.
You're done.
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
==================
"tjinjax" <[email protected]> wrote in
message
news:f49osl$ejk$[email protected]..
> Can someone direct me to a resource (Adobe or other)
that explains how a
> LI can be converted into a SSI? Thanks in advance.
> tjinjax -
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
Maybe you are looking for
-
Why do the new Tiles show password-protected content?
I updated to the new 33.1 version of firefox with the enhancements to the tiles displayed on a blank tab. I do not know if this behavior started prior to this update, or with it; just that my attention was drawn to it during the 33.1 tour. Issue: Som
-
Hi everyone, I'm not sure if this is only me who's having a problem or im a total noob in this but i've been trying to export .band projects from my iMac to my iPad via file sharing and somehow it doesn't work. What format is required so that i can o
-
Projects will not open--file corrupt
I recently upgraded to Adobe Premiere CC and cannot open any project that I save. I always have to create a new project, then import from the older corrupt one. Every time. This is quite a nuisance.
-
Missing Apps after software update
how can i move apps to iphone after software update?
-
Continuing Leopard Issues with Acrobat Pro
So after patiently waiting for Leopard update and installing it, I'm still having the same Distiller crash when trying to print to PDF. Is anyone else still having problems after this update? There's little weird about the machine - MBP Intel with 10