test
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • nedzad grebovic Friend
    #189419

    Dooes anyone have any idea how to avoit empty space if image is not market in blog style, or instead that image use the first one in article?


    1. empty-blog
    phong nam Friend
    #501175

    Hi nedzad72,

    It seems that your concern is related to displaying the thumbnail (intro) images of Joomla articles on category view on our JA Argo template. In order to get that, you need to add a image in Intro image option of Images and links tab in the backend of article.

    Note: In K2 items, you can add a thumbnail image in Image tab of item backend. You can use the intro image & full-article image with the same image file.


    1. 8-4-2013-8-54-41-AM
    nedzad grebovic Friend
    #501201

    Do I have to this for all 7.000 articles?

    phong nam Friend
    #501247

    Hi nedzad72,

    Yes. The intro images need to be added in the backend of articles.
    Well, another solution is displaying the random image to replace the empty intro images on the category view. Here are the detailed steps:

    Step 1. Create a random image into templatesja_argoimages path.

    i.e: empty.png

    Step 2. Open templatesja_argohtmlcom_contentcategoryblog_item.php, then put belows codes into 40th line:

    <?php if (empty($images->image_intro)) : ?>
    <?php $imgfloat = (empty($images->float_intro)) ? $params->get('float_intro') : $images->float_intro; ?>
    <img src="templates/ja_argo/images/empty.png"/>
    <?php endif; ?>

    Note: You should backup your files before applying changes.


    1. 8-5-2013-11-57-29-AM
    hariorama Friend
    #508892

    is it not possible to change the layout to the left, so we do not have this empty space?

    phong nam Friend
    #509115

    Hi hariorama,

    There are 2 ways to move the layout to left in this case:

    – Disable the position at inset position so that the com_content layout will move to the left.

    – Or you can backup and open templatesja_argotplsblocksmainbody-content-left.php file, change the order of layout as in marked in snapshot. By that way, the com_content (blog) layout will move to left too.

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

This topic contains 6 replies, has 3 voices, and was last updated by  phong nam 11 years, 2 months ago.

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