Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • terryatjigsaw Friend
    #162574

    Hello there

    If you look at the below site, the top article (at the moment) is “Private Recital with David Kim”
    http://www.koreanamericanstory.org/dev/www.koreanamericanstory.org/

    I’ve found that only a single image can be displayed in a content item featured on frontpage, although if you go to the article itself, all images are displayed. This is a pretty big problem as we are hoping to embed shopping cart buttons in the article, and allow people to purchase tickets from the frontpage excerpt, not just the actual article.

    When I switch to using the JA_Purity template, this problem does not occur.

    Thanks, Terry

    WPStrong Friend
    #386548

    hi Terry,
    open templatesja_tubeja_templatetools_1.5.php, find the following code:
    [PHP]$row->text = preg_replace( $regex1, ”, $row->text );
    $regex1 = “/<div class=”mosimage”.*</div>/”;
    $row->text = preg_replace( $regex1, ”, $row->text );[/PHP]
    replace it by :
    [PHP]$row->text = preg_replace( $regex1, ”, $row->text ,1);
    $regex1 = “/<div class=”mosimage”.*</div>/”;
    $row->text = preg_replace( $regex1, ”, $row->text,1 );[/PHP]
    Save and see the result.

    Hope this helps,
    Trong .

    terryatjigsaw Friend
    #388944

    Hi Trong

    Many thanks for the reply, hope I have made the change suggested correctly.

    Actually, the result of the change is to show only one picture on the front page for this article, whereas I am trying to achieve something different.
    http://www.koreanamericanstory.org/dev/www.koreanamericanstory.org/
    http://www.koreanamericanstory.org/dev/www.koreanamericanstory.org/index.php?option=com_content&view=article&id=166:recital-david-kim&catid=55:future-events&Itemid=130
    How do I get all images to display without any processing or resizing at all? I would like all images to display on the front page within the introductory snippet before the read more link..

    Thanks, Terry

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

This topic contains 3 replies, has 2 voices, and was last updated by  terryatjigsaw 13 years, 7 months ago.

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