HTML and Emails

Discussion in 'C-Touch/HomeGate/SchedulePlus/PICED Software' started by graemelisa, Aug 1, 2010.

  1. graemelisa

    graemelisa

    Joined:
    Jul 22, 2010
    Messages:
    7
    Likes Received:
    0
    Location:
    Sydney
    Hi

    The html component in your examples (weather) does not have either scroll bar showing - even if you reduce the size of your standard box (eg reduce the height to cover 'click here for more - weather zone' you still do not see a scroll bar. However with other html pages you seem to always get the 'vertical' (even if the page is smaller) and also the horizontal if the web page is wider than the box - why??

    Email subject, body etc do not word wrap correctly (ie they run ouside the component box) in some instances the body also runs out below the box. in addition it often shows more than just plain text - see attachments

    Finally - it appears that if you have a page with email components on it, that if this page times out and you then click back into that page (simultion mode - pc only - not tested on the cbus screen yet) that this crashes Piced
     

    Attached Files:

    graemelisa, Aug 1, 2010
    #1
  2. graemelisa

    Darren Senior Member

    Joined:
    Jul 29, 2004
    Messages:
    2,361
    Likes Received:
    0
    Location:
    Adelaide, South Australia
    The HTML wizard builds a small HTML page which wraps up the image from the weather web site and removes the scroll bars:

    Code:
    <HTML>
    <STYLE TYPE="text/css">
    body {
      overflow:hidden;
      margin:0;
      border:0;
      padding:0;
    }
    </STYLE>
    <script type="text/javascript"
      src="http://www.weatherzone.com.au/woys/graphic_forecast.jsp?postcode=5000">
    </script>
    <a href="http://www.weatherzone.com.au"></a>
    </HTML>
    You can manually change this if you want. Alternatively, just place an HTML component on the page and use the URL for the weather report directly.

    It only puts in line breaks between words. If you have ridiculously long words, you will get the problem you have seen. Normal text works fine.

    We will try to replicate this.
     
    Darren, Aug 1, 2010
    #2
  3. graemelisa

    graemelisa

    Joined:
    Jul 22, 2010
    Messages:
    7
    Likes Received:
    0
    Location:
    Sydney
    Re

    The HTML wizard builds a small HTML page which wraps up the image from the weather web site and removes the scroll bars:

    Does this then upload to cbus?

    Re

    "Email subject, body etc do not word wrap correctly...

    It only puts in line breaks between words. If you have ridiculously long words, you will get the problem you have seen. Normal text works fine."

    As this seems to effect about half of the emails, a future solution might be good.

    Thanks for all of your help - it is a great program!
     
    graemelisa, Aug 2, 2010
    #3
  4. graemelisa

    graemelisa

    Joined:
    Jul 22, 2010
    Messages:
    7
    Likes Received:
    0
    Location:
    Sydney
    Re

    Finally - it appears that if you have a page with email components on it, that if this page times out and you then click back into that page (simultion mode - pc only - not tested on the cbus screen yet) that this crashes Piced
    We will try to replicate this.

    I have solved this problem by adding a 'Networking Setup' button - it will not let you "prepare configuration data file..", without it - having it also stops Piced freezing (so far anyway!)

    Enhancement requests -
    1. Could an email message body component have a vertical scroll bar show when the body (of the email) is longer than the component?
    2. Can the sender/subject/body in built functions be set to show first message, second message, third message etc (ie to enable you to look at a number of emails on the cbus screen at the same time)

    The problem of the text extending beyond the component, I have 'fixed' by having a black background on the page - ie you cannot see the overflowing text on the black.

    Again Thanks
     
    graemelisa, Aug 2, 2010
    #4
  5. graemelisa

    Darren Senior Member

    Joined:
    Jul 29, 2004
    Messages:
    2,361
    Likes Received:
    0
    Location:
    Adelaide, South Australia
    I am not entirely sure what you mean by this. The HTML file gets transferred with the project to Colour C-Touch.

    We will have a look at it. Issue #20015
     
    Darren, Aug 2, 2010
    #5
  6. graemelisa

    Darren Senior Member

    Joined:
    Jul 29, 2004
    Messages:
    2,361
    Likes Received:
    0
    Location:
    Adelaide, South Australia
    This is in our system as #20016. We have not yet had a chance to try to make it occur. When you say it "crashes" PICED, if you get the message asking you to send the error report to Clipsal, can you do that and make reference to this post in the comments. That will help us work out what is going on.

    This is in our system as #20017. I don't think it will happen soon though.

    This is in our system as #20018.

    Good work-around!
     
    Darren, Aug 2, 2010
    #6
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.