Linking to stylesheet using templates

I have a site that looks just the way I want on my local
machine. It uses a stylesheet and a template for the entire site.
However, when I upload the entire site, the link to the stylesheet
changes and is ineffective. So on my local machine, the stylesheet
is located in the site root folder, and the template of course is
in a templates folder. In my template file, I just refer to the
stylesheet like this - ../style.css - and everything works fine.
Then I upload to a server and my page loses all style. Upon
inspection of the code, I see that it has changed to now refer to -
templates/style.css - in getting the stylesheet. Why is this
happening? better yet, how do I fix it so the page is styled on
both the server end and my local end? thank you for any
help!!

Upload the template and post a link to it, please. I'm
betting that the
link to the stylesheet in the template is actually this -
<link href="style.css"
not this -
<link href="../style.css"
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
==================
"MacYOmedia" <[email protected]> wrote in
message
news:fm2vf1$7qg$[email protected]..
>I have a site that looks just the way I want on my local
machine. It uses
>a
> stylesheet and a template for the entire site. However,
when I upload the
> entire site, the link to the stylesheet changes and is
ineffective. So on
> my
> local machine, the stylesheet is located in the site
root folder, and the
> template of course is in a templates folder. In my
template file, I just
> refer
> to the stylesheet like this - ../style.css - and
everything works fine.
>
> Then I upload to a server and my page loses all style.
Upon inspection of
> the
> code, I see that it has changed to now refer to -
templates/style.css - in
> getting the stylesheet. Why is this happening? better
yet, how do I fix
> it so
> the page is styled on both the server end and my local
end? thank you for
> any
> help!!
>

Similar Messages

  • Video or step by step tutorial link for create forms using template.fmb

    Hi,
    Give me link which provides step by step tutorial or video tutorial for the following:
    1. where should i save the template.fmb and library files in my local machine
    2. how to create customize form using template.fmb
    3. how to do test run that form in local machine (i'm asking this because the template form having reference to app libraries)
    3. how to convert .fmb to .fmx
    4. how to register that form in apps
    i understood about how to do the above process through existing threads in this forum, but i getting lot of errors and confusion while i'm implementing. so please tell me steps or give link which provides details.

    What Forms version are you using? While you're at it, what is your database and OS versions also? Can you provide us with an example of the type of errors you are getting?
    (i'm asking this because the template form having reference to app libraries)Developing Forms for Oracle Enterprise Business Suite (EBS) is different from non-EBS applications because of the EBS Framework and standard processing that occurs.
    Your BEST resource for developing EBS Forms is the Oracle Applications Documentation library. Select your EBS version and then find scroll to the Standards section and review the following documents:
    <ul>
    <li>Oracle Applications Developer's Guide
    <li>Oracle Applications User Interface Standards for Forms-Based Products
    <li>Oracle Application Framework Personalization Guide
    </ul>
    For most of your questions, you'll find the answers in the aforementioned documents.
    1. where should i save the template.fmb and library files in my local machineMy guess is that many of the errors have to do with attached libraries. The APPSTAND.fmb, TEMPLATE.fmb and all of the Apps Libraries (.pll) must be in the FORMS_PATH. Which means you will need to modify the FORMS_PATH registry entry for your Forms version (6i or 10g) and EBS version (R11 or R12).
    3. how to do test run that form in local machine (i'm asking this because the template form having reference to app libraries)You can't - there are too many EBS Framework calls that will generate errors when the form runs outside of the EBS Framework. You have to test your form in a Test/Dev EBS system.
    3. how to convert .fmb to .fmxUse the Forms compiler executable. (frmcmp.exe - on Windows)
    4. how to register that form in appsThis process is too indepth to explain in the Forum - read the Administrator Guides ;-)
    I get the feeling you are trying to learn this on your own rather than attend a class. My advise is to attend some classes. They are well worth the investment! :)
    As to videos, you might want to try searching uTube. I've seen some Forms tutorial videos out there in the past.
    Lastly, your best source of 'Forum' help is the General EBS Discussion forum.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.
    Edited by: CraigB on Oct 14, 2010 9:23 AM

  • Questions on using templates [CS3]

    Greetings,
    I'm trying to figure out the best way to approach an InDesign task, and my rank-novice-level experience isn't cutting it. Normally I'd read through a gazillion help pages and do a bunch of tutorials to try and teach myself enough to answer the questions on my own - but I'm a new parent (~2 months), so don't really have the time to take my usual approach; indeed, it took me several days just to write up this question and post it. So any help is *much* appreciated!
    What I'm trying to do: create ~80 cards for a board game. Each will have similar layout, so creating a template file seems like the way to go. I've never worked with templates before, but doing so seems straightforward enough for things like text, or for an illustration which would be different on every card. However:
    Difficulty #1: Some cards are of one type - call it type A - while others are of type B. Several graphical elements are always the same for a given type, but are different for A vs. B. I'm sure there must be a simple way to say "this file uses all items for type A, and not B", but I'm not sure if this would be best done using different templates, different master pages, setting which layers are visible on an imported photoshop file, or some other technique. (Did I mention I'm a total novice with InDesign?)
    Difficulty #2: There are half a dozen graphical elements (icons), each of which may or may not appear on a given card. Using templates or master pages for all permutations of their visibility seems like a bad idea. But if I simply delete the not-shown objects from each file (assuming one can do such a thing when using templates), that makes later changes (which might involve re-adding them) difficult. In Photoshop or Illustrator - both of which I'm more familiar with than InDesign - I'd simply make the layer/object non-visible; is there an equivalently simple way to "get rid of this object, but let it be easy to bring back" in InDesign? (I've found the "nonprinting" attribute, but that doesn't seem to hide it from view while editing, which makes verifying the layout as correct rather onerous.)
    Trying to look ahead #1: Eventually, I'd like to create an InDesign document which imports all of the single card files into an easily printable layout (9 cards to a page); I'm told this is possible. Is there anything I should know to avoid shooting myself in the foot / making this task unreasonably difficult? (eg: if InDesign throws tantrums when you try to import multiple documents based off the same template, I'd sure like to know that before making 80 cards based off the same template.)
    Many thanks to anyone who can help!
    --Eric

    I'd make the card file at the trim size, and add a bleed allowance if you need one. Export this to PDF withthe bleed, but NO MARKS.
    Ah, here's where I display my novice status:
    1. So you'd suggest just one card file, rather than one file per card all using the same template?
    (If relevant: it would also be useful to be able to distribute 9-up PDFs of, eg, the only the 16 cards which changed in a particular revision.)
    2. I'm familiar with bleed allowance, but am guessing at what you mean by "trim size", and don't know at all what you're referring to by Marks? My experience with actual pre-press production is pretty much nil.
    I should probably mention, since I didn't earlier, that there is a downside to overriding master objects. If you apply a new master, or reapply the old one for some reason, the overridden objects remain and new master objects will be replaced where missing. Also, if you make any chages to an overridden object, that attribute, such as size or position, for example, loses it's link to the master and will no longer update if the master object is edited.
    Mm, that is a difficulty; if I'm understanding this correctly, if I (eg) replaced or moved one of the icons on the master page, it would change on every card for which it was visible (printable), but not on those cards where it had been overridden to be non-printing - only a problem if I have to change which icons show on which cards, but that will certainly happen from time to time.
    Is there a way to tell an object "stop overriding and re-load all your information from the appropriate master object"?

  • Calling the CSV Export link in a Report Template

    I'm trying to have our "download" link appear on the bottom left rather then the default which is to the far right in Look 4.
    When I look at the source code, I can see how look 3 and 4 differ - different HTML table set-up and "align=right" for the link.
    Unfortunately, looking at the source gives me the direct source for that specific report file not the command to include the csv export file, so I can't include it in a new report template design.
    Is there code I can use to include a CSV link in my report template?
    If not, how can I place the report download/csv export into my Nav bar region, or some other region?

    Michelle,
    Typically you'll find the substitution strings documented in the popup help when clicking on the item label. But this one doesn't seem to be listed there. It's documented in the online help though. Click in the help icon in the upper right corner of your page and search for CSV.
    Marc

  • Roller Images using templates

    I am having trouble getting rollover images to work using
    templates.
    For example, on the following 2 page templates:
    http://www.hollandelectronics.com/Templates/template.dwt
    and
    http://www.hollandelectronics.com/Templates/oem_products.dwt
    I put in several rollover images for the menus navigation up
    top. This navigation will be apparent throughout the whole entire
    site... so I figured it would be good to use a template.
    Same thing with the second link. But the buttons to the left
    will only be needed in that category. So I made a sub-template,
    based on the first one.
    When I created the templates and tested online, the links
    will work, but the rollovers do not.
    Any help is greatly appreciated - Thank you.

    Here's a snip of code from your page -
    <a href="../catalog.html"><img
    src="../main_images/b1.gif" alt="" name="b1"
    width="101" height="24" border="0" id="b1"
    onMouseOver="MM_swapImage('b1','','../main_images/b1_over.gif',1)"
    onMouseOut="MM_swapImgRestore()">
    Note that you have applied the behavior for the rollover to
    the <img> tag -
    it should be applied to the <a> tag that surrounds the
    image. Try changing
    your code from that shown above to this -
    <a href="../catalog.html"
    onMouseOver="MM_swapImage('b1','','../main_images/b1_over.gif',1)"
    onMouseOut="MM_swapImgRestore()"><img
    src="../main_images/b1.gif" alt=""
    name="b1" width="101" height="24" border="0" id="b1">
    and see if that helps.
    Also, you have what I think is a killer in your js -
    function MM_preloadImages() { //v3.0
    See that slash? I think that is causing things to not work so
    well. Please
    remove it.
    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
    ==================
    "jamo1616" <[email protected]> wrote in
    message
    news:f5p97j$kes$[email protected]..
    >I have taken over this site from someone who made it
    previously - so the
    > decision to use images as rollovers for buttons was not
    mine to begin
    > with.
    > However, it needs to stay that way for now, until I
    redesign the whole
    > site.
    >
    > I have updated my code - but still no rollovers.
    >
    >
    http://www.hollandelectronics.com/Templates/template.dwt
    >
    > It should work like the man page:
    >
    >
    http://www.hollandelectronics.com/
    >
    > Any thoughts?
    >

  • How to develop forms using TEMPLATE.fmb

    hi,
    Anyone Should suggest me clear tutorial/links to learn forms development using TEMPLATE.fmb with step-by-step development procedure including forms development, register in apps.
    Thanks in advance.

    Abdetu is right, General EBS Discussion is the more appropriate forum for this question. Having said that, creating a new form based on the TEMPLATE.fmb just ensures your EBS Custom form has all of the basic EBS requirements for a EBS form. Developing for the EBS Framework has many requirements and I strongly recommend you review the Oracle Applications Documentation library. Select your EBS version and then scroll to the Standards section and review the following documents:
    <ul>
    <li>Oracle Applications Developer's Guide
    <li>Oracle Applications User Interface Standards for Forms-Based Products
    <li>Oracle Application Framework Personalization Guide
    </ul>
    If you are looking for general "Forms" tutorials, here are a few good links. Although a few of the following links are for older Forms versions, the concepts are still valid across all Forms versions.
    <ul>
    <li>A Tutorial on Oracle9i Forms and Reports
    <li>Tutorial for Oracle10g Forms / Reports
    <li>iSelfSchooling - Basic Introduction to Forms
    <li>Oracle Forms 10g: Demos, Tips and Techniques
    </ul>
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Setting site quota by using template or setting StorageMaximumLevel directly

    we can set site quota by setting quota template, but I wondered if we can just set StorageMaximumLevel value directly in code, would that make too much difference? it seems using template is more like a standard way, is there any real benefits? even
    though we can update the template, but it won't automatically update the site using the template.

    try spsite.quota property.
    try these links as referenc:
    http://www.sharepointdiary.com/2012/05/site-collection-locks-in-sharepoint.html
    http://dotnetbyexample.blogspot.in/2011/03/sharepoint-client-object-model-sites.html
    https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spsite.quota.aspx
    Please mark answer as correct if it is correct else vote for it if you find it useful Happy SharePointing

  • How 2 create coloumns and rows in smartforms using template????

    How to create coloumns and rows in smartforms using template????...
    Kindly explain in details.......
    Regards,
    Faiz
    Moderator message: please search for available information.
    Edited by: Thomas Zloch on Mar 5, 2012

    Hi JV,
    Yes you can create rows dynamically in a table in IF. You can follow the instruction in [this link|Re: Dynamic Table -  same data repeating in all rows] to create the dynamic table.
    Also refer to these links:
    [Data in dynamic table not pass to webdynpro java|https://forums.sdn.sap.com/click.jspa?searchID=16436680&messageID=5638776]
    [DYNAMIC TABLE IN WEBDYNPRO INTERACTIVE FORM|https://forums.sdn.sap.com/click.jspa?searchID=16436680&messageID=5775811]
    Hope this helps!!
    Regards,
    Arafat

  • Send both Toast and Tile Notification simultaneously using Template feature of Notification Hub

    Hi, I am using WNS(Windows Notification Service) With Notification Hub to send Push Notifications to my WP 8.1 Application. I am basically sending localized notification using Template feature of Notification Hub. I have used Localized
    News example  reference for sending localized used.
    Here are my templates and how I am registering them, also How my Dictionary payloads look like :-
    Toast Template Method :- 
    public static string GetToastText01Template(string param,string line1)
    return string.Format(@"<toast launch=""$({0})"">
    <visual>
    <binding template=""ToastText01"">
    <text id=""1"">$({1})</text>
    </binding>
    </visual>
    </toast>", param, line1);
    Tile Template Method :-
    public static string CreateSquare150_150BackgroundTextTemplateWns(string backText)
    return string.Format(@"<tile>
    <visual >
    <binding template=""TileSquarePeekImageAndText01"">
    <image id=""1"" src=""ms-appx:///ApplicationIcon_173_173.png"" alt=""alt text"" />
    <text id=""1"">$({0})</text>
    </binding>
    </visual>
    </tile>", backText);
    Registration With Notificaiton Hub (Part of Register Method basically) :-
    var toasttemplate = GetToastText01Template("NavigateToPageUri" ,GetToastCultureKey(culture));
    await _hubClient.CreateWindowsTemplateRegistrationAsync(ChannelUri, toasttemplate, tags);
    var tileTemplate = ToastFactory.CreateSquare150_150BackgroundTextTemplateWns(GetTileBackTextCultureKey(culture));
    await _hubClient.CreateWindowsTemplateRegistrationAsync(ChannelUri, tileTemplate, tags)
    Toast payload In terms of Dictionary :- 
    Tile Payload Dictionary :-
    Note :- I have ensured that Keys for both the templates must be different during registering the templates so that both templates doesn't mix with each other. 
    Problem :- When I am registering only one Template, doesn't matter Whether it is Toast or Tile, I am able to get the notification on my app successfully(Both of Toast and Tile ,individually, working fine). But When I register both of the
    Templates simultaneously or Individually, then none on them is working.
    Questions :- 
    1) Can you let me know how basically Notification Hub select the Template from Payload Dictionary ? Like in case of two different registered templates.
    2) How can we send Two localized Notifications simultaneously using Template feature of Notification Hub?

    Hi Tanuj,
    Selection of template/registration always based on tags not based on payload keys.
    Just to explain, you have following two devices.
    device A - toast template,  tags: {"en-us", "toast"}
    device A - tile template , tags : {"en-us", "tile"}
    device B - toast template,  tags: {"en-fr", "toast"}
    device B - tile template , tags : {"en-fr", "tile"}
    If you call a method  SendTemplateNotificationAsync({“properties of template”}, “en-us”)) like this,  That will target the toast and tile both notifications to the device A.
    But if you just want to send the toast notification to device A, you have to call something like this,
    SendTemplateNotificationAsync({“properties of template”}, “en-us && toast”)). FYI Second parameter is a tag expression: Please refer following link to know more about tag expressions:
    https://msdn.microsoft.com/en-us/library/azure/dn530749.aspx
    To answer your second question, register template with language tag along with other tags (just like above example). Then when you are sending notification, include that tag in your tag expression.
    Example: SendTemplateNotificationAsync({“properties of template”}, “en-us && toast”)), this one send toast notifications to all “en-us” local devices.
    Thanks,
    Sateesh
    Mark Post as helpful if it provides any help.Otherwise,leave it as it is.

  • How to get 2nd line in smartforms using template

    how to get 2nd line in smartforms main window using template. i have also defined loop .

    if possible can you try with the TABLES..
    Put one TABLE in your MAIN window
    create table lines as per your requirment...consider all lines like 6 for header, 1 for main, 1 for total
    Now, you will find three section under the tables: header, main, footer...
    in header section, create a table line, assign one of the proper lines from the line types.. repeat for your all lines.
    in main section, you can access your data form the loop.
    the footer secion will be called, just after the main will be finished.
    Regards,
    Naimesh Patel

  • How to restrict height of table  in smartform without using template

    Hi Gurus,
    I am facing a problem with table in smartform.I have 5 records in my table.If i print all 5 then table is fine.But if i get only one record in table then size of the table reduces to one row.Is there any way that i can keep my table height same as for 5 records,though i pass 1 record.I cannot use template here,because  page-breaks are used in the form .
    Your solutions are highly appreciated.
    Thanks and regards,
    Meenakshi

    Hi,
    As far my knowledge goes, If there is one record then table lines will take the height of only one row. You cannot Restrict it to take height of 5 rows.
    A temporary solution could be to add empty records in your internal table so that the table uses all the 5 rows in the table while printing in the smartform. Since they are empty records your smartform will not display any data but will only use the height.
    If you have 1 record add 4 empty records, Similarly if you have 2 records add 3 empty records...
    This way all time the table will take the height of 5 rows.
    As i said earlier this could be a temporary solution.
    Thanks,
    Hari Prasad.

  • Result of apprisal using template

    hello xperts,
      where we can view the results of appraisal using templates?..is there any reporting options for this?
    pls reply urgent

    Hi Ravishankar,
    Please using the report program RHHAP_DISPLAY_DB to view the entire report for a particular appraisal document.
    Thanks,
    Ganesh R K.

  • How to filter records in EIS drill through using template SQL

    Hi,
    I'm looking for an option to filter records in EIS drill through using Template SQL.
    For eg: If we user runs drill through on 2011, it should restrict display of Jan & Feb and should display records for other months.
    I tried using NOT IN clause, but got an error.
    Can any one help me in understanding how this needs to be defined in template SQL
    Thanks in advance

    Hi Glenn,
    I'm able to filter the records for specific periods.
    However, I'm facing another problem now.
    When I try to run drill through I get 'OLAP_error (1192025): Unknown Error: Not a valid Entry' error.
    This is happening when I include condition as ((($$ab.ACCOUNT_CODE-COLUMN $$) IN ($$Account-VALUE$$)))
    Here, ACCOUNT_CODE is field from Account dimension table and 'Account' is the name of the dimension.
    If I remove this statement and run drill through, it runs but shows data for all accounts (irrespective of the Account selected)resulting in incorrect data.
    Our RDBMS is Oracle. Can you please help me with this
    Thanks

  • Some clients Can't open XLSX files in Libraries using template.dotx but can open xlsx files in libraries using template.doc

    If I create a new library using any Excel/Word template - DOC, DOTX, XLS, XLTX and then upload a XLSX document (or docx) then some of my clients experience issues opening the document.  My work around in the past has been to resave the document
    as XLS or DOC.  Interestingly Old Libraries (Libraries using template.doc) don't have a problem with xlsx or docx documents.  (This only works because most of the clients experiencing the problem only open a few documents and we only have to
    resave a few documents.  I don't know why these clients have this problem though.)
    We are now testing a new Terminal Server implementation.  One with OpenOffice instead of Microsoft Office.  We can't open xlsx files on new libraries but can on old libraries.  (docx files are not a problem though)  I found a couple of
    work arounds.  One work around is to click on the down arrow by the document name and select "Edit in Excel" which fails, but then clicking on the document name after will then prompt you to Open/save the document.  Clicking on Open
    successfully opens the document in OpenOffice.  (So rather tedious for the users but nothing has to be changed to make it work.)
    The other option is to create a template from one of the libraries that is working and then use it to create a new library and save my documents to the new library.  Then I'm prompted to Open/Save the xlsx documents in the library.  This
    option is less tedious for the user but then I have to go through and recreate any libraries using template.dotx.  Creating a new library using the standard Document Library option and selecting Word or Excel 2003 does not resolve the issue - it has to
    be created from a template created from an existing library that works in the Terminal Server implementation. 
    My boss is opting for the latter option unless I can come of with an alternative that doesn't mean additional steps for the users.  Training is an issue because most of the Terminal Server users are shop floor workers. 
    My question is, is there a patch or fix that addresses this issue or any other work arounds that would be less work? 
    Additional Info:  Our Sharepoint implementation is the Enterprise version is installed but we do not have the Excel related Features activated (and these can't be activated due to licensing).  I'm not sure if that matters or not but it is
    a different configuration from how most SharePoint installations are configured.  SP1 is installed.  I have not installed any recent CU's.  Versions I see in Patch Status screen include 14.0.6029.1 (primarily) with some additional features
    reporting 14.0.6105.5, 14.0.6107.5, 14.0.6112.5 and 14.0.6114.5.
    Nancy Forbes

    We have tried a couple of additional things.
    We uninstalled OpenOffice and are testing LibreOffice.  I also installed CMIS from the SharePoint Administrator's toolkit, added the solution, and deployed it to my sites.  The "Producer" feature is activated on the site I am testing with. 
    I created a new library and posted some docx, doc, and xlsx files to it.  All files can be opened as Read-only from the Library list.  The only way I have found that I can edit the files is to Open the Library with Explorer.   I then deactivated
    the producer feature and tested opening the SharePoint documents from Explorer and it worked the same. 
    So am I misunderstanding what the CMIS Producer feature is for?
    Nancy Forbes

  • Alv report using templates........urgent

    Hi all,
    Can anyone tell me what is meant by ALV report using template. I have worked on ALV reports. Can you throw some light on USING TEMPLATE. If anybody have some document. please send it to me.

    Hi
    Check whether any templates defined in your orgn for different types of objects.
    For example for ALV reports so and so template and for Scripts  something defined.
    A template means I feel a std way of displaying data as per the orgn process/standards.
    check for that.
    Or use the same Std function modules and display the data and enquire further what's the template is?
    Reward points if useful
    Regards
    Anji

Maybe you are looking for

  • Vendor wise Sales & Stock Report in SAP Retail

    Hi, My requirement is: I need to develop a report for suppliers, showing them the sales and stock in each sales office. The report will be able to show the quantity in sales and stock for each sales office and a total for each one, in a determinated

  • To JDev expert. Need help with JSP, pls.

    Hi all. I have a strange problem. Only one JSP in my entire application fails to appear when I debug with local (embeded) OC4J. These are the first lines of the exception message: Exception: java.lang.NoClassDefFoundError: _addFile java.lang.Class ja

  • How do I move all photos and catalog (PE 6)  from local computer drive to network server drive?

    I'm using PE 6. I have about 40 GB of photos all organized and cataloged on my local PC's hard drive. I have just installed a home server that is networked and want to move/migrate all the photos and catalog information/organization from my local PC

  • How to show only legend in graph?

    Is there any way to show only legend in graph? I tried to look in XML of request but I didn't find anything. Please help. :)

  • Which monitor for accurate color management?

    I shoot digital product and food photography using a mac powerbook. I've been using a LaCie CRT (yes, I said CRT) monitor for fine tuning my photos. It has finally started acting up so I'm ready for a new monitor. Can anyone recommend a dependable mo