Dynamic Web Templates

I have been using DW for about 8 months now. I have created
several sites and typically create a template first and then attach
pages as needed. In the past the links update themselves correctly.
I have the templates in a separate directory, so links in the
template look like <img src="../images/example.gif">. When I
attach say an index.html, the link updates correctly to <img
src="images/example.gif">. Now all of a sudden when I am
attaching pages the updated link is referring to my local drive
such as: <img
src="file:///F|/Websites/Example/website/images/example.gif">.
Any idea what has happened or maybe what setting I have borked up?
I have gone through the online help and haven't found anything so
far.
Thanks

Try this. Create a new page in DW. Insert an image on it. Do
not save the
page. Look at the HTML markup. See the link to the image? It
should look
like this -
<img src=''file://C|whatever.gif...�.''
Note that the link is pointing to a file on your hard drive.
This is
because DW doesn't know yet where you are going to save the
file. Now save
that file within your current site, and look at the HTML
markup again. You
should see something like this -
<img src=''whatever.gif'' (if you are using document
relative links), or
this -
<img src=''/whatever.gif'' (if you are using root relative
links)
Now save the file again, only save it *OUTSIDE* the current
site. Look at
the HTML markup and you should see something like this -
<img src=''file://C|whatever.gif...�.''
This is because you have saved the file outside the current
site, and DW
must use an absolute (local) link to the image to keep track
of it.
Clearly those absolute (local) links will not work when you
push this file
to the web - it cannot display an image that is on YOUR hard
drive.
Could something like that be happening for you?
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
==================
"hoodcanalbill" <[email protected]> wrote in
message
news:[email protected]...
> It does appear that other changes to the site update
correctly. Only
> things
> relating to links from the template to say, an image
look fine in the
> template,
> but then when I attach the template to the page, it
changes things to the
> file:///F|...ect. It is doing this on all the sites that
I built before in
> this
> same manner and didn't have this issue. In thinking
back, I think this
> started
> after doing the latest Updater 8.2 for my Dreamweaver.
>
> Thanks
>

Similar Messages

  • Using dynamic web template

    Hello every body:
    I'll design my web by ADW CS3 , I need using dwt extension, I
    know how I can used it by frontpage but I don't know how I can
    using it by DW, how I can attach dynamic web template,
    Can any body help me?
    Thank you.

    Open DW. Press F1. Read about how to create and use
    Templates.
    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
    ==================
    "small digital" <[email protected]> wrote in
    message
    news:fvc2a7$nf0$[email protected]..
    > Hello every body:
    >
    > I'll design my web by ADW CS3 , I need using dwt
    extension, I know how I
    > can
    > used it by frontpage but I don't know how I can using it
    by DW, how I can
    > attach dynamic web template,
    > Can any body help me?
    > Thank you.
    >

  • Dynamic Web template not updating

    I am using EW4 and have created a dynamic web template. Some of the pages of the site have all of the updates but some don't. I am not changing any of the layout, text or graphics it is just the links. When I preview the pages  some of them show all
    the links but some show none. 
    I am on a different computer than the one I created the new pages on.
    I have tried to "save all pages"
    I have saved the template pages. 
    I have searched this forum and hit the"recalculate links" button and also "maintain site using hidden meta file" button but it is still not updating. 
    Any ideas?
    Thanks

    My point was that in 99.999999% of the cases (approximately), the problem is user error (or a user-caused problem, such as non-standard workflow), but the first solution people go to is to blame the software and uninstall and re-install it.
    And even if, in the very, very, very rare case that an installation is corrupt (when was the last time you had commercial software become corrupted?), simply uninstalling and reinstalling usually doesn't fix the problem, because corrupted files are
    left on the hard drive during the uninstall process. They remain there and cause the same problems after reinstall that they caused initially. Without doing a thorough clearing of all old files and Registry entries, the new install is plagued by the same problems.
    As Scott has noted, we have had exactly one documented report in this forum in all these years of a reinstall of EW fixing a problem.
    Again--the overwhelming majority of problems are caused by people who do not know how to use the program properly and who should be looking inward for the solution rather than outward.
    A horse walks into a bar. The bartender asks "Why the long face?" "Because I was born into servitude and when I die my hooves will be used to make glue." It was at this point that the bartender realized he would not be getting a tip.

  • Dynamic Web Template Override in an  IView in the portal

    We have successfully copied and changed the default web template for displaying queries in the portal and it works fine.  We also use BI planning and would like to use a different template when a planning query is executed.  Does anyone know if there is a way to override the default template for a query on a case by case basis?   That is, when creating the web template IView, can an alternate web template somehow be specified in addition to the query or is there any exit that provides this type of control?

    Hi,
    sorry, this is no solution - but I can confirm the problem with anonymous service access. Maybe It is helping a little bit enclosing the problem.
    It occurs regardless of authentication mode of the accessed service from iView. It happens with all system objects (web services and other PCD Systems). This problem is regardless of the Web Service or system authentication method. For auth services we tried user mapping - but doesn't work like with non-auth. services.
    I can confirm that there are no problems running the same config with an authenticated portal user.
    Technicaly the anonymous user is a authenticated user too, (J2EE_GUEST). He is logged in automatically during portal access with the browser. It seems there is a restriction in handling the anonymous group.
    There is a other 4 week old thread on SDN, relating to the same problem (unsolved) "an XML element was malformed" error with anonymous user
    I keep looking for a solution.
    Regards
    Michael

  • Calling query doc. (text file) from a web template with JavaScript

    Hi,
    I would like to have an explanation of the following:
    My goal is to develop a solution within a dynamic web template that supports calling of query documentation (description and purpose of the certain report). This query documentation will be provided from a textfile(e.g .csv) and presented under the information tab applying a text element web item. This will be done with query technical name acting as key with the following column structure:
    Technical name    Description    Purpose
    I really would appreciate if anyone could provide me with a more or less detailed solution proposal for this. Javascript etc.?
    Thanx in advance

    You can use the command line tool cURL instead of a GUI browser.
    set myFonts to do shell script "curl http://site.com/fonts.txt"

  • Dynamic url to use as link in a web template

    Hello
    I`ve git the following problem:
    I want to define a hyperlink in a webtamplate (WAD), that referes to an existing query an my sap-system.
    Of course, that link should point to the developement-system if achieved there, bit after beeing transported to q-system it should point to that.
    I think, that there must only be a change to the first part of that url, a string that will be determined systembased.
    Any solutions?
    Thx a lot
    Tom

    You can generate the string dynamically based on program, and store it in some table to pass it.
    Get the prefix from field URL_PREFIX  of table RSPOR_T_PORTAL.
    Now create iView for that web template...say iView - test
    use the below string say STRING
    '/irj/servlet/prt/portal/prtroot/com.sap.portal.pagebuilder.IviewModeProxy?iview_id=''
    Now give the location of iView of portal: say LOC
    For example if its in main folder of content admin role:
    'pcd%3Aportal_content/com.abc.abc_content_folder/com.frx.ZDW_IVIEWS/'
    Now give your iView id: TEST
    now concatenate URL_PREFIX, STRING, LOC & TEST that's the string which you can pass dynamically on any portal server.

  • How can I pass the web template name dynamically to a container

    Hi Experts ,
    I have a container web item in 7.0
    I would like to pass the name of the web template to be displayed in that web item dynamically .
    how can I achieve the same .
    How can i change the visibility settings of a container using a javascript .
    Thanks in advance for your help .
    Regards
    Nikhil

    Hi Nikhil,
    When you say that you want to display the name of the template for the container item, I think you are talking about the tray caption for the item - is that correct? You can use a text item to access the web template name, but in the caption of the container item, you cannot specify other web items.
    What you can do it to use a group item in the template and embed your container layout in it. In the group item, you have an option of specifying a caption using another web item where you can reference this text item.

  • Passing Dynamic Filter values to Web template in VC

    Hi Experts,
    Iam working with a Web Template (which is created using WAD)  in Visual Composer Model
    I have an input screen ( Variables Form )in VC Iview which has Fiscal Year, Quarter, week and other input fields which need to be entered by a user.
    This variables are passed to a couple of queires. Also i have a requirement to pass the same vvariable values to Web template also ( WAD)
    I have created a HTML iview in VC Dashboard.and in URL i gave the below URL which is working fine
    "pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=YWEB_PLANNING_ADLAYOUT_2"
    But i wanted the template to be executed with filter values also
    in the actual template i have 4 filters which user needs to enter after the above URL is displayed..
    In order to make the template execution dynamic i added the following URL which is not working:
    http://Host:port/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=YWEB_PLANNING_ADLAYOUT_2%26FILTER_IOBJNM%3DZFISCYEAR%26FILTER_VALUE%3D2009%26FILTER_IOBJNM%3DZREP_WEEK%26FILTER_VALUE%3D42%26FILTER_IOBJNM%3DZFISCALQTR%26FILTER_VALUE%3D3%26FILTER_IOBJNM%3ZNSPLITREG%26FILTER_VALUE%3DAS%26FILTER_IOBJNM%3DZRSKOPP%26FILTER_VALUE%3DR
    Please let me know how to pass dynamic filter values from "Variables Form" of VC iview to Web template HTML iview
    Thanks
    P.Navakanth

    Hi,
    this is my sample:
    'http://**********/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=TESTE1&DUMMY=0&BI_COMMAND_1-BI_COMMAND_TYPE=SET_VARIABLES_STATE&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE=VARIABLE_INPUT_STRING&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE-VARIABLE_INPUT_STRING='&DSTR(NOW(),'MMYYYY')&'&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE=GLIPM002&BI_COMMAND_2-BI_COMMAND_TYPE=SET_SELECTION_STATE_SIMPLE&BI_COMMAND_2-TARGET_DATA_PROVIDER_REF_LIST-TARGET_DATA_PROVIDER_REF_1=&BI_COMMAND_2-CHARACTERISTIC=GLC000079&BI_COMMAND_2-RANGE_SELECTION_OPERATOR-EQUAL_SELECTION-MEMBER_NAME=****'

  • How to make keyfigure columns in-/visible dynamically in a web template

    Hello,
    I want to implement a button into my web template, making a first key figure column invisible, a second key figure column visible. Clicking the button again shall make the first column visible, the second invisible.
    How can I achieve this?
    1) Using the filter_pane_item it is possible to choose the key figure structure and the a key figure for the analysis_item. Can this action be encoded behind a button?
    If this would be clear, create a first button to choose the first key figure, then a second button to choose the second key figure. Finally enhance both buttons making one another visible and we are done.
    2) An idea was to define two query views, one with the first key figure visible, one with the second key figure visible. Then again two buttons assigning the analysis item these two data providers. Finally again the trick, making one another invisible.
    But this has the drawback, that after navigation, drill down, etc. in one view, then switching to the other cleary looses the navigation status.
    Thank you + regards,
    Ingo

    Problem has been solved

  • Handling Dynamic Filter Values in Web Template.

    Hi friends,
    I have a Authorization Hierachy Node Variable on 0COMPANY and this is placed in Free Characteristics in BEx Query.
    Now i want to catch the value of this Company in Web Template either using Text Element web Item or etc. and then pass this value to the Print Layout of the same report.
    Could some body help me on this.
    Thank you very much advance.

    Hi,
    this is my sample:
    'http://**********/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=TESTE1&DUMMY=0&BI_COMMAND_1-BI_COMMAND_TYPE=SET_VARIABLES_STATE&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE=VARIABLE_INPUT_STRING&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE-VARIABLE_INPUT_STRING='&DSTR(NOW(),'MMYYYY')&'&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE=GLIPM002&BI_COMMAND_2-BI_COMMAND_TYPE=SET_SELECTION_STATE_SIMPLE&BI_COMMAND_2-TARGET_DATA_PROVIDER_REF_LIST-TARGET_DATA_PROVIDER_REF_1=&BI_COMMAND_2-CHARACTERISTIC=GLC000079&BI_COMMAND_2-RANGE_SELECTION_OPERATOR-EQUAL_SELECTION-MEMBER_NAME=****'

  • Delete button in Web template

    Hi ,
         We have a requirement to delete the saved data in Web template, we want the saved data to be deleted. Can somebody help me to with the java script . The reset button or any other given functions are not helpful.
    Thanks in advance

    Hi Rakshita,
    Wat Deepti says is correct. But one more point is that you need to dynamically bind the web item selection to a filter so that Delete function can delete that row alone.
    Otherwise all your data in the web template will be deleted.
    Regards,
    Mint.

  • ADF 11.1.1.5 - Oracle Dynamic UI Template - Listener

    Hi All,
    I am facing a strange issue while implementing Oracle Dynamic UI Template.
    I have implemented a context Listener to store few data in application scope.
    Correspondingly i have made the entry of the Listener in Web.xml. I am getting the following error ADF FACES 60097.
    When i remove the entry everything works fine.
    No idea whats happening.
    Regards
    Praveen

    Hi All,
    Steps to reproduce the problem..
    1) Create adf ViewController application
    2) Create a jspx with Oracle Dynamic tab Shell as its template.
    3) Under Global toolbar facet...create a <af:Menubar> component and bind it to Managed Bean.
    4) Create 2 class variables of Type List and TreeModel. Create the accesors for it.
    5) Put the debug point on first class variable.
    6) Debug the page...when it hits MenuBar or TreeModel.........Error Message is poping up.
    Regards
    Praveen

  • Opening a URL from a button within a Web Template

    Hi All,
    I have a requirement to provide report specific help from within a standard web template. Assuming that I had a list of help URLs for each report and an intermediary way to redirect to those URL based upon a unique id such as the reports technical name, is it possible to create a generic button from within a web template that would dynamically create a URL based on the reports technical name? I.e., http://www.example.com/page.html?ZGTRPTNME
    To date I have only used the Action "Command via Command Wizard" from within the parameters of the button Web Item. However, I did notice that a Script Function was provided. Has any used this functionality and is it possible to create a URL with the technical name of the report?

    Rekesh,
    I had a look at the document you linked however what I need to find out is how I can place the technical name (dynamically) within the web template URL (i.e., this needs to work for multiple projects over many reports that all use the same global web template).
    It's actually very easy opening a new window via javascript however finding the varible for the report technical name remains unclear. At present I am looking at command URL's. The only other option is that I use a java script substring command to pull the report technical name from the URL (although this not as clean as using command URL's).
    EDIT: Found this document: http://help.sap.com/saphelp_nw70ehp1/helpdata/en/43/ef9a6c13f2025be10000000a1553f7/content.htm
    Appears that the command: sapbi_page.GetMainTemplateName(); will give me the technical name of the webtemplate although I'm finding it hard to find the command for getting the technical name of the current report.
    Edited by: Paul Thomson on Feb 18, 2010 4:00 PM

  • 0ANALYZER Web Template - increase number of Rows displayed

    Hello All,
    Is there a context menu command / popup value  that will allow an end-user to increase the *default* number of Rows displayed at a time (25)  when we are using the 0ANALYZER Web template?
    We have about 100 characteristics anyway, so setting the displayed "chunks" of Rows to say 50 at a time would be quite reasonable.
    We do not want to customise 0ANALYZER web template (and therefore any solution to add any extra buttons/JScript won't be acceptable)
    Any ideas 0ANALYZER experts?
    Thanks
    Ian

    Hi Ian,
    My suggestion is that you make a copy of 0ANALYZER_PATTERN web template say ZANALYZER_PATTERN and make this your default web template. Now in the properties of your analysis grid of ZANALYZER_PATTERN, you can change the number of displayed columns and rows. But again this will be appplied to all web queries using this template.
    If you want to change number of rows and columns dynamically, why not ask SAP netweaver team.
    Thanks.
    Sheo

  • Setup dynamic Web Service Data Source

    Hi all,
    is there a way to setup a "dynamic" web service data source like
    WSDL-URL = 'http://${server_ip}:${server_port}/XYZService?wsdl
    and passing in the server_ip and server_port variables from outside upon document rendering?
    As far as we have seen, there is not way to do so - leaving us with a static web service data source configuration that is only able to point to one specific WSDL.
    The use case we have here goes like this:
    1) We have one specific template for a specific document to be rendered.
    2) Depending on the caller, the data source must be different, i.e. the same web service at different endpoint addresses must be called to fetch the right data.
    Any ideas?
    Thanks in advance.
    Best regards,
    Stefan

    Hi Klaus,
    thanks for your reply. We also had that idea with the router web service ;-) But a little more flexibility would be great for us due to our decentralized system landscape.
    Currently, we are in the evaluation phase of BI publisher to replace our local reports (sales documents) with BI Publisher reports having one central instance of BI Publisher and n local store instances all providing a getSalesDocument() web service.
    To be able to call the correct web service, a dynamic config of web service endpoints would be helpful.
    Best regards,
    Stefan

Maybe you are looking for

  • How to install fonts in Adobe Livecycle Designer

    Hi All,    I want to install new fonts in adobe LiveCycle designer.    I installed this fonts in Control Panel >Fonts>File -->Install New Fonts and it is possible to see them in  Livecycle Designer but when i preview the adobe print form this not wor

  • Firefox 2.0.0.9 crashes

    Hi, I'm encountering frequent Firefox crashes. This is what I get: [dante4d@arch ~]$ firefox (gecko:11896): Gtk-CRITICAL **: gtk_widget_destroy: assertion `GTK_IS_WIDGET (widget)' failed The program 'gecko' received an X Window System error. This pro

  • Can i make subcircuit in multisim like subvi in labview?

    in my project i have to work in modules, so can i connect those? like we use SUBVI in labview, can i make subcircuit in multisim?  Solved! Go to Solution.

  • Multi-Channel (more than stereo) Audio Editing

    Hi, is there a way of setting Audition, to when opening multi-channel WAVs, to open them all in one display? Currently, if you open a stereo WAV, you get both channels visible so you can edit both channels as one. However, if you open a 5.1 WAV, you

  • Cs 4 to CS 6

    Hi I have the full version of Photoshop CS4 and I have just upgraded to Photoshop CS6. My question is, can I uninstall Photoshop CS4 from my computer or do I need there for Photoshop CS6 to work? Tine