Bad References in Template driven pages

I'm building a site with 2-3 templates in Dreamweaver CS3.
I'm having problems with the file references the template driven
pages are doing. All is well if the page is no more than 1 folder
deep, but if it is 2 folders deep or more the references become
bad. The curious thing is that the refrence is put ok in one place
but bad in others. Here's an example:
AC_FL_RunContent( 'codebase','
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','wid th','960','height','180','src','../images/TopFlash4','quality','high','pluginspage','http: //www.macromedia.com/go/getflashplayer','movie',
'../images/TopFlash4'); //end AC code
That's the bad reference. Here is one that is ok, both from
the same page:
<param name="movie" value="../../images/but1Spc.swf"
/>
The problem is that the referenced files do no t load because
of the first one.
Am I doing something wrong, or is this a bug in Dreamweaver
CS3?
Help, please!

Yep - that's the solution - change this -
AC_FL_RunContent(
'codebase','
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#
version=7,0,19,0','width','960','height','180','src','../images/TopFlash4','qual
ity','high','pluginspage','
http://www.macromedia.com/go/getflashplayer','movie',
'../images/TopFlash4'); //end AC code
to this -
AC_FL_RunContent(
'codebase','
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#
version=7,0,19,0','width','960','height','180','src','/images/TopFlash4','qual
ity','high','pluginspage','
http://www.macromedia.com/go/getflashplayer','movie',
'/images/TopFlash4'); //end AC code
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
==================
"Paul Whitham AdobeCommunityExpert"
<[email protected]> wrote in message
news:[email protected]...
>I think that the issue is because DW can handle a file
reference ok when it
>is in a tag, but it does have issues when it is inside a
javascript. I
>would suggest that you make the references inside of the
js relative to the
>root of the site.
>
> --
> Paul Whitham
> Certified Dreamweaver MX2004 Professional
> Adobe Community Expert - Dreamweaver
>
> Valleybiz Internet Design
> www.valleybiz.net
>
> "Pekkk" <[email protected]> wrote in
message
> news:[email protected]...
>> I'm building a site with 2-3 templates in
Dreamweaver CS3. I'm having
>> problems
>> with the file references the template driven pages
are doing. All is well
>> if
>> the page is no more than 1 folder deep, but if it is
2 folders deep or
>> more the
>> references become bad. The curious thing is that the
refrence is put ok
>> in one
>> place but bad in others. Here's an example:
>>
>> AC_FL_RunContent(
>> 'codebase','
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#
>>
version=7,0,19,0','width','960','height','180','src','../images/TopFlash4','qual
>> ity','high','pluginspage','
http://www.macromedia.com/go/getflashplayer','movie',
>>
'../images/TopFlash4'); //end AC code
>>
>> That's the bad reference. Here is one that is ok,
both from the same
>> page:
>>
>>
<param name="movie" value="../../images/but1Spc.swf"
/>
>>
>> The problem is that the referenced files do no t
load because of the
>> first one.
>>
>> Am I doing something wrong, or is this a bug in
Dreamweaver CS3?
>>
>> Help, please!
>>
>
>

Similar Messages

  • Is there a way to create my own template on Pages for iPad?

    Hi, I've searched for this topic but can't seem to find a recent thread. I need to know if there's a way of creating a new template for Pages on my iPad. Would love to use the iPad more in school but can't seem to get it to do what we want it to! If this isn't possible then can anyone suggest an App that would be more useful. Many Thanks!

    This was discontinuted in CS5 howerver you could migrate that plugin to CS5.  I don`t know if you can do this with CS6.
    To my knowledge they only provided a revised Contact sheet II script for CS6. In my opinion a very bad idea because they should have put all efforts and resources to enhance the Output Module PDF contact sheet that has far more options.
    Still not using web galleries but the goal for web gallery was also to use this in the Adobe Output Module, maybe that provides you the options you want?

  • Problem inserting FLV into template based page DW8

    Error when inserting an FLV into a template based page.
    The error is: "Making this change would require changing code
    that is locked by a template or translator. The change will be
    discarded."
    I thought perhaps something was wrong with my code so I
    created a new page in DW8, with one word of text. Saved the new
    page as a template with the one word of text made into an editable
    region. Created a page based on that template and attempted to
    insert a FLV file into the editable region (using Insert > Media
    > Flash Video). I still get the error message. I've attached the
    code for this page.
    I also get the error message when I go through the tutorial
    Presenting
    Video with the Flash Video Component in Dreamweaver 8. Using
    the files provided in the tutorial.
    Is the only workaround for this the one I found here?:
    http://med.stanford.edu/irt/web/references/flash_video_installation.html.
    Steps are under heading "Workaround for Locked Code insert error"
    near bottom of page.
    Any help is appreciated.
    Jen

    > Is the only workaround for this the one I found here?:
    >
    http://med.stanford.edu/irt/web/references/flash_video_installation.html.
    > Steps
    > are under heading "Workaround for Locked Code insert
    error" near bottom
    > of
    > page.
    This workaround *will* work....
    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
    ==================
    "kilmeny21" <[email protected]> wrote in
    message
    news:[email protected]...
    > Error when inserting an FLV into a template based page.
    >
    > The error is: "Making this change would require changing
    code that is
    > locked
    > by a template or translator. The change will be
    discarded."
    >
    > I thought perhaps something was wrong with my code so I
    created a new page
    > in
    > DW8, with one word of text. Saved the new page as a
    template with the one
    > word
    > of text made into an editable region. Created a page
    based on that
    > template and
    > attempted to insert a FLV file into the editable region
    (using Insert >
    > Media >
    > Flash Video). I still get the error message. I've
    attached the code for
    > this
    > page.
    >
    > I also get the error message when I go through the
    tutorial
    >
    http://www.adobe.com/devnet/flash/articles/flv_tutorial.html.
    Using the
    > files
    > provided in the tutorial.
    >
    > Is the only workaround for this the one I found here?:
    >
    http://med.stanford.edu/irt/web/references/flash_video_installation.html.
    > Steps
    > are under heading "Workaround for Locked Code insert
    error" near bottom
    > of
    > page.
    >
    > Any help is appreciated.
    > Jen
    >
    >
    >
    > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN"
    > "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    > <html xmlns="
    http://www.w3.org/1999/xhtml"><!--
    InstanceBegin
    > template="/Templates/index.dwt"
    codeOutsideHTMLIsLocked="false" -->
    > <head>
    > <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    > <!-- InstanceBeginEditable name="doctitle" -->
    > <title>Untitled Document</title>
    > <!-- InstanceEndEditable -->
    > <!-- InstanceBeginEditable name="head" --><!--
    InstanceEndEditable -->
    > </head>
    >
    > <body>
    > <!-- InstanceBeginEditable name="temp"
    -->Text<!-- InstanceEndEditable -->
    > </body>
    > <!-- InstanceEnd --></html>
    >

  • Best Practice: Header Template vs Page zero

    I have some information (currently stored on the header template) as below
    Operator: &APP_USER. 10-JUL-2009
    Version: 123.456
    Screen Id: 38636.1
    This information is to be displayed on all pages (and is based on application_items).
    Our application is translatable into 4 other languages (so 5 in total) including russia and chinese which use different character sets.
    Is it better technically to store these on page 0 rather than on the header template.

    Keith,
    I normally would agree with John, that this belongs in the template. But since you have to translate this stuff, this means that you would have to translate this template and have the translator or language service parse through all the HTML of the template, simply looking for the string(s) to be translated.
    I'll give you a third option. Make use of the application attributes (there are 20 of them). Define an attribute named 'OPERATOR_MSG' with a value of 'Operator'. In the template, you can reference this attribute as &OPERATOR_MSG. (inclusive of the trailing period). This way, these attributes will show up in translatable text as single strings.
    Also, if you want to show the date in YYYYMMDD format, you could use the reference &SYSDATE_YYYYMMDD. in your page template. I realize this is not a friendly date format, but you get it for free without having to compute it yourself.
    Joel

  • Report Template driven by custom functions

    Hello,
    I'm a newbie, and i'm trying to design a report template driven by a vw and/or stored proc to display information on a letterhead report.  Such as names that can change at any time.  I have another interface linked to the vw/sp to change that information at any time.  What i'm trying to get is the idea of how to create a template letterhead report that i don't have to go back into crystal to change whenever the administration name changes. 
    Does anybody have any ideas or examples?  I'm thinking Custom Functions are the way to go but, i just don't know how to get started with using them if that's the way to go. 
    Thanks in advance!

    Please re-post if this is still an issue

  • How to delete a template in pages, how to delete a template in pages

    Have looked on forums... 1. Cannot find "Go" on finder menu. 2. No library found. 3 Cannot delete nor can I drag old templates into the trash.
    My templates folder is pages is cluttered with old templates. Are they here forever? Or, can they be removed?

    Simpler version of deleting templates using Pages:
    Utilizing v. 5.5.2
    Go to Pages and select New
    Select My Templates
    If you don't have the right click enabled on your trackpad, click control and select the template you want to delete which gives you the option to Rename or Delete the file.
    Hope this helps

  • How can I add a new Template to My Templates in Pages? I've read most of the discussions on the subject but it doesn't work for me. By the time I reach the Templates folder, I only see templates for Numbers and not for Pages. Need help, please.  Thanks

    How can I add a new Template to My Templates in Pages? I've read most of the discussions on the subject but it doesn't work for me. By the time I reach the Templates folder, I only see templates for Numbers and not for Pages. Need help, please.  Thanks

    Si vous avez utilisé la commande Save As Template depuis Pages, il y a forcément un dossier
    iWork > Pages
    contenant Templates > My Templates
    comme il y a un dossier
    iWork > Numbers
    contenant Templates > My Templates
    Depuis le Finder, tapez cmd + f
    puis configurez la recherche comme sur cette recopie d'écran.
    puis lancez la recherche.
    Ainsi, vous allez trouver vos modèles personnalisés dans leur dossier.
    Chez moi, il y en a une kyrielle en dehors des dossiers standards parce que je renomme wxcvb.template quasiment tous mes documents Pages et wxcvb.nmbtemplate à peu près tous mes documents Numbers.
    Ainsi, quand je travaille sur un document, je ne suis pas ralenti par Autosave.
    Désolé mais je ne répondrai plus avant demain.
    Pour moi il est temps de dormir.
    Yvan KOENIG (VALLAURIS, France)  mercredi 23 janvier 2011 22:39:28
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • Can not create template based page with customized page type.

    I built a customized page type (with persepective attribute) and wanted to build pages with this type. If the new pages do not based on any template, it works fine. However, if I wanted to use a template, the page type was set back to "standard"!
    Steps to reproduce it:
    1. create a new page type - test page type.
    2. create a new template = test template.
    3. create a new page - test page.
    3.1 choose the page type to be "test page type"
    3.2 fill in the form including the new attribute info.
    3.2 choose the page template to be 'test template"
    3.3 click finish
    4. click the properties of "test page", it shows that the page type is "standard" and the new attribute information is gone!
    If in step 3.2, no template is chosen, the properties of the new page shows the page type is "test page type".
    I tried to find a workaround.
    1. create a page with "test page type".
    2. covert the new page to template.
    I got this error message:
    Error while copying page. (WWC-44262)
    (WWC-00000)
    Looks like customized page type and template can not coexist. Is this a bug?

    How long should the upgrade take? And should it be attempted on a production (infrastructure on machine 1/middle-tier on machine 2) Windows 2000 architecture? Or should be wait for 9.0.4? Or ... should I ask this in a TAR? Thanks!
    Mike

  • Can not build a template based page with customized page type.

    I built a customized page type (with persepective attribute) and wanted to build pages with this type. If the new pages do not based on any template, it works fine. However, if I wanted to use a template, the page type was set back to "standard"!
    Steps to reproduce it:
    1. create a new page type - test page type.
    2. create a new template = test template.
    3. create a new page - test page.
    3.1 choose the page type to be "test page type"
    3.2 fill in the form including the new attribute info.
    3.2 choose the page template to be 'test template"
    3.3 click finish
    4. click the properties of "test page", it shows that the page type is "standard" and the new attribute information is gone!
    If in step 3.2, no template is chosen, the properties of the new page shows the page type is "test page type".
    I tried to find a workaround.
    1. create a page with "test page type".
    2. covert the new page to template.
    I got this error message:
    Error while copying page. (WWC-44262)
    (WWC-00000)
    Looks like customized page type and template can not coexist. Is this a bug?

    How long should the upgrade take? And should it be attempted on a production (infrastructure on machine 1/middle-tier on machine 2) Windows 2000 architecture? Or should be wait for 9.0.4? Or ... should I ask this in a TAR? Thanks!
    Mike

  • How can I use Pages 4.3 (from Retail pack) template on Pages 5.2 (from Mac App Store)?

    This is a new machine running on Mavericks bought last year since my old Mac had a hard-drive failure. Installed Pages (part of iWork '09 package), updated to Pages 5.0 from the Mac App Store and no issues. However, now I need to use some of the old Pages template (San Fancisco Letter to be specific) and the new Pages dosn't have that.
    So I had to extract the San Fancisco template from Pages '09 and tried installing under 'My Template' on Pages 5.3. But evertime I'm getting an error while installing. That's when I realised after going through the discussions here, that I can't install a Pages '09 template on Pages 5.3.
    So my question is how to use a Pages 4.0 template on Pages 5.3? Is it possible to install Pages 4.3 while Pages 5.2 is still installed? Is there a workaround?
    Note: I don't need Pages 4.3 but would like to use some of the templates from there, working on Pages 5.2.
    Thanks in advance - Sid

    Due to the huge number of missing features in v5.2 that were functional in Pages ’09 v4.3, many of the older version templates expect features/functionality that simply do not exist in v5.2. You should realize that Pages v5 is a brand new application/design, and not a progressive version enhancement to Pages ’09.
    When you updated to Pages v5, that process automatically moved Pages ’09 v4.3 into /Applications/iWork '09. You can continue to use the older Pages (and associated custom templates) on Mavericks.
    I would resist removing Pages ’09 from your machine, as it is functionally superior to Pages v5.
    Templates that you save with Pages ’09 v4.3 are kept in ~/Library/Application Support/iWork/Pages/Templates/My Templates
    Templates that you save with Pages v5+ are kept in ~/Library/Containers/com.apple.iWork.Pages/Data/Library/Application Support/User Templates
    One of the things that I noticed about the original Pages v5 installation is that it transferred a small subset of My Templates from Pages ’09 into the above User Templates location. These were relative simple templates. The complicated ones did not migrate.
    Be certain to make a backup copy of any Pages ’09 template document. Once you open it in Pages v5+, it can no longer be opened in the older Pages application. Providing the template is compatible with Pages v5+, perform a File > Save as Template... to the default location.

  • How do you remove templates in Pages 08

    Hi,
    I need some help, I have created some templates for my company, but have just updated the logo. I have been trying to remove the old templates but with no luck, I have gone to the "my Template' folder but it is saying its empty! I have tried 'Format / advanced / manage pages' but this is not removing them, any help that you can give would be great, thanks

    Hi all
    I Hope this may help someone else who took hours to work this out as I was a bit dumb to see what was staring me in the face I followed the last thread I read to the letter and instead of changing the Numbers folder to the Pages one
    <startupDisk>:Users:<yourAccount>:Library:ApplicationSupport:iWork:NumbersEnglis h:Templates:My Templates:"
    I went here close but one folder out, instead of the numbers folder go to the Pages folder if you want to change template in Pages (I feel so silly)
    <startupDisk>:Users:<yourAccount>:Library:Application Support:iWork:Pages:Templates:My Templates:"

  • How do you delete templates in Pages?

    How do you delete templates in Pages?

    Hi Lilly,
    If you mean "My Templates" they are in a hidden folder.
    In Finder, open the Go menu and hold down the option key (alt) in order to see the user library folder.
    Open the library folder and navigate to:
    Library/Application Support/iWork/Pages/Templates/My Templates.
    Select a template then drag it to the Trash (or command-delete).
    Having gone to all that trouble to find that hidden folder, single click to select My Templates folder, then
    Menu > File > Make Alias
    An Alias folder appears. Rename it to something such as "My Templates Pages alias" then drag it out of My Templates folder to somewhere convenient (maybe the Desktop will do for now).
    You can now close all those folders that you navigated through because the Alias (double click on it) is a quick way to go there again.
    Repeat this process for other iWork apps such as Numbers.
    Another way to manage your templates is to open one, make changes, then Save As Template with the original name of that template. The new template will replace the old one.
    Regards,
    Ian.

  • How to get a template from pages on to an email to send? (Not as attachment)

    This question might have an obvious answer or not be possible at all, but I was wondering if it's possible to create a template in pages and then use that as an email template, so far all I've been able to do is attach the template as an attachment to an email, whereas I want the template to be the actual email. Any help would be appreciated? I hope I've made myself clear.

    hi rohan,
    u r right because we can pass variables with links in following format :
    http://<domain>:<port>/<path>/page.htm?empid=123
    and in this "page.htm" create a page attribute EMPID with AUTO ATTRIBUTE CHECKED .
    now we can retrieve the value of empid .
    similarly u can pass multiple variables with same link separated by "&" in following format :
    http://<domain>:<port>/<path>/page.htm?empid=123&empname=anx&empdept=it    .
    and create corresponding page attributes in the same manner.
    hope it will help u.
    Regards,
    Ankur

  • Accessing multi-section templates in Pages 5... how?

    We have some templates created in Pages 4.3 that have multiple sections defined.  (A cover page, various internal Body page styles, and an end page).  We constructed our documents in 4.3 using selections from the various sections in the templates (e.g. get a cover with CC text on it, a two column body and a CC end-page, or a cover with commercial copyright, single column body text blank back page etc.).
    I can create a new document from the 4.3 template in Pages 5, but I can't work out how to access these various internal sections.  Anyone know?

    I've just confirmed that the templates features have been removed - if you 'roundtrip' a Pages 09 document into Pages 5 and then save it back to Pages 09, the resulting document has had all the template section related information removed along the way.
    This is a serious blow for us - we similarly use multi-purpose templates in Pages 09 (e.g. just one for all the variations of invoice we generate).  Initial reports in these fora and elsewhere suggest that there are several other key features that didn't make it through to the latest version of Pages - unclear whether these make the application unusable in our production environment or not.
    What is most frustrating is that the new Pages finally has proper RTL support (which we've been wanting for ages)... aaagh!
    But at least we were just about to create a new set of templates, so maybe we use this as 'final nail in coffin' and invest this time in another app - I guess NeoOffice is the most likely candidate, as MS Office (on OSX) still does not support RTL in any sensible fashion.

  • Creating multi-section templates in Pages 5 - how?

    In Pages 4.3 you could define and name various multi-page sections that lived 'within' a document template, and then pick from these to build up a document.
    You could control these internal sections within the template using the "Manage Pages..." command (having first moved arbitrary sets of pages to the template area using the "Capture pages..." command.
    I can't find any equivalent to either of these commands in Pages 5 - am I missing something?  Or is Pages 5 currently short of this feature?

    I've just confirmed that the templates features have been removed - if you 'roundtrip' a Pages 09 document into Pages 5 and then save it back to Pages 09, the resulting document has had all the template section related information removed along the way.
    This is a serious blow for us - we similarly use multi-purpose templates in Pages 09 (e.g. just one for all the variations of invoice we generate).  Initial reports in these fora and elsewhere suggest that there are several other key features that didn't make it through to the latest version of Pages - unclear whether these make the application unusable in our production environment or not.
    What is most frustrating is that the new Pages finally has proper RTL support (which we've been wanting for ages)... aaagh!
    But at least we were just about to create a new set of templates, so maybe we use this as 'final nail in coffin' and invest this time in another app - I guess NeoOffice is the most likely candidate, as MS Office (on OSX) still does not support RTL in any sensible fashion.

Maybe you are looking for

  • ¿How can I reinstall iPhoto after having it accidentally removed?

    The thing is iPhoto came with my MBP when I first bought it, back then the osx was Lion. I was having trouble using my apple id to download stuff from the app store so my ex girlfriend (back then my girlfriend) used her id so that I could download fr

  • Error message when opening Safari on my Dell laptop

    When I open my Safari browser on my laptop I get an error message that says *webkit2webprocess.exe - entry point not found*.  The body of the message reads *The procedure entry point QTCF_CFHTTP message set header field value could not be located in

  • [SONY HDR-SR8E] no audio in imported SD files (MPEG2/AC3)

    Our office just bought a new HDR-SR8E, and i need help so that SD (MPEG2) files shot with it can be edited, but apparently we couldn't get any audio from them. I know it's because iMovie doesn't support AC3 5.1 and it's not actually MPEG2 imported bu

  • Leica T

    I can't import the annoying DNG images generated by the leica T. Yeah, it's new, but aperture supports other dng formats. Lightroom 5 imports it, but that program is annoying. Any tips on how i can get a leica T dng into aperture?  (Opening the dng i

  • Starting X after tty Login

    Hi, I've just returned to Arch after a long break and decided to give it a proper go to get a better understanding of how the Unix OS and Linux Kernel works. (I gave up with Arch a year ago because I spent too much time trying to find solutions to pr