Comment Module breaking layout

I'm not sure if this is how the site is set up or if this is just an edge case but I just had a client who had a webapp layout broken because a customer had used a single '<' in their comment on the BC comment module.
It'd be nice if this didn't happen.
Thoughts?

I've fixed the problem so it's a little bit hard to give an actual example ... but I'll try. The original problem was on this page http://foodmatters.tv/articles-1/the-dangers-of-msg
essentially the direct children of div#content should be #col01 #col02 #col03 and div.clear like this...
<div id="content>
     <div id="col01"></div>
     <div id ="col02"></div>
     <div id="col03"></div>
     <div class="clear"></div>
</div>
when I inspected the page this morning I was seeing ...
<div id="content>
     <div id="col01"></div>
     <div id ="col02">
          <div id="col03"></div>
     </div>
     <div class="clear"></div>
</div>
I took a stab that this mean there was an unclosed tag in #col02 causing #col03 to sit inside #col02
I though the problem could have been in the webapp content, but it wasn't. Then when I viewed page source I saw that there was a comment where there was a < (looked like a typo) something along the lines of "My mum has allergies caused by <MSG, ..." The page source (FF13) highlighted this in red (open tag)
So I tracked down the comment and removed the < and 'Shazam' the page rendered properly.
I've actually just tried to replicate this and BC automatically converts the < to &lt; - This is what I thought happened, which is why I was so surprised to find that this is what was causing the problem. (I'm wracking my brain, and I think it actually came up as a < in the edit comment page and not &lt;
The comment was from 17 Sept 2010.
Is this just a total edge case?

Similar Messages

  • How do you customize a submit button in comments module?

    Hi,
    I want to create a customized submit button for the comments module. Right now, the submit button shows up as a css button, i.e. an ugly gray square:
    http://www.graeagle.com/_blog/Graeagle_World/post/Artistic_Musings_in_Graeagle/
    I have a button here http://www.graeagle.com/images/btn_submit.jpg
    that I would like to swap out with the current css button.
    Alternatively, I would be happy with just the factory system button for the OS.
    I have looked at the modulestylesheets.css file and it appears the 'cat_button' style controlled the submit button.
    I have tried to modify the css, yet nothing changed.
    The issue seems to be only with the comments submit button since I have successfully changed the button on all my web forms for this site.
    I have searched the KB but have found no real guide. So, I would most certainly appreciate a step by step approach since I'm coming up empty.
    Cheers,
    Michael

    Hey Liam,
    Thanks so much! The thing I neglected was changing the code on the Blog Details Module Template. So, from your links, I added new css code to my modulestylesheets.css file with the following:
    submit
    .submitBtn {
        font-family: Verdana, Geneva, sans-serif;
        font-size: 18px;
        color: #FFF;
        padding: 5px 40px 5px 40px;
        border: 1px solid #999;
        text-shadow: 0px 1px 1px #666;
        text-decoration: none;
        -moz-box-shadow: 0 1px 3px #111;
        -webkit-box-shadow: 0 1px 3px #111;
        box-shadow: 0 1px 3px #111;
        border-radius: 4px;
        -moz-border-radius: 4px;
        -webkit-border-radius: 4px;
        background: #333333;
        background: -moz-linear-gradient(top, #333333 0%, #4F4F4F 50%, #333333 51%, #33333B 100%);
        background: -webkit-gradient(linear, left top, left bottom, from(#333333), to(#33333B), color-stop(0.4, #4F4F4F), color-stop(0.5, #111111), color-stop(.9, #33333B), color-stop(0.9, #33333B));
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#333333', endColorstr='#33333B', GradientType=0 );
        cursor: pointer;
    .submitBtn:hover {
        border: 1px solid #FFF;
    Then under the Site Manager:Module Templates:Blog Post Details Layout I changed the following html code: 
    <input type="submit" value="Submit" /> 
    TO  
    <button type="submit" class="submitBtn"><span>Submit</span></button>
    And it worked like  a charm!
    I wanted to post this here for future reference and help.
    Again, thanks for the great tips!
    Cheers!

  • Facebook Comments Module

    Hello I am getting the error
    Warning: http://invalid.invalid/ is unreachable.
    What URL should I put when getting the code from the Facebook website. It wont let you leave it blank. I tried
    url="{tag_itemurl_withhost}"} &
    url="{tag_itemurl_nolink}"}
    Also what URL should I put down when interting the module into my template. Again, I tried both that was listed above without luck. I am trying to put these facebook comments for individual blog posts.

    Can you post the full context of this and where are you putting the code?
    You mentioned template but you showed tags, those types of tags do not render in templates. Only in the layouts such as web apps that support the tags.

  • Print Module templates layouts do not update on the fly

    Print layouts do not update on the fly when attempting to choose between various Print Module>Template Browser> Lightroom or User templates. This occurs in all three Layout Styles. The very first layout chosen in Single Image/Contact Sheet, Picture Package, or Custom Package is the permanent 'default' and cannot be changed. The Preview will show as expected however any image stays stuck in the very first layout I chose after installing LR4 beta.
    For example, I first chose Template Browser>Lightroom Templates>Maximum Size, and Layout Style>Single Image/Contact Sheet. Clicking through any other Templates (Lightroom or User defined) will alter the preview but not the layout display in the Print window. Same problem in either of the other Layout styles. I have been trying for days to rectify this, but it seems somehow more difficult than LR3. and not what I expect.
    As a comparison, using the same steps in LR3 works perfectly as all print template/layouts can be changed on the fly as expected. I have no problems generating different layouts in LR3 and have been using LR print module since version 1 without this issue.
    Is this a bug or are there any extra steps or workarounds I have not discovered? Any other testers seen this?

    Update with more info. What am I doing wrong, if anything?
    Print layouts do not update on the fly when attempting to choose between various Print Module>Template Browser> Lightroom or User templates. This is not a hang since the layouts do not change after the initial choice no matter how much time elapsed.
    iMac OS 10.6.8. 8GB RAM.Processor Intel Core 2 Duo. NVIDIA GeForce 8800 GS.
    The steps as follows:
    1) Lightroom 3.6 & LR4Beta exist side by side.
    2) LR4 Beta> Print Module;
    3) From filmstrip choose image;
    4) Template Browser> Lightroom4Beta Templates>Maximum Size;
    5) Preview displays as expected;
    6) Layout Styles>Single Image/Contact Sheets
    7) Template Browser> Lightroom4Beta Templates>click through any other templates (Lightroom or User defined);
    8) Image layout in main window does not update;
    9) Previews update;
    10) Layout Style>Picture Package;
    11) Template Browser>Maximum size is then automatically shown, however the template in the main window is actually (1) 7x5, (2) 2.5x3.5;
    12) Any further attempts to change the layouts regardless of Style Layout choices are not successful.
    13) Close LR4Beta>re-open LR4Beta;
    14) Repeat test;
    15) Print Module layouts do not update on the fly as expected;
    16) Close LR4Beta and all applications;
    17) Reboot iMac.
    18) Open LR4Beta only;
    19) LR4Beta>Print Module>Template Browser >Lightroom Templates>Maximum Size;
    20) Image displays in main layout window with Template and Preview display as expected;
    21) Choose different image>Template Browser>Lightroom Templates>Maximum Size;
    22) Click through templates, layouts DO NOT update in main window although previews do automatically update.
    23) CONCLUSION - In Lightroom 4 Beta>Print Module>Template Browser, image layouts do not change after initial choice as expected.
    I posted this on Photoshop.com as a problem.

  • Remove CSS Comments in CSS layouts

    In Stephanie Rawls article on What's new in Dreamweaver CS5 CSS layouts she mentions David Powers free extension :Stored Query to Remove CSS Comments.  How do I find and download that extension?

    http://foundationphp.com/tools/css_comments.php
    "I loves me some Google"...

  • Module Pool - Layout Problem

    Hi All,
    I am new to ABAP, so need your help.
    First of all I had created Interface, then in Form I attached that Interface. Now I moved all my object to CONTEXT.
    Problem:  When I try to press LAYOUT button it is throwing me out of the Transaction Form.
    & when I try to Ctrl+F2, it is gving me error that "No Layout exist for given Language EN"
    So what exactly is the problem & pls. give the solution.
    Thanks,
    Suhradam.

    Hi
    You have to manage it in your PBO not PAI, change your code in this way:
    PROCESS PBO
    MODULE LOOP_SCREEN.
    PROCESS PAI
    MODULE user_command_0200
    MODULE LOOP_SCREEN.
    CHECK FL_SCREEN_INPUT = 'X'.
    LOOP AT SCREEN.
    IF NOT screen-name CS 'PERNR'.
    screen-input = '1'.
    MODIFY SCREEN.
    ENDIF.
    ENDMODULE.
    FORM layout200.
    FL_INPUT_SCREEN = 'X'.
    ENDFORM. " layout200
    Max

  • CSS - Table width breaking layout

    I have a CSS issue with page layout.  I have created a layout where I have a main wrapper that encompasses the page.  Inside the wrapper are three sections:  header, content, and footer.  These all adjust 100% to the width of the browser.  I will have tables of varying sizes within the content area.  My issue is that when the browser goes to a size smaller than the width of the table, the content area will scroll to the right, but the rest of the areas will not stay at the same width as the content area.  The result is that the header and footer will remain at 100% in the viewable area, but you have to scroll to the right to see the rest of the information.  This breaks the layout.  What I would like to see is that the header and the footer will always match the width of the content area and so if a table happens to push to the right, the header and footer will always match it.  Here is a link to an example:  http://www.artomicblast.com/csstest/interior.html.
    You'll see that if you have the browser filling up the whole screen, everything looks fine.  As you start adjusting the size down, the center section will reach a point where you get a scrollbar and it breaks out of the width of the screen so that you'll see the header and footer to the left, and it sticking out to the right.
    Is there a way to make it to where the outside wrapper will keep everything contained no matter the size of the table in the content area?
    Thanks!

    I have a CSS issue with page layout.  I have created a layout where I have a main wrapper that encompasses the page.  Inside the wrapper are three sections:  header, content, and footer.  These all adjust 100% to the width of the browser.  I will have tables of varying sizes within the content area.  My issue is that when the browser goes to a size smaller than the width of the table, the content area will scroll to the right, but the rest of the areas will not stay at the same width as the content area.  The result is that the header and footer will remain at 100% in the viewable area, but you have to scroll to the right to see the rest of the information.  This breaks the layout.  What I would like to see is that the header and the footer will always match the width of the content area and so if a table happens to push to the right, the header and footer will always match it.  Here is a link to an example:  http://www.artomicblast.com/csstest/interior.html.
    You'll see that if you have the browser filling up the whole screen, everything looks fine.  As you start adjusting the size down, the center section will reach a point where you get a scrollbar and it breaks out of the width of the screen so that you'll see the header and footer to the left, and it sticking out to the right.
    Is there a way to make it to where the outside wrapper will keep everything contained no matter the size of the table in the content area?
    Thanks!

  • Design view breaks layout

    I have a simple 3 column layout inside a wrapper div where my
    source order is #content/#sidebar1/#sidebar2, and I am using a
    negative margin on #sidebar1 to pull it over so the display order
    is #sidebar1/#content/#sidebar2. It works great in the browser, but
    #sidebar1 disappears in Dreamweaver. Any experience with
    this?

    My feeling is that in the list of things that affect SEO,
    this one would be
    so far down, it's not worth the additional effort. Let me
    state it this
    way - if you have done all of the things that would fall
    above it, then I
    guess you will see zero impact of this on your page's rank.
    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
    ==================
    "Michael Fesser" <[email protected]> wrote in message
    news:[email protected]..
    > .oO(jaymcdonald)
    >
    >>Yes, the source order is for SEO.
    >
    > And? Any evidence that it works?
    >
    >>I know I could just re-arrange the source
    >>order, but that would defeat why I did it in the
    first place. It seems
    >>silly to
    >>have to break that just because Dreamweaver is
    confused by it. Why can't
    >>it
    >>just show it properly?
    >
    > To me it seems to be silly to use an illogical markup
    order just for
    > questionable SEO reasons, even though it's not that bad
    in this
    > particular case. Content first is a quite common
    structure, but not a
    > necessity.
    >
    > On my own sites the navigation lists usually come first
    for technical
    > reasons - no problems with that. There's enough useful
    content further
    > down the pages and enough food for the SE spiders. A
    good SE ranking is
    > not a question of "markup order", but of patience,
    appropriate markup,
    > patience, usable content and patience.
    >
    > Keep the markup in a logical order and try to avoid
    hacks like negative
    > margins (yes, it's just a hack in most cases). Make sure
    that it works
    > even with CSS disabled. Focus on usability and
    accessibility. Make your
    > site userfriendly! This will also almost automatically
    make the site SE-
    > friendly, because an SE bot is nothing else than a user.
    A blind user.
    >
    > Micha

  • Numerous questions regarding "comments" module

    Hi there, I'm hoping someone can help me. I'm having a heck of a time.
    1. How do I set blog post comments to appear in reverse chronological order?
    2. The comments settings allow for requiring people to log in before commenting. Where is the login form?
    3. Has {tag_flag} been discontinued?
    4. How to require name, email and message on comments form?
    Thanks in advance,
    —Paula
    Message was edited by: RabbitMountain

    Hello,
    For your 2nd question :
    2) As per above KB article, there are no merge modules for x64 platform and if there won't be in future, and if we decide not to use .msi, what could be the an option for us? Basically we want installation of Crystal Reports to happen behind the scenes. Please let us know.
    We have 64 bit runtimes available for Crystal products that comes with VS IDE. So, CR4VS2010 we have 64 bit runtimes. For other products like CR2008, you can run your application in 32 bit mode.
    You can use the Mergemodules to get the Crystal dlls and create your own deployment package. It will install the crystal dlls and then your application.
    Hope it helps.
    Thanks.

  • Bug: syntax error in code editor breaks layout and redrawing windows incorrect

    I'm working with "SQL Developer" version:
    Oracle IDE    4.0.0.13.80
    Plataforma Java(TM)    1.7.0_45
    installed on windows 7  64 bits.
    when I execute some ddl command in the code editor with syntax error, all layout windows are incorrectly drawn, and I have to close "SQL Developer" application to go on.
    Example:
       COMMENT ON COLUMN "TABLE"."COLUMN1" IS 'comments on column 1';
       COMMENT ON COLUMN "TABLE"."COLUMN2" AS 'comments on column 2';
    First comment is correctly aplied but second comment has a syntax error (AS is wrong) but you no receive error output, layout it hangs.
    I tested with thick/OCI and using jdbc, and I always go to the same problem.

    Good Morning
    Did you ever get this working without restoring ?
    Kind Regards
    Marius

  • Custom Login Module Break COTS J2EE Application

    I'm using a custom login module to authenticate users of a COTS J2EE application. The authentication works like a charm, but the COTS app breaks because it uses request.getRemoteUser() to obtain the user name for database lookups.
    When the custom login is in use, request.getRemoteUser() returns "[JAZNUserAdaptor: user=theuser]" instead of simply the user name (this differs from the standard XML provider, which returns only the user name).
    I used the sample login module from the Oracle documentation almost verbatim, the method is included below.
    Does anyone know why getRemoteUser() returns "[JAZNUserAdaptor: user=theuser]" and not just the user name? And how to make it stop doing that?
    Thanks in advance... any input is is greatly appreciated, of course.
         public boolean login() throws LoginException {
                   throw new LoginException("Error: no CallbackHandler available "
                             + "to garner authentication information from the user");
              // Setup default callback handlers.
              Callback[] callbacks = new Callback[] { new NameCallback("Username: "),
                        new PasswordCallback("Password: ", false) };
              try {
                   _callbackHandler.handle(callbacks);
              } catch (Exception e) {
                   _succeeded = false;
                   throw new LoginException(e.getMessage());
              String username = ((NameCallback) callbacks[0]).getName();
              String password = new String(((PasswordCallback) callbacks[1]).getPassword());
              if (isValidUser(username, password)) {
                   _succeeded = true;
                   _password = password.toCharArray();
                   _name = username;
         _authPrincipals = new CMPrincipal[2];
         authPrincipals[0] = new CMPrincipal(name);
         _authPrincipals[1] = new CMPrincipal("SecurityRole");
              ((PasswordCallback) callbacks[1]).clearPassword();
              callbacks[0] = null;
              callbacks[1] = null;
              if (!_succeeded) {
                   System.out.println("login did not succeed... throwing LoginException...");
                   throw new LoginException("Authentication failed: Password does not match");
              return true;
         }

    I know getUserPrincipal().getName() works, but since the J2EE application is a COTS product, I can't change the source code. I'm trying to get the vendor to make that change and release a patch. I was looking for something I might be able to do on my end to get the code to work.
    Thanks for the help.

  • Assortment Module and Layout Module

    Hi Champs,
    I would like to know the process of listing the articles "assortment layout" through one common step. I tried thru "assortment module"  and was able to do it successfully.
    Please help me with process of layout functionality in SAP.
    Assigning the new article to the layout module in transaction WLWBN (Assortment layout workbench)
    I saw in some other SDN that,  Running transaction WSM4L (mass relisting by changing layout data) for the layout module
    But i could not do so it is giving me a error message...Start conversion report for layout listi
    conditions (note 659692)
    Would appreciate if i can get the steps for listing thru Layout module....
    thanks in advance.
    Regards,
    SD

    Run program RWLAYLIST_CONVERT to convert your assortments. Then you should be able to list via the layout workbench.

  • Q: Comments module, annots.api.

    Hi all.
    Why in some PDF documents I have only 2 comment tools (`note` and `select text`) and in another PDF documents more (like here http://help.adobe.com/en_US/Acrobat/9.0/Standard/images/mm06_popup.png).
    Adobe Reader X 10.1.2.
    Thanks.

    ...and sorry for google translate

  • Adding a new field and new data item breaks layout

    I am adding a new field to a subform and populating it form a .Dat unfortunatly adding this field is causing data outputed to the subform below it to shift down one line on the page when outputted.
    This new field is outputted at the top of the form and and the line being shifted are below this.
    Below is the field details and the field as it is in the .dat file.
    Field:F_PO_NUMBER [1]                                
    Lines: 1  Characters: 20  Angle: 0
      In Subform
    : Main_Page
      Options  
    : Global
    ^Command JFPAGE_START
    ^Undefine global:~^PAGE 1
    ^define global:SEQUENCE \pic"NUM999999",@D:NUMPAGESPRINTED../\pic"NUM99",@$PAGE../\pic"NUM99",@:JFPAGE_PAGE_OF..
    ^define global:JFPAGE \pic"NUM99",@$PAGE.. of \pic"NUM99",@:JFPAGE_PAGE_OF..
    ^GLOBAL Email COLL_TEL_NUM~12345678~^REFORMAT OFF
    ^GLOBAL F_CURRENCY_CODE
    GBP
    ^FIELD F_PO_NUMBER
    ^COMMENT R_remit_customer
    ^FIELD F_REMIT_TO_CONCATENATED
    Address
    ^COMMENT M_INVOICE_HDR_BOX1
    ^GLOBAL F_TRX_TYPE
    Invoice
    Now the weird party is if I move the new field in the .dat as below it fixes things and the everything lines up like it should do.
    ^Command JFPAGE_START
    ^Undefine global:~^PAGE 1
    ^define global:SEQUENCE \pic"NUM999999",@D:NUMPAGESPRINTED../\pic"NUM99",@$PAGE../\pic"NUM99",@:JFPAGE_PAGE_OF..
    ^define global:JFPAGE \pic"NUM99",@$PAGE.. of \pic"NUM99",@:JFPAGE_PAGE_OF..
    ^GLOBAL Email COLL_TEL_NUM~12345678~^REFORMAT OFF
    ^GLOBAL F_CURRENCY_CODE
    GBP
    ^COMMENT R_remit_customer
    ^FIELD F_REMIT_TO_CONCATENATED
    Address
    ^COMMENT M_INVOICE_HDR_BOX1
    ^FIELD F_PO_NUMBER
    ^GLOBAL F_TRX_TYPE
    Invoice
    ^FIELD F_TRX_NUMBER
    I hoping someone might have an idea of why this is the case as I'm at a loss regarding why its happening.

    I may not hit on it exactly, but this sounds like Adobe's processing order.
    It wants to process the fields in the order they are in the DAT file.
    I have a similar problem with an overflow field, that isnt last in the DAT file,
    Read this here:
    http://forums.adobe.com/message/2298283#2298283
    Now that may not be exactly your issue, but I think its the same inherent problem,
    Adobes processing order for the fields/subforms.
    I am still trying to resolve my issue, but found the ^field command in the reference manual (Print Agent),
    and am wondering if I can use it.

  • Auto failover if SSL module breaks?

    Hello,
    Got 2 CSS in VIP redundancy and a critical-server script that’s pinging up and downstream routers off active CSS.
    If the SSL module fails, will the backup CSS takes over?
    Configuration of our CSS is very basic
    service ssl_module1
    type ssl-accel
    keepalive type none
    slot 5
    add ssl-proxy-list test
    active
    Kind Regards,
    Gerrit Frans

    We using ip virtual-router 1 priority 110 preempt on the primairy box.
    Looks like we can beter remove the preempt command?
    Thanks
    Gerrit Frans

Maybe you are looking for

  • How to change default value in contract by T-code ME32K?

    Dear my freinds, If you have one exist contract and then you use ME32K to change it, you will get default value for material group, plant and storage location in contract. If you have one materail 1002 at plant AUXX and storage location 0001 in contr

  • What specific HD replacement do I need for a 2010 macbook air A1327?

    I need to replace the HD in a 2010 macbook air A1327.  Is there a specific one that I need to get?

  • Bug in WRT600N Firmware: password edit

    I discovered a bug in the current WRT600N firmware. When changing the router's password, special characters appear to NOT be recognized, even though the router's error message lists them. For example, if I use a + (plus) sign the router complains. I

  • Upgrade to 10.9/Server APP 3.0 - Problems with devicemgrd

    After upgrading our xserve to 10.9 and Server APP 3.0 the server hangs after some hours, because RAM is full!!!! The devicemgrd is filling constantly up the RAM and needs about 90% of one of the four cores... Wiki ist turned off! What can be the reas

  • Classifier, BIC and MessageSplitter with Seeburger

    Hi, Anybody have a example to use the Classifier, BIC and MessageSplitter from Seebubrger with SAP XI comminication channel?. I try with the example scenario from documentation Seeburger, but the classifierMappingID it does not recognize the map and