1.5.2 Template problem

Please report bugs here!

Moderator: Thorsten

Post Reply
Anim
Posts: 8
Joined: Sat Sep 24, 2005 5:07 pm

1.5.2 Template problem

Post by Anim »

After upgrading to 1.5.2 my articles now have design problems.

Please see the following article:
http://3danswers.com/faq/index.php?sid= ... artlang=en

Send to a friend and Print this article are now at the top of the page whereas before they were all at the bottom.

This page was created using dreamweaver and then pasting into the HTML code view area of a new article.

I would also like the option to remove the PDF link as this doesnt seem to work very well when I create my own articles or use tables.

Can we also have an option to not strip out styles that I add into the HTML?

e.g.
<style type="text/css">
<!--
.style1 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
}
-->
</style>

would get cropped from an article if I edit it in the future.

Also when an Article is added via the front end (from a user) it contains "rn" before every new line and these have to be manually removed when i approve records.

Thanks
Anim

PS. Great FAQ
Thorsten
Posts: 15724
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

ouch... :-(

Is it possible to send me a SQL dump of this article so I could play with and provide a fix for you? I think I need a better HTML-Parser for tables!!

You should add your CSS code in the style.css file.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Anim
Posts: 8
Joined: Sat Sep 24, 2005 5:07 pm

Post by Anim »

Do you mean a HTML dump?

Here is the article that I paste directly into MyFAQ

Code: Select all

<style type="text/css"> 
<!-- .style1 {font-family: Verdana, Arial, Helvetica, sans-serif} .style2 {font-size: 10px} .style3 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; } .style4 {color: #FF0000} --> 
</style>
<table width="100%" height="100%" cellspacing="1" cellpadding="1" border="1" style="width: 100%;">
  <tbody>
    <tr>
      <td width="23%" height="5%"><span class="style2"></span> </td>
      <td width="18%" align="center" class="style3"><span class="style18">Panasonic AE900<br />
        <img src="/faq/images/ae900.jpg" /></span></td>
      <td width="16%" align="center" class="style3"><span class="style18">Sanyo Z4<br />
        <img src="/faq/images/z4.jpg" /></span></td>
      <td width="18%" align="center" class="style3"><span class="style18">Hitachi PJ-TX200<br />
        <img src="/faq/images/tx200.jpg" /></span></td>
      <td width="25%" align="center" class="style3"><span class="style18">Epson EMP TW-600<br />
        <img src="/faq/images/epson_tw_600.jpg" /></span></td>
    </tr>
    <tr>
      <td height="2%" style="vertical-align: top;"><span class="style3 style1 style2"><strong>Cost</strong></span></td>
      <td class="style3" style="vertical-align: top;"><span class="style20">£1,323</span></td>
      <td class="style3" style="vertical-align: top;"><span class="style20">£1,291</span></td>
      <td class="style3" style="vertical-align: top;"><span class="style20">£1,350</span></td>
      <td class="style3" style="vertical-align: top;"><span class="style20">£1,350</span></td>
    </tr>
    <tr>
      <td height="2%"><span class="style3 style1 style2"><strong>Type</strong></span></td>
      <td class="style3"><a href="http://www.3lcd.com/" class="style20">3LCD</a></td>
      <td class="style3"><a href="http://www.3lcd.com/" class="style20">3LCD</a></td>
      <td class="style3"><a href="http://www.3lcd.com/" class="style20">3LCD</a></td>
      <td class="style3"><a href="http://www.3lcd.com/" class="style20">3LCD</a></td>
    </tr>
    <tr>
      <td height="2%"><span class="style3 style1 style2"><strong>Resolution</strong></span></td>
      <td class="style3"><span class="style20">1280 x 720</span></td>
      <td class="style3"><span class="style20">1280 x 720</span></td>
      <td class="style3"><span class="style20">1280 x 720</span></td>
      <td class="style3"><span class="style20">1280 x 720</span></td>
    </tr>
    <tr>
      <td height="2%"><span class="style3 style1 style2"><strong>Lumens (High/Low)</strong></span></td>
      <td class="style3"><span class="style20">1,100/</span></td>
      <td class="style3"><span class="style20">1,000/</span></td>
      <td class="style3"><span class="style20">1,200/960</span></td>
      <td class="style3"><span class="style20">1,600/</span></td>
    </tr>
    <tr>
      <td valign="top" height="2%"><span class="style3 style1 style2"><strong>Lamp</strong></span></td>
      <td valign="top" class="style3"><span class="style20">130W UHM</span></td>
      <td valign="top" class="style3"><span class="style20">145W UHP</span></td>
      <td valign="top" class="style3"><span class="style20">150W UHP</span></td>
      <td valign="top" class="style3"><span class="style20">135W UHE E-TORL</span></td>
    </tr>
    <tr>
      <td height="2%" style="vertical-align: top;"><span class="style3 style1 style2"><strong>Lamp Life (High/Low)</strong></span></td>
      <td class="style3" style="vertical-align: top;"><span class="style21 style4">Unknown</span></td>
      <td class="style3" style="vertical-align: top;"><span class="style20">2000/3000</span></td>
      <td class="style3" style="vertical-align: top;"><span class="style20"><span class="style21">Unknown</span> </span></td>
      <td class="style3" style="vertical-align: top;"><span class="style20">2000/3000</span></td>
    </tr>
    <tr>
      <td height="2%"><span class="style3 style1 style2"><strong>Contrast</strong></span></td>
      <td class="style3"><span class="style20">5,500:1</span></td>
      <td class="style3"><span class="style20">7000:1</span></td>
      <td class="style3"><s
pan class="style20">5,000:1</span></td>
      <td class="style3"><span class="style20">5000:1</span></td>
    </tr>
    <tr>
      <td valign="top" height="2%"><span class="style3 style1 style2"><strong>Zoom</strong></span></td>
      <td valign="top" class="style3"><span class="style20">X2</span></td>
      <td valign="top" class="style3"><span class="style20">X2</span></td>
      <td valign="top" class="style3"><span class="style20"><span class="style21 style4">Unknown</span> </span></td>
      <td valign="top" class="style3"><span class="style20">X1.5</span></td>
    </tr>
    <tr>
      <td valign="top" height="2%"><span class="style3 style1 style2"><strong>Noise (High/Low)</strong></span></td>
      <td valign="top" class="style3"><span class="style20">26db/22db</span></td>
      <td valign="top" class="style3"><span class="style20">/22db</span></td>
      <td valign="top" class="style3"><span class="style20">30db/27db</span></td>
      <td valign="top" class="style3"><span class="style20">/26db</span></td>
    </tr>
    <tr>
      <td valign="top" height="2%"><span class="style3 style1 style2"><strong>Weight</strong></span></td>
      <td valign="top" class="style3"><span class="style20">3.6KG</span></td>
      <td valign="top" class="style3"><span class="style20">5.0KG</span></td>
      <td valign="top" class="style3"><span class="style20">4.9KG</span></td>
      <td valign="top" class="style3"><span class="style20">5.2KG</span></td>
    </tr>
    <tr>
      <td valign="top" height="2%"><span class="style3 style1 style2"><strong>PDF Spec Sheets</strong></span></td>
      <td valign="top" class="style3"><p><a href="http://www.3danswers.com/faq/attachments/AE900U_pre_Final.pdf" target="_blank" class="style20">Spec Sheet 1</a><br />
          <a href="http://www.3danswers.com/faq/attachments/PANPT-AE900U.pdf" target="_blank">Spec Sheet 2</a> </p></td>
      <td valign="top" class="style3"><a href="http://presentation-systems.co.uk/pdfs/sanyo-plv-z4.pdf" class="style20">Spec Sheet</a></td>
      <td valign="top" class="style3"><a href="http://www.3danswers.com/faq/attachments/hitachi_pjtx200.pdf" class="style20">Spec Sheet</a></td>
      <td valign="top" class="style3"><span class="style20"> </span></td>
    </tr>
    <tr>
      <td valign="top" height="2%"><span class="style3 style1 style2"><strong>Width/Depth/Height</strong></span></td>
      <td valign="top" class="style3"><span class="style20">335/270/95 mm</span></td>
      <td valign="top" class="style3"><span class="style20">382/305/127 mm</span></td>
      <td valign="top" class="style3"><span class="style20">340/298/113 mm</span></td>
      <td valign="top" class="style3"><span class="style20">406/310/125 mm</span></td>
    </tr>
    <tr>
      <td height="2%" style="vertical-align: top;"><span class="style3 style1 style2"><strong>Warranty</strong></span></td>
      <td class="style3" style="vertical-align: top;"><span class="style20">1 Year</span></td>
      <td class="style3" style="vertical-align: top;"><span class="style20">3 year</span></td>
      <td class="style3" style="vertical-align: top;"><span class="style21 style4">Unknown</span></td>
      <td class="style3" style="vertical-align: top;"><span class="style21 style4">Unknown</span></td>
    </tr>
    <tr bgcolor="#cccccc">
      <td height="2%" colspan="5" valign="top"><span class="style3 style1 style2"><b> Connections</b> </span></td>
    </tr>
    <tr>
      <td valign="top" height="5%"><span class="style3 style1 style2"><b>HDMI 19 pin</b><br />
        <img src="/faq/images/HDMI.jpg" /></span></td>
      <td valign="top" class="style3"><span class="style20">Yes</span></td>
      <td valign="top" class="style3"><span class="style20">Yes</span></td>
      <td valign="top" class="style3"><span class="style20">Yes</span></td>
      <td valign="top" class="style3"><span class="style20">Yes</span></td>
    </tr>
    <tr>
      <td valign="top" height="5%"><span class="style3 style1 style2">DVI<br />
        <img src="/faq/images/dvi.jpg" /></span></td>
      <td valign="top" class="style
3"><span class="style20">No</span></td>
      <td valign="top" class="style3"><span class="style20">No</span></td>
      <td valign="top" class="style3"><span class="style20">No</span></td>
      <td valign="top" class="style3"><span class="style20">No</span></td>
    </tr>
    <tr>
      <td valign="top" height="5%"><span class="style3 style1 style2"><b>VGA 15 Pin mini DSUB</b><br />
        <img src="/faq/images/vga_15pin.jpg" /></span></td>
      <td valign="top" class="style3"><span class="style20">Yes</span></td>
      <td valign="top" class="style3"><span class="style20">Yes</span></td>
      <td valign="top" class="style3"><span class="style20">Yes</span></td>
      <td valign="top" class="style3"><span class="style20">?</span></td>
    </tr>
    <tr>
      <td valign="top" height="5%"><span class="style3 style1 style2"><b>Component</b><br />
        <img src="/faq/images/component_2.jpg" /></span></td>
      <td valign="top" class="style3"><span class="style20">Yes </span></td>
      <td valign="top" class="style3"><span class="style20">Yes X 2</span></td>
      <td valign="top" class="style3"><span class="style20">Yes</span></td>
      <td valign="top" class="style3"><span class="style20">Yes</span></td>
    </tr>
    <tr>
      <td valign="top" height="14%"><span class="style3 style1 style2"><b>Composite Video</b><br />
        <img width="115" height="115" src="/faq/images/composite.jpg" /></span></td>
      <td valign="top" class="style3"><span class="style20">Yes</span></td>
      <td valign="top" class="style3"><span class="style20">Yes</span></td>
      <td valign="top" class="style3"><span class="style20">Yes</span></td>
      <td valign="top" class="style3"><span class="style20">Yes</span></td>
    </tr>
    <tr>
      <td valign="top" height="5%"><span class="style3 style1 style2"><b>SVideo</b><br />
        <img src="/faq/images/svideo_photo.jpg" /></span></td>
      <td valign="top" class="style3"><span class="style20">Yes</span></td>
      <td valign="top" class="style3"><span class="style20">Yes</span></td>
      <td valign="top" class="style3"><span class="style20">Yes</span></td>
      <td valign="top" class="style3"><span class="style20">Yes</span></td>
    </tr>
    <tr>
      <td valign="top" height="5%"><span class="style3 style1 style2"><b>Scart</b><br />
        <img src="/faq/images/scart.jpg" /></span></td>
      <td valign="top" class="style3"><span class="style20">Yes (Europe)</span></td>
      <td valign="top" class="style3"><span class="style20">No</span></td>
      <td valign="top" class="style3"><span class="style20">No</span></td>
      <td valign="top" class="style3"><span class="style20">Yes</span></td>
    </tr>
    <tr>
      <td valign="top" height="5%"><span class="style3 style1 style2"><b>RS232 9pin DSUB(Control)</b><br />
        <img src="/faq/images/rs232_photo.jpg" /></span></td>
      <td valign="top" class="style3"><span class="style20">Yes</span></td>
      <td valign="top" class="style3"><span class="style20">Yes</span></td>
      <td valign="top" class="style3"><span class="style20">Yes</span></td>
      <td valign="top" class="style3"><span class="style20">Yes</span></td>
    </tr>
    <tr>
      <td height="0%" style="vertical-align: top;"><span class="style2"></span></td>
      <td class="style3" style="vertical-align: top;"><span class="style21"></span></td>
      <td class="style3" style="vertical-align: top;"><span class="style21"></span></td>
      <td class="style3" style="vertical-align: top;"><span class="style21"></span></td>
      <td class="style3" style="vertical-align: top;"><span class="style21"></span></td>
    </tr>
    <tr bgcolor="#cccccc">
      <td height="2%" colspan="5" style="vertical-align: top;"><span class="style3 style1 style2"><b>Review Links</b></span></td>
    </tr>
    <tr>
      <td height="2%" style="vertical-align: top;"><span class="style2"></span> </td>
      <td class="style3" style="vertical-align: top;"><a href="http://www.projectorreviews.com/review.asp?reid=50" class="style20">projectoreviews</a></td>
      <td class="style3
" style="vertical-align: top;"><a href="http://translate.google.com/translate?u=http%3A%2F%2Fwww.cine4home.de%2Ftests%2Fprojektoren%2FSanyo-Z4-Preview%2FZ4Preview.htm&langpair=de%7Cen&hl=en&ie=UTF-8&oe=UTF-8&prev=%2Flanguage_tools" class="style20">cine4home</a></td>
      <td class="style3" style="vertical-align: top;"><a href="http://www.homecinemachoice.com/cgi-bin/shownews.php?id=8299" class="style20">homecinema</a></td>
      <td class="style3" style="vertical-align: top;"><a href="http://www.letsgodigital.org/en/news/articles/story_4347.html" class="style20">letsgodigital</a></td>
    </tr>
    <tr>
      <td valign="top" height="2%"><span class="style2"></span> </td>
      <td valign="top" class="style3"><a href="http://ausmedia.com.au/panasonic_ae_900.htm" class="style20">ausmedia</a></td>
      <td valign="top" class="style3"><span class="style20"> </span></td>
      <td valign="top" class="style3"><span class="style20"> </span></td>
      <td valign="top" class="style3"><a href="http://forum.ecoustics.com/bbs/messages/10381/158736.html" class="style20">acousitics</a></td>
    </tr>
    <tr>
      <td height="12%" style="vertical-align: top;"><span class="style2"></span> </td>
      <td class="style3" style="vertical-align: top;"><a href="http://www.digitalproducer.com/articles/viewarticle.jsp?id=34515" class="style20">digitalproducer</a></td>
      <td class="style3" style="vertical-align: top;"><span class="style20"> </span></td>
      <td class="style3" style="vertical-align: top;"><span class="style20"> </span></td>
      <td class="style3" style="vertical-align: top;"><span class="style20"> </span></td>
    </tr>
    <tr bgcolor="#cccccc">
      <td height="12%" colspan="5" style="vertical-align: top;"><span class="style3"><strong>Where to Buy </strong></span></td>
    </tr>
    <tr>
      <td height="12%" style="vertical-align: top;"></td>
      <td class="style3" style="vertical-align: top;"><a href="http://www.komplett.co.uk/k/ki.asp?sku=311224&cks=SER">komplett</a> @<br>
&pound;1,323.00 </td>
      <td class="style3" style="vertical-align: top;"><p><a href="http://www.ivojo.co.uk/sanyo-plv-z4.htm">ivojo</a> @ &pound;1,291.33 inc. VAT + Delivery + pixel check</p></td>
      <td class="style3" style="vertical-align: top;"><span class="style4">no known retailer yet</span> (<a href="mailto:anim@3danswers.com">email me if you sell it</a>) </td>
      <td class="style3" style="vertical-align: top;"><span class="style4">no known retailer yet</span> (<a href="mailto:anim@3danswers.com">email me if you sell it</a>) </td>
    </tr>
    <tr>
      <td height="12%" style="vertical-align: top;"></td>
      <td class="style3" style="vertical-align: top;"></td>
      <td class="style3" style="vertical-align: top;"><a href="http://www.projectorpoint.co.uk/Sanyo_PLV-Z4.htm">projector point</a> @ &pound;1,291.33 inc. VAT </td>
      <td class="style3" style="vertical-align: top;"></td>
      <td class="style3" style="vertical-align: top;"></td>
    </tr>
  </tbody>
</table>
Thanks
Anim
Thorsten
Posts: 15724
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

I'm still working on your problem which is really a hard one!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Anim
Posts: 8
Joined: Sat Sep 24, 2005 5:07 pm

Post by Anim »

Thanks

Keep me posted.

Anim
Post Reply