test
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • kim091061 Friend
    #148459

    Content gets bold in frontpage when I am using JA News Frontpage/JA News 1.3.1.

    Please help.


    1. mm
    Saguaros Moderator
    #332131

    Hello guy!

    I guess the problem is from the HTML introtex of articles, please check one by one, any of them missing the close b or tag close “strong” tag.

    If possible, please give me the link to your site , i would like to have a closer on the issue.

    Thanks

    kim091061 Friend
    #332167

    Hi,

    Thank you for the answer.
    The link is: http://www.misbrugspolitiskmagasin.dk

    Saguaros Moderator
    #332174

    my guess is right, the problem is from the HTML content;
    Here is one of problem articles.

    <p>De russiske mænd har højt alkoholforbrug og lav levealder. Det får nu den russiske regering til at gribe til restriktioner.</p>

    <p><strong>

    The HTML has a strong tag but it is missing a close tag.

    now, you ‘ll fix the problem as following:
    1) you re-make the HTML for each articles displaying on the module with format:

    [PHP]
    <p>IMAGE HERE</p>
    <p>INTROTEXT HERE</p>
    <hr id=”system-readmore” />
    DETAIL INFORMATION HERE
    [/PHP]
    example:

    [PHP]
    <p><img class=”caption” src=”images/stories/demo/health/diet-4.jpg” border=”0″ alt=”Sample image” title=”Sample image” align=”left” /></p>
    <p>Proin augue Donec non nascetur congue dolor dignissim Aenean Duis consectetuer. Justo Vestibulum porta et pellentesque justo quis Vestibulum in wisi Donec.</p>

    <hr id=”system-readmore” />

    <p>Elit interdum interdum sem cursus ut metus dignissim sit ut dignissim. Vestibulum consequat turpis commodo porttitor at ut laoreet at Vestibulum ligula. Condimentum mauris interdum velit elit massa non Aenean vitae ut vitae. Ut eros et tincidunt laoreet libero ac Cras In ornare in.</p>
    <p><img class=”caption” src=”images/stories/demo/health/diet-4_1.jpg” border=”0″ alt=”Sample image” title=”Sample image” align=”left” /> <img class=”caption” src=”images/stories/demo/health/diet-4_2.jpg” border=”0″ alt=”Sample image” title=”Sample image” align=”left” /></p>
    <p>Turpis nonummy id Cras et Curabitur eu urna Vivamus dolor non. Est condimentum sit orci ac arcu Donec amet aliquam tristique Praesent. Dictum pulvinar dictum nibh orci arcu neque pede neque diam cursus. Quam mi consequat ut ante Curabitur accumsan ante Proin Phasellus dolor. Curabitur orci gravida aliquet auctor semper.</p>
    [/PHP]

    2) if you would not like to edit the html content, you can make chang of codes to reslove this.
    please open the file: modulesmod_janews_fptmpltelineiii_fp.php and find codes at line 31;
    [PHP]<?php echo $bigmaxchar?$news->introtext1:$news->introtext;?>[/PHP]
    [PHP]<?php echo strip_tags( $bigmaxchar?$news->introtext1:$news->introtext );?>[/PHP]

    open the file:
    [PHP] <?php echo $smallmaxchar?$news->introtext1:$news->introtext; ?> [/PHP]
    replace :
    [PHP] <?php echo strip_tags( $smallmaxchar?$news->introtext1:$news->introtext ); ?> [/PHP]

    Good luck

    kim091061 Friend
    #332179

    Thanks a lot, I´l try this.

    kim091061 Friend
    #332186

    Hi again,
    It solved my problem. Thanks:)

Viewing 6 posts - 1 through 6 (of 6 total)

This topic contains 6 replies, has 2 voices, and was last updated by  kim091061 14 years, 9 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum