-
AuthorPosts
-
timtecsa Friend
timtecsa
- Join date:
- October 2009
- Posts:
- 1382
- Downloads:
- 86
- Uploads:
- 327
- Thanks:
- 197
- Thanked:
- 132 times in 34 posts
July 19, 2014 at 11:35 am #199811The Ticker tooltip for the article below gets cut short. Any idea why?
http://globalprintmonitor.net/en/tech/technology/solar/46971-et-solar-extends-its-presence-in-turkey
The intro tsxt is: ET Solar Energy Corp. (“ET Solar”), a leading smart energy solutions provider, announces that it has supplied high quality PV modules to DOMILUX Leuchten Herstellung und Vertrieb GmbH (“DOMILUX”), a German solar developer and EPC company, for a 728 kW rooftop solar power plant in Turkey.
The tooltip is cut after: ET Solar Energy Corp. (
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
July 21, 2014 at 7:57 am #542974I just solved the problem directly on your site, below is solution to solve it
Open “ET Solar Extends Its Presence in Turkey” article and change
<blockquote>ET Solar Energy Corp. (“ET Solar”), a leading smart energy solutions provider, announces that it has supplied high quality PV modules to DOMILUX Leuchten Herstellung und Vertrieb GmbH (“DOMILUX”), a German solar developer and EPC company, for a 728 kW rooftop solar power plant in Turkey</blockquote>
To
<blockquote>ET Solar Energy Corp. (‘ET Solar’), a leading smart energy solutions provider, announces that it has supplied high quality PV modules to DOMILUX Leuchten Herstellung und Vertrieb GmbH (‘DOMILUX’), a German solar developer and EPC company, for a 728 kW rooftop solar power plant in Turkey.</blockquote>
Please check it again, let me know if it helps
timtecsa Friendtimtecsa
- Join date:
- October 2009
- Posts:
- 1382
- Downloads:
- 86
- Uploads:
- 327
- Thanks:
- 197
- Thanked:
- 132 times in 34 posts
July 21, 2014 at 11:08 am #543007Thanks, Ninja. Yes, that edit does indeed fix the tooltip on that article, but it’s not a practical general solution. Expecting editors to spot such character combinations on the fly won’t work in practise. I expect you realise this too 🙂 Back to the coders?
Tim
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
July 23, 2014 at 10:15 am #543212<em>@timtecsa 437553 wrote:</em><blockquote>Thanks, Ninja. Yes, that edit does indeed fix the tooltip on that article, but it’s not a practical general solution. Expecting editors to spot such character combinations on the fly won’t work in practise. I expect you realise this too 🙂 Back to the coders?
Tim</blockquote>
You can try to apply another solution with this bug again
Open templates/ja_teline_iv_t3/html/mod_janewsticker/default.php file
Change
<a title="<?php echo modJANewStickerHelper::trimString( trim(strip_tags($item->introtext) ), 300); ?>" <?php echo $aClass ;?> href="<?php echo modJANewStickerHelper::getLink($item, $userRSS); ?>"><span><?php echo modJANewStickerHelper::trimString( $item->title, $titleMaxChars );?></span>
To
<a title='<?php echo modJANewStickerHelper::trimString( trim(strip_tags($item->introtext) ), 300); ?>' <?php echo $aClass ;?> href="<?php echo modJANewStickerHelper::getLink($item, $userRSS); ?>"><span><?php echo modJANewStickerHelper::trimString( $item->title, $titleMaxChars );?></span>
timtecsa Friendtimtecsa
- Join date:
- October 2009
- Posts:
- 1382
- Downloads:
- 86
- Uploads:
- 327
- Thanks:
- 197
- Thanked:
- 132 times in 34 posts
July 24, 2014 at 11:12 pm #543396The php edit seems to make no difference.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
July 25, 2014 at 8:57 am #543436<em>@timtecsa 438079 wrote:</em><blockquote>See: http://globalprintmonitor.net/en/blogs/packaging/47198-ball-s-let-s-can-hunger-food-drive-provides-nearly-145-000-meals-for-community-food-share
The php edit seems to make no difference.</blockquote>
I just fixed it directly on your site.
Open templates/ja_teline_iv_t3/html/mod_janewsticker/default.php file
Change
<?php echo modJANewStickerHelper::trimString( trim(strip_tags($item->introtext) ), 300); ?>
To
<?php echo htmlentities(addslashes(modJANewStickerHelper::trimString( trim(strip_tags($item->introtext) ), 300))); ?>
Please check it again, let me know if it helps
timtecsa Friendtimtecsa
- Join date:
- October 2009
- Posts:
- 1382
- Downloads:
- 86
- Uploads:
- 327
- Thanks:
- 197
- Thanked:
- 132 times in 34 posts
July 26, 2014 at 11:03 am #543503Yes, it works better than before but why not use the same code as is used for JA News Featured and JA News Pro which works so well, even with languages containing accented characters? Speed?
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
-
AuthorPosts
This topic contains 8 replies, has 2 voices, and was last updated by Ninja Lead 10 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum