Modifying Existing css of a theme

Hi
I connected to http://127.0.0.1:8080/images/themes/theme_1/css
then copied the theme_4_0.css ...made some changes and again copied back the modified css in http://127.0.0.1:8080/images/themes/theme_1/css.
but now when i switch theme, there is no css on the webpage. Any idea?????
thanks

Hi,
The location of your images directory depends on how you setup your APEX instance. Do you know which database version you're using? And whether you've configured your APEX instance to use the embedded gateway, which would be the default configuration on Oracle XE and 11g. Or did you setup APEX with mod_plsq or the APEX listener? Assuming you've installed XE, and you're using the embedded gateway, then your images are actually stored in the database (XML DB), and you would need to access your images folder via FTP or WebDAV. There are several blog posts out there that talk about how to connect to the images folder via FTP, here's one: http://www.apex-blog.com/oracle-apex/accessing-i-using-ftp-170.html If you're using any of the other configurations, your images directory would simply be a local folder on the machine running your web server.
As for creating a theme, there isn't really a "guide" out there that documents how to build a new theme. But the theme structure, templates, etc are documented in the APEX user guide. To start building a new theme, I would recommend starting out with an existing one that you like, ideally one that was recently modernized by us. I would recommend themes 21-23 as starting points. And then I would create a CSS file to overwrite some of the classes in the theme CSS file, rather than directly modifying the CSS file that ships with APEX. You should also use tools like Firebug, or the built-in developer functions in Chrome/Safari to try out different CSS settings. With our modernized themes you should be able to get most customizations done through CSS. So I would suggest staying away from actually altering the templates as much as possible, at least in the beginning.
Regards,
Marc

Similar Messages

  • Modifying existing theme

    Hi ! I use N79. I just want to modify the theme to add a wallpaper so that it sit nicely in the middle of the screen. Where can I find the existing themes ? Thanks

    Hi,
    The location of your images directory depends on how you setup your APEX instance. Do you know which database version you're using? And whether you've configured your APEX instance to use the embedded gateway, which would be the default configuration on Oracle XE and 11g. Or did you setup APEX with mod_plsq or the APEX listener? Assuming you've installed XE, and you're using the embedded gateway, then your images are actually stored in the database (XML DB), and you would need to access your images folder via FTP or WebDAV. There are several blog posts out there that talk about how to connect to the images folder via FTP, here's one: http://www.apex-blog.com/oracle-apex/accessing-i-using-ftp-170.html If you're using any of the other configurations, your images directory would simply be a local folder on the machine running your web server.
    As for creating a theme, there isn't really a "guide" out there that documents how to build a new theme. But the theme structure, templates, etc are documented in the APEX user guide. To start building a new theme, I would recommend starting out with an existing one that you like, ideally one that was recently modernized by us. I would recommend themes 21-23 as starting points. And then I would create a CSS file to overwrite some of the classes in the theme CSS file, rather than directly modifying the CSS file that ships with APEX. You should also use tools like Firebug, or the built-in developer functions in Chrome/Safari to try out different CSS settings. With our modernized themes you should be able to get most customizations done through CSS. So I would suggest staying away from actually altering the templates as much as possible, at least in the beginning.
    Regards,
    Marc

  • Clarification - Modifying CSS instead of Theme Editor

    Hi,
    I'm just after some clarification.  The client I am at has a proper web design team.  Therefore they would rather edit the css files than use the theme editor.  I assume I just zip up the relevant directories under usr/sap...../theme/mytheme which contain the css files, edit them and then put them back in the relevant directory?
    Is this the case or do you have to do something else?
    Thanks
    Paul

    Hi Paul,
    this is as it should work - but keep in mind that you nevertheless should create your own theme and then download the css files, edit them and copy them to the portal server again!
    SAP's standard themes are overwritten with every patch / support package you will implement, so your changes will be lost.
    Hth,
    Michael

  • Modifying Viewer CSS

    Hi.
    We would like to change result set table layout in Disco Viewer.
    The problem is, that standard css makes the table "too big".
    In EM you can change only colours and default font size.
    In Plus you can set a font size for the worksheet, but no matter how small you make the font, the table rows' height remains the same (in the Viewer).
    The solution I'm looking for would allow me to change for example cellpadding="3" in the following row:
    <table summary="Table with the following columns : Warehouse, Item number, On-hand balance approved, Safety stock, Motrqt SUM, Moorca, Mopldt" border="0" cellspacing="0" cellpadding="3">
    I was searching for some instructions how to modify Discoverer CSS, but was not able to find nothing more than it is something around .uix or .xss files on server.
    I realized that cached css files used by Viewer are generated form the .xss, but that's all.
    Can anybody help?
    Or is there any simpler solution?
    Thanks, Jakub.

    Jakub.
    I'll try to point you to what I believe - but may not be exactly correct.
    Under the newest Disco versions (plus, viewer), you are able to alter how the Discoverer page 'is assembled'. People have been using this for deleting the logo - or putting their company's on, turning off options (ie: File command only has a few options), stopping exporting for all types except for Excel, etc.
    As the UIX file contains all the good code to 'assemble' the page, altering this can be satisfying to get what you want.
    However, you'll get all the "it's not supported by Oracle", "you'll lose support", etc. posts, but if you manage what you're doing like companies do with Oracle Apps forms or Oracle Apps reports, you won't have a problem.
    Basically, before starting any changes to the UIX file, copy the original to a saved, untouchable area. Actually, just copy all UIX files into that area and never write on top of them again. Now, make your changes and if you screw up, copy back the original one on top.
    A good blog showing this is the Oracle BI product manager's website at:
    http://oraclebi.blogspot.com/
    Just go to the search at the top of the blog, type in UIX or something similar and search the blog.
    You'll see the kind of things he's doing and if it's applicable to the kind of thing you want.
    Russ

  • Modify existing rebate condition and exclusion

    Hi
    We are rebate agreements for customers. Currently I want to modify rebate condition in one of rebate agreement.
    Scenario: let us June 10th 2010 onwards, the rebate % is 3% for Profit center 'xxxx' & customer 'yyyy' instead of 1%. And 3% needs to accrued on billing docs going forward. How to set up this.
    I tried to modify existing rebate condition using VBo2 as follows: went into rebate agreement using VBo2, changed rebate % for condition record with effective from 06/11/2010 and Saved.  problem when I ran VBOF program, system posted reversal accrual for old rebate condition 1%. Old condition record validity from 01/01/2009 Valid to 12/31/2011.
    I have one more question. We want to set up rebate condition for all materials exclude some of them. we have thousands of materials for which we need to calculate rebates. but we want to exclude some materials in the rebate agreement. How to set up such exclus
    any ideas really appreciated
    thnx

    The key of your condition table (the one supporting your condition record in the agreement) is evidently Profit Center / Customer.  So for any combination of profit center and customer, you can maintain a rate and validity period. 
    You are attempting to maintain two separate records having the same key.  As you have experienced, the system does not allow it.
    The simple solution is to expire that rebate agreement and start a new one with the updated validity period and conditions.
    As for excluding certain materials, you need a more detailed key in your condition table.  Something else from the material master seems appropriateu2014Commission Group for example.  Maintain commissionable materials in group 01 and non-commissionable ones in group 02.  Then a key combination of Commission Group / Profit Center / Customer  would work well for you.
    Regards,
    Ken

  • Inserting div in a pre-existing CSS layout

    I am trying to add a div tag to an existing CSS style sheet - twoColFixFt Hdr.css. I want to add a second sidebar under the existing sidebar which is floated to the right of the main content. I want the second sidebar to float to the right of the main content div as well, and be positioned under the first sidebar. I tried virtually every combination of inserting this tag in the insert div window, but I cannot get it in the correct position. I also tried positioning as an AP div (it looks fine in Dreamweaver), but when viewed in Firefox or Explorer it's overlapping the copy in the main content. Any help will be appreciated.

    1. Go into code view.
    2. Find the line of code below (around about line 95)
    <!-- end #header --></div>
    3. Wrap another <div> around the 'sidebar1' <div> as shown below:
    <div id="sidebarWrapper">
      <div id="sidebar1">
        <h3>Sidebar1 Content</h3>
        <p>The background color on this div will only show for the length of the content. If you'd like a dividing line instead, place a border on the right side of the #mainContent div if it will always contain more content. </p>
        <p>Donec eu mi sed turpis feugiat feugiat. Integer turpis arcu, pellentesque  eget, cursus et, fermentum ut, sapien. Fusce metus mi, eleifend  sollicitudin, molestie id, varius et, nibh. Donec nec libero.</p>
      <!-- end #sidebar1 --></div>
    </div><!--end sidebarWrapper -->
    4. Insert another <div> 'sidebar2' directly after the 'sidebar1 <div> as shown below:
    <div id="sidebarWrapper">
      <div id="sidebar1">
        <h3>Sidebar1 Content</h3>
        <p>The background color on this div will only show for the length of the content. If you'd like a dividing line instead, place a border on the right side of the #mainContent div if it will always contain more content. </p>
        <p>Donec eu mi sed turpis feugiat feugiat. Integer turpis arcu, pellentesque  eget, cursus et, fermentum ut, sapien. Fusce metus mi, eleifend  sollicitudin, molestie id, varius et, nibh. Donec nec libero.</p>
      <!-- end #sidebar1 --></div>
    <div id="sidebar2">Sidebar2</div><!-- end sidebar2 -->
    </div><!-- end sidebarWrapper -->
    5. Add the below css selector to your existing css:
    .twoColFixRtHdr #sidebarWrapper {
    float: right;
    width: 200px;
    overflow: hidden;
    6. Amend the 'sidebar1' css to as below:
    .twoColFixRtHdr #sidebar1 {
        background: #EBEBEB; /* the background color will be displayed for the length of the content in the column, but no further */
        padding: 15px 10px;
    7. Add the below css selector to your existing css:
    .twoColFixRtHdr #sidebar2 {
        background: #EBEBEB; /* the background color will be displayed for the length of the content in the column, but no further */
        padding: 15px 10px;

  • Problem in modifying existing records in dbtab

    Hi Experts,
    I am doing a report where I have created two dbtab's , one for data getting saved and
    other for fetching data and modifying exsiting records..
    For eg - let ZABC be the table where I need to insert or update records and ZXYZ is the table where
    I need to fetch and modify existing records.
    Now my probelm is :
    In case of inserting new records (multiple records ) into my dbtab ( ZABC ) its working ,
    but modifying existing records in another dbtab (ZXYZ ) its not wroking !! plz advice !!
    If my select querry for modifying exsiting records is:
    SELECT *  FROM ZXYZ  INTO TABLE ITAB WHERE MATNR EQ S_MATNR.
    *****then its inserting a newline along with the existing records.
    but when my querry is,
    SELECT single *  FROM ZXYZ  WHERE MATNR EQ S_MATNR.
    then its modifying the existing records, but only the first record.
    Loop at itab.
    if sy-tabix  = 1.
    zabc-matnr = matnr.
    zabc-idnrk  = idnrk.
    zabc-budat = s_budat.
    zabc-menge = menge1.
    ZXYZ-menge = ZABC-Menge + MENGE1.
    ZXYZ-BALC  = ZXYZ-Menge   -   MENGE1.
    ELSEIF sy-tabix  = 2.
    zabc-matnr = matnr.
    zabc-idnrk  = idnrk.
    zabc-budat = s_budat.
    zabc-menge = menge2.
    ZXYZ-menge = ZABC-Menge + MENGE2.
    ZXYZ-BALC  = ZXYZ-Menge  -  MENGE2.
    ELSEIF sy-tabix  = 3.
    zabc-matnr = matnr.
    zabc-idnrk  = idnrk.
    zabc-budat = s_budat.
    zabc-menge = menge3.
    ZXYZ-menge = ZABC-Menge + MENGE3.
    ZXYZ-BALC  = ZXYZ-Menge   -  MENGE3.
    ENDIF.
    INSERT ZABC.
    IF SY-SUBRC EQ 0.
    MODIFY ZXYZ.
            IF SY-SUBRC = 0.
              MESSAGE : I002 WITH 'RECORD CREATED'.
                ENDIF.
    ENDIF.
    Please advice
    Karthik
    Edited by: Karthik R on Aug 24, 2009 9:42 PM

    Hi,
    This is because in the second case you are not selecting records into an internal table.
    As a result only the first record which satisfies the where condition is fetched.
    Check if the program goes into the loop when you write second select query.
    KR Jaideep,

  • Modifying existing style selectors for selected components

    Hi,
    We have changed default .AFNoteWindow,AFNoteWindowRight style class for one use case. But it is applying for other use cases also where we are showing user friendly messages. how we can avoid the applying style for other use cases? and these all are existing selectors and we cannot create new one for this.
    Thanks
    Kuladeep

    Hi,
    Could anybody help me on this?
    Here i am giving more details about issue which we are facing. we have override following CSS class in our skin CSS file .AFNoteWindow,.AFNoteWindowRight,.AFNoteWindowConeTR,.AFNoteWindowConeBR,.AFNoteWindowConeBL,.AFNoteWindowCone,.AFNoteWindowConeBorder,.AFNoteWindowConeBorderRight for one of the use case (showing help text in the popup when mouse over on help icon ).
    We have another use case where we are showing help message when user is put his mouse in date field. Here also we are able to see above CSS effects but it should not.
    Please help me how I can override existing CSS class for specific use case or writing my own CSS class which will give same look and feel
    Thanks
    Kuladeep.K

  • How to modify existing concurrent program

    I want to edit and modify existing pl/sql concurrent program.
    what are the steps required to do this?

    Hi,
    Pls keep in mind that modifying standard programs is not advisable. You will get SPAU (http://help.sap.com/saphelp_nw2004s/helpdata/en/c8/61ec66e33611d1954b0000e82de14a/frameset.htm) when you upgrade your SAP system. Try to make an own version and include as much as possible from the standard program.
    Eddy

  • How to modify existing code of SQVI report?

    Hi Expert,
       There is a SQVI report which has already been created but we need to change the one for new requirement.
    is there any way to modify existing code for new requirement?
    Can we edit in abap workbench?
    Thanks & Regards
    Savita

    Savita,
    You can not modify SQVI system generated code. You need to go to SAVI change mode and make modifications. If your requirement is a sort of additional fields or inserting come code into the program , then SQVI is not the choice. You need to use Infoset Queries (SQ03, SQ02, Sq01).
    KJogeswaraRao

  • How to modify existing enhancement?

    I have requirement which require to modify existing enhancement.
    What are the steps involved to modify enhancement?
    thanks

    Hi,
    Check
    https://www.sdn.sap.com/irj/sdn/nw-development?rid=/webcontent/uuid/2342e1f3-0b01-0010-a186-fdd404884050#section19
    http://help.sap.com/saphelp_nw04/helpdata/en/6b/3f6d016d0711d396a50004ac96334b/frameset.htm
    Edited by: Neenu Jose on Nov 18, 2008 7:48 AM

  • How can I get GV and HDV files imported to Premier Elements 13. I know now that they are not supported. But does it exist ways to get them. I use camera HDR-HS7E?

    How can I get GV and HDV files imported to Premier Elements 13. I know now that they are not supported. But does it exist ways to get them. I use camera HDR-HS7E?

    skjeggi
    What is this HDR-HS7E - a miniDV camcorder that lets you do DV and HDV capture firewire?
    True, the DV and HDV capture firewire into the Premiere Elements 13 Capture window is gone. But, have you
    looked at the workaround suggested by PRE_help in this forum. The workaround is found in the following
    Adobe document....
    http://helpx.adobe.com/premiere-elements/kb/removed-features-formats-elements.html
    When your schedule permits, please let us know if that worked for you.
    Thank you.
    ATR

  • Modifying the css of a Symbol on hover

    I am trying to change the z-index of a symbol upon hover. This symbol has a number of elements inside of it with their own timeline that triggers upon hover as well. I tried doing so at first through something along the lines of:
    sym.getSymbol("mySymbol").css("z-index","10");
    This did not work (and it's not the z-index either, I tried changing something basic like border color and it would not do so). However if this were an element as opposed to a symbol, this code would work.
    sym.$("myElement").css("z-index","10");
    What's confusing to me about this is that if you view the source code of an Edge document, converting a group of elements into a symbol on the HTML side merely throws these elements into a DIV. So why wouldn't you be able to modify the css in the same way you are able to with elements in Edge? Am I doing something wrong? I also tried adding a class name to the symbol, but I am unsure of how to select a css class created through Edge (via the method in the image below).

    You need to use an integer, not a string:
    sym.$("myElement").css("z-index",10);
    example
    https://app.box.com/s/nx58tk4dcysq1iphnlu5

  • Trying to import pics from iphoto to imovie- can't import the PSE modified pictures.  I see them in iphoto.

    Trying to import pics from iphoto to imovie- can't import the PSE modified pictures.  I see them in iphoto however they don't appear in the thumbnails in imovie.

    Drag the PSE modified pictures from iPhoto to the Desktop. Open them in Preview then save as jpegs (File > Export - then choose Format JPEG). They may already be .jpg files, but are not readable by iMovie. Exporting them from Preview may fix this. Import the saved files to iPhoto - they should now work in iMovie.
    John

  • Modify existing Message

    Hi all,
    I need to change text/html part of message which I have in mail format. How to do this easily without loosing other parts of message?
    Or maybe you know some better way to create kind of simple proxy for SMTP which would add and replace some text in HTML part of email?
    So far I am reading message from plain stream of mail text representation (got it from Subethamail SMTP server) into JavaMail Message object. I had problem, when my changes to message were not reflected - I posted question on http://stackoverflow.com/questions/7674775/how-to-modify-existing-java-mail-mimemessage-body-parts/ and solved this one by calling message.saveChanges();
    The issue is that when I call message.saveChanges() headers seams to be lost - especially those around Content Type and Charset.
    My code looks like this:
    public void resend(InputStream data) throws Exception {
            Transport transport = mailSession.getTransport();
            MimeMessage message = new MimeMessage(mailSession, data);
            Object content = message.getContent();
            if (MimeMultipart.class.isAssignableFrom(content.getClass())) {
                MimeMultipart mimeMultipart = (MimeMultipart) content;
                for (int i = 0; i < mimeMultipart.getCount(); i++) {
                    MimeBodyPart bodyPart = (MimeBodyPart) mimeMultipart.getBodyPart(i);
                    if (bodyPart.getContentType().startsWith("text/plain")) {
                        String cnt = updateContent((String) bodyPart.getContent());
                        System.out.println("ContentType = " + bodyPart.getContentType());
                        System.out.println("Content = " + cnt);
                        String contentType = bodyPart.getContentType();
                        System.out.println("Updating content type to = " + contentType);
                        bodyPart.setContent(cnt, contentType);
                    } else if (bodyPart.getContentType().startsWith("text/html")) {
                        String cnt = updateContent((String) bodyPart.getContent());
                        System.out.println("ContentType = " + bodyPart.getContentType());
                        System.out.println("Content = " + cnt);
                        String contentType = bodyPart.getContentType();
                        System.out.println("Updating content type to = " + contentType);
                        bodyPart.setContent(cnt, contentType);
            } else {
                String cnt = updateContent((String) message.getContent());
                System.out.println("ContentType = " + message.getContentType());
                System.out.println("Content = " + cnt);
                String contentType = message.getContentType();
                System.out.println("Updating content type to = " + contentType);
                message.setContent(cnt, contentType);
            message.saveChanges();
    }Mark on Stackoverflow suggested that problem is in bodyPart.setContent(cnt, contentType); call...
    Hope that makes sense for you... and you will be able to help me...
    Thanks in advance
    Konrad
    Edited by: 890134 on 2011-10-07 08:29

    JavaMail wasn't really design to support "editing" of existing messages.
    That's caused some problems over the years and I've had to fix a number
    of bugs in this area. The current version (1.4.4) definitely works better
    than older versions, but I won't be surprised if there are still bugs.
    Even so, your code is making a number of invalid assumptions about the
    structure of messages. I would suggest looking at the msgshow.java
    demo program. It includes code that visits all the parts of a message.
    It should be straightforward to extend that code to detect the parts you
    want to modify and to change the content of those parts using the
    setContent (or setText) method.
    If it's still not working for you, provide more detail about what you're doing,
    including a same message. (Send the details to me at [email protected]
    if you prefer.)

Maybe you are looking for

  • Excel 2013 hyperlinks will not transfer when converting to pdf

    Hyperlinks in Excel file do not transfer when I convert to pdf. I am using Excel 2013 with Acrobat XI Pro.

  • Calling Stored Proc from JDBC

    Hi All, I have a simple stored proc in SQL server 2000 CREATE PROCEDURE dbo.sp_myProc AS SELECT CategoryID,CategoryName from Categories GO My java code is CallableStatement cs = connection.prepareCall("{? = call sp_myProc}"); cs.registerOutParameter(

  • IPod / iTunes problems

    My iPod is no longer showing up in my Mac's finder, nor is it launching iTunes. I've tried the re-sets, tried the iPod updater and now I've trashed iTunes, as per the recommended help. I'm now trying to re-install iTunes but I'm unable to as the inst

  • Oracle 8.1.7 oracle 9i on solaris 8

    i unzipped the install file on hardisk after that ,i run ./runInstaller it report ./runInstaller :syntax error at line 1: '(' unexpected why ? thanks

  • Can't create a ping profile

    I tried to create a ping-profile but I always get the following message at the final step of the setup process: "iTunes Ping can't process any Data at the moment. Please try again later", or since I use the german store: "iTunes Ping kann zurzeit kei