D8 Templates Query

D8 is my shortform for Dreamweaver 8).
I am trying to create templates and getting in a bit of a
pickle!
I have 3 main level files (.shtml), trying to create a .dwt
for the index.shtml).
I have includes for the header, banner and footer. all work
OK so far. Note that in a Contribute training book I am using it
says that the best include is one which does NOT have the 'html' or
'body' tags - so I removed them to remain in the main file.
The 1st problem is that I have "body class="body", etc so
that I can control the "current" state of the main links. The
template for the index file contains this as non editable - fine.
BUT for the other pages I want ONE .dwt but this would seem to mean
that I cannot have body class="2nd main page", and body class="3rd
main page" in the same template for these pages which are the same
in all other ways. Do I need a different template for each file or
is there another solution or more likely have I missed the obvious?
The 2nd problem relates to displaying the design view. The
template design view I have for the index.shtml file does NOT see
the CSS files so it shows "without css". I see that when creating
the template it changed the includes from ./css/"mycssfile" to
../css/"mycssfile" for itself (apparently correct because it site
same level as the css files). If I try various combinations of
file/virtual in the site management or change the referencing in
the includes and index either the dwt diplays ok but it does not
render (as one would probably expect) in the browser or index D8
design view changes to "no css".
Can someone save my keyboard in time?

Where you have <body class="..."> can you instead
include a CSS definition for body in a linked stylesheet. You can
have a different stylesheet for each D8 template file, and your
stylesheets can contain pseudo classes for a:hover, a:link etc.,
see
http://www.w3.org/TR/REC-CSS2/selector.html#link-pseudo-classes
Can you also try linking the stylesheets in a way D8 would
normally do it with either:
<link href="../css/mystyle.css" rel="stylesheet"
type="text/css" />
or:
<style type="text/css">
<!--
@import url("../css/mystyle.css");
-->
</style>

Similar Messages

  • Transport Web Template, Query from development to productive system

    Hi!
    How can I transport Web Template, Query, workbooks from development to productive system?

    RSA1 ---> Transport Coonection ---> Object Types -
    > Select Web Tempelate ---> Drag to right and group under transport
    Similary do for other objects
    Thanks
    Amit

  • Web template query

    Hi
    How to include request while deleting web templates.
    Regards
    Indraneel

    Hi Indraneel,
    When you create a Web template query it asks for a TR right ? So when you delete the query the deletion gets automatically recorded in that TR. Now to check if this is true please follow the following steps.
    While creating the Web template query you get a TR right ? After creating the query please delete this TR.
    Now your query is not associated with any TR.
    Now try deleting the query it will ask for a TR.
    Please revert if any issues
    Regards,
    Pramod

  • Templates query have no children elements

    same query for meetings returns correctly number of childer,
    but for templates I get xml that only have
    <node href="/accounts/bkf/my-account-id/templates"
    type="cr:folder">
    <name>templates</name>
    <properties>
    <property name="cr:owner" type="string">
    <value>...</value>
    </property>
    <property name="jcr:created" type="date">
    <value>2009-02-17T23:33:22.804-05:00</value>
    </property>
    </properties>
    </node>
    url:
    https://na2.connectnow.acrobat.com//app/content/accounts/bkf/my-account-id/templates/?gak= lalala
    but same url for meetings:
    https://na2.connectnow.acrobat.com//app/content/accounts/bkf/my-account-id/meetings/?gak=l alala
    returns all children along with container folder metadata
    etc ..
    so Java code throws NPE when trying to iterate through
    templates :
    Element children = (Element)
    repository.getElementsByTagName("children").item(0);
    //children is null
    NodeList nodes = children.getElementsByTagName("node");
    error:
    error listing templates
    java.lang.NullPointerException
    at AFCS$AccountManager.listItems(AFCS.java:290)
    at AFCS$AccountManager.listTemplates(AFCS.java:343)
    at AFCS.main(AFCS.java:668)

    you are correct.
    all the other scripts are fine when no <children> tag
    is present, but the Java version chokes. I'll fix it for next
    version (and I wish I used XPath or a better XML parser for this
    but I tried to limit the dependencies from external jars where
    possible)
    thanks for reporting the problem.

  • Approval Template Query

    Hi, Is it possible to setup a approval template where an approval is required for all AP invoices that include a GL account that has a budget set for it?
    Thanks,
    Jane

    Hi,
    Yes possible to set approval template by means of query which is to be assigned under "Terms tab". But following condition should be meet,
    1. Under general settings--->BP tab, you have to select "Warning" check box.
    Thanks & Regards,
    Nagarajan

  • Baseline Template Query LMS 4.2 - IP address

    Does anyone know how to create a baseline template that would validate a configuration to ensure that it only has 1 IP address terminating on it?  The IP address may terminate on an SVI or an interface, but must only have the 1 IP address on the device
    Any information or suggestion would be appreciated.

    Hi Afroz,
    Thanks for the link however I was unable to find any information that would help me with my query.
    Here's the issue. Multilayer switches can have multiple IP interfaces on them and on certain devices on our network, I want to ensure that there is only 1 IP interface. So, if the device only has 1 IP interface, the configuration is compliant. If the device has multiple IP interfaces, the configuration is non-compliant.
    The other factor that would complicate things is that on some devices, the IP interface would be an SVI while on others the IP interface would be on an Ethernet port.
    I hope this helps clarify my query.
    Thanks,
    H

  • Date value in report template Query

    Hello - I have a report that is scheduled to run every first day of month. It extracts the data and reports the all orders information for the last month i.e. if the report is running on September 1st 2010 then it will show the data for the August 2010.
    My report heading needs to be in format as below:
    Total Number of orders Report As of <MON> YYYY
    For example;
    Total Number of Orders As of AUG 2010
    Total Number of Orders As of JULY 2010
    Can you guys please tell me how to set this format in RTF template.
    BIP verion: 10.1.3.4
    I tried this format <?xdoxslt:sysdate('DD-MON-yyyy')?> but apparently I can not subtract from this i.e. <?xdoxslt:sysdate('DD-MON-yyyy') -1?>
    Edited by: user12954983 on 31-Aug-2010 12:54
    Edited by: user12954983 on 31-Aug-2010 12:56

    using this <?xdoxslt:ora_format_date_offset(xdoxslt:sysdate(),2,’+’)?> is showing me an output of 100831 if i run it now which is the same date as of sysdate.
    However i found this and it worked
    <?format-date:(xdoxslt:ora_format_date_offset(xdoxslt:sysdate('YYYY-MM-DD'),31,'-'));'MON-YYYY'?>
    To be pricise I used:
    As of <?format-date:(xdoxslt:ora_format_date_offset(xdoxslt:sysdate('YYYY-MM-DD'),31,'-'));'MON YYYY'?>
    In my final template I will have like this:
    As of <?format-date:(xdoxslt:ora_format_date_offset(xdoxslt:sysdate('YYYY-MM-DD'),1,'-'));'MON YYYY'?>
    Thanks for your help though

  • Index and template query

    I am having a few problems i have my dreamweaver site created and i have used FTP to load my files up to my web host.....however when i go to my website i get the following in my browser  http://www.matthewroe.co.uk . i get a strange index screen also through going through my files using the index in the browser i can get to my website pages...
    however the only pages that dont seem to work are the .dwt template pages i created i just get a screen of code instead of my page. this can be seen by clicking on public_html - website - site - temp_site -  home - projects - short animations - lamborghini - then click the small thumb nails on the left. (this step has to be done by going through the index on the browser.
    Main qeustions i have are firstly how do i get my site to work correctly without arriving at an index page, and also how do i get my templates to display properly once clicked?
    thanks very much for your time
    Matt
    http://www.matthewroe.co.uk

    gigsywigsy wrote:
    thanks for your reply,
    i have created a site inside dreamweaver containing a local root folder etc, im just unsure about how the structure of the pages need to be loaded onto a web host, when i simulate my site inside dreamweaver it works fine,
    If everything works locally, then you upload the files exactly as you have then structured in dreamweaver.  Just select all the files on the local site and 'put' them on the the remote site..so that both structures are exactly the same
    So if you ever need to move a file into another folder, do it within Dreamweaver and when you upload it, 'put' it into the corresponding folder on the remote site.
    Also i didnt rename my index folder i had that named index already it was just inside another file called 'home' inside the  structure of my site files, so i just uploaded straight from the 'home' folder
    Ok, this was the big mistake and caused the linking errors.  If you need to move any files, move them within dreamweave via the Files panel on the right.  If you move or rename files or folders outside of dreamweaver then you end up with broken links as you have proven now by moving the index file outside of the home folder.
    The only way to fix this now is to move the index file into the root of your Dreamweaver site.  You will be asked to update any links.  Say no for now because you're links are already broken.  Open index.html file in DW and then re-create all your links. Now, make sure that any html page inside other folders have the correct link to the index page  (they won't now because you moved it).
    Now you have to  upload the site back to the remote host, ensuring that you upload to the root as you have now.  As long as all the other folders and files within them correspond to what you have in DW, then all your linking should work.
    PS:  I would remove (delete) all your files from the remote server when you are ready to upload the newly updated site.. keeps your server clean.
    example of what I may have for a site in Dreamweaver - fairly simple, but just to give you an idea.....
    Root of site:
      index.html
      aboutus.html
    CSS folder
        site.css
    Images Folder
        all imagesfor site in here
    so when I upload all the above to my server, the structure is exactly the same.  The index.html page always has to be in the root of this site, both locally and remotely, so that when you type in your domain  name, the index.html page will load automatically without you having to type in www.example.com/index.html
    Hope all that makes sense  :-)

  • Appraisal Template Query

    Hi all,
    I have created the Appraisal template using the config node Edit Appraisal catalog in SPRO and released the template. But when Iu2019m trying to use that template using T.code  PHAP_CREATE or APPCREATE, it is giving as No template found. I have activated all integrations switches (Appraisals and qualifications).
    Please let me know is there any additional steps need to be setup?
    Thanks in Advance,
    Soujanya

    Hello,
    Just to confirm:
    Use transaction phap_catalog_pa and check whether your template is found there or not.
    if not create it there release it and retry to create document (phap_create).
    Kind Regards,
    Narendra

  • HTML TEMPLATE QUERY

    Hi everyone,
    I am creating a website for a friends shop. He wants a list
    of products down the left hand side of the page that remains the
    same throughout site. Is it best to create a new HTML template add
    css elements and the text of the products. Then leave an editable
    region on the rest of the page so this can be changed. However only
    the text on the left can be edited using the template file.
    Thanks,
    Rich

    Either that or server side includes.
    "snowboardingrich" <[email protected]> wrote
    in message
    news:f4hnlu$40q$[email protected]..
    > Hi everyone,
    > I am creating a website for a friends shop. He wants a
    list of products
    > down
    > the left hand side of the page that remains the same
    throughout site. Is
    > it
    > best to create a new HTML template add css elements and
    the text of the
    > products. Then leave an editable region on the rest of
    the page so this
    > can be
    > changed. However only the text on the left can be edited
    using the
    > template
    > file.
    > Thanks,
    > Rich
    >

  • SUS Web Template Query

    Hi All,
    My client's requirement is that the SUS vendir should see BW reports. As no link is there to see BW reports in SUS and we are not using Portal.
    Do we add BW Hyperlink to view BW reports through Business Explorer or can we do modification in SUS Template so that Vendor should accedd BW reports by clicking on BW Hyperlink ? 
    Regards,
    Lovkesh

    Hi,
    If you have the reports created in SRM itself(Then no need to connect to BW and if the reports are few in number)),you can modify the SUS BSP's(Most of the Std SUS applications are BSP's) to include the hyperlink to these reports.
    BR,
    Disha.
    <b>Pls reward points for useful answers.</b>

  • Changing variable values in query navigation

    Hello,
    We used to use the functionality of a user exit variable for a web template query and could enter a default value for a query, like yesterday's date. This allowed the web template to be presented without a user having to enter variables in order to initially see data. Then either dropdowns or the navigation block objects could be used to navigate the query. To do this the, "Can be changed in query navigation", was set to on. In BI 7.0 this functionality has been removed. Is there a way to provide a default value to a characteristic that can still be changed during query navigation?
    According to documentation this functionality has been enhanced with default values in the variables but there does not seem to be a way to enter a non-fixed value and still change it during navigation.
    Any assistance would be appreciated.
    Thanks,
    Rick

    This can be done by changing the variable to be processed with user exits and changing the user exit for variables to populate the variable value at runtime.

  • Authorization Issue when Broadcasting a Web Template

    Hello All,
    we want to broadcast a WebTemplate as an Online Link.
    The User can Broadcast Queries and so on without issues.
    But when they try to send a WebTemplate, they get an Authorization Error RSRD 003.
    "You do not have authorization to display the requested object (for example, Web template, query....). Thats why it is also not possible to load broadcast settings into the broadcaster for the object."
    It is not clear for me as the users are not allowed to schedule broadcast settings, but they can send ad hoc.
    So what can I do?
    Your help would be welcome

    Hi,
    Please try this for this issue.
    Authorization error: Notification Number RSRD 003
    If your issue is workbook based and you run..
    TX: rsrt2
    cmd=start_broadcaster70&source_workbook=GX9JCKH3ZSHN4PFAMG45QEBMJ
    and get an authorization error: Notification Number RSRD 003
    Then you do not have the correct role assigned to your test user to see this workbook
    if this is the case proceed as follows:
    in tx: se37
    function module..... RSBB_WORKBOOK_AGR_GET
    select the test icon
    enter your workbook id in the field: wkbid
    execute                
    double click on the entry
    result= the missing role
    The missing role is the one that you need to assign to your test user to be able to proceed.
    Thannks
    Hemav

  • BEx Broadcasting in portal PDF format thrugh Query designer

    hi,
    i have a problem in sending a query as a mail using broadcaster in pdf format through portal
    The steps to reproduce:
    from Query designer executing a query , it takes me to portal screen, there right click on the report and Broadcast and Export->Broadcast Email..Then a new window opens with BEx broad caster.From that  if i select the Tab Information Broadcasting, there is a Description :No BW object selected, select a template ,Query or a workbook. "  If i open Setting Web Template Tab: and if i  select from HIstory 0BROADCAST_TEMPLATE70 or Stanard Web Template for Broadcasting>Transfer-->then i am getting the new window as Distribution Type: 1.Broadcast Emai 2. Broadcast to portal.. , And Output type1.MHTML 2.HTML 3. Online Link to Current Data.
    But i am not getting  Output Format "PDF",
    guide me what to do to get the PDF option as OutputFormat.
    where i am getting these  options in Query designer itself Query-->Publish. but not in portal when calling portal through query designer by executing a query..
    Thanks in advance

    Hi,
    Think these below links will help you.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/8053f46f-0701-0010-a697-9b33f8b7d2f5
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b03ff263-1e5d-2a10-0d89-a1d4424b101b
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40d5d4dd-5d55-2a10-0cac-8639377bd5b7
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/664db870-0701-0010-ed92-daa4ea9fde8d
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/296edc90-0201-0010-7982-c6dc0b288296
    /people/sap.user72/blog/2005/12/23/summary-of-new-features-for-information-broadcasting-in-sap-netweaver-2004s
    /people/community.user/blog/2006/12/28/exception-broadcasting-in-sap-netweaver-2004s
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0bfcac90-0201-0010-52a3-d5b270b86ef3
    Kind Regards,
    Shanbagavalli.S

  • Error in parsing template

    Hi All!
    I'm experiencing really strange behavior of my adobe forms... I developed the form, deployed it, launched it several times and everything was fine. Few days after, I just changed the font size for only one text field on the form and it didn't work anymore. Instead of the form i'm getting the message "Error in parsing template". Even if i change the font size to the old value it doesn't work. Suddenly after i deleted and put one text field again on the form (different text field than the one i changed font size of) form started to work again :-S... I'm very confused... Does anyone have any idea what could be the reason for that? It looks like xdp file becomes corrupted for some reason. I'm using Live Cycle designer 7.1....
    Thank you in advance....

    Yes, Srinath,
    It is working fine. Even in region Template, query executed successfully and returns the result. but same time we get error in UCM logs.
    Thanks

Maybe you are looking for

  • Jabber For Windows - Available Status on Hibernation

    We're running Jabber for Windows 9.1.1 ansd see an issue which I think is casued by hiberantion. A laptop user will be at their pc and and Available, then on leaving their desk, they would typically just close their pc lid, hibernating the pc,  and l

  • REP-56055: Exceed max connections allowed: 20

    I have a application server and a db server.I run several reports,then the error message comes up.So I reboot the app server but the problem isn't fixed. How to solve the problem?

  • Runtime error in updating initialization data from ODS in to an Infocube

    Hi experts, i have uploaded the init request in to an ODS.Now when i am trying to update this init request by selecting <b>Update ODS Data in to data target</b> fron the context menu of ODS I am getting Short dump saying: MESSAGE_TYPE_X" C SAPLRSSM"

  • How do I get analog hi 8 video into FCE?

    I am trying to get hi 8 video into FCE (or iMovie HD). I have the hi 8 tape in a Hitachi D.S.P. III (digital signal processor) camcorder. This is connected to my Sony mini-DV digital camcorder. My camcorder has A/V>DV option. I have my camera connect

  • Comment Box in Web Dynpro Screen

    Hi Friends, We have developed a portal using webdynpro. Where we need to bring user comments from ECC, which are provided through java portal. Please suggest me in designing comment box(Feedback long text) and displaying the data. Which UI_element I