Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • minver Friend
    #153487

    hi!
    How can I duplicate the style of the Front Page Blog Layout and make the Category Blog Layout to look the same.?

    I have seen this but with ja-norite doesn’t work.

    Saguaros Moderator
    #352556

    @ minver, i published articles on the front page layout, and the fontpage blog layout is now similar to the Category Blog Layout, pls see the screenshots below.

    Thanks

    minver Friend
    #352609

    thanks Thenhc , maybe I didn’t explain well …
    pls see the screenshots below

    I want the same layout-blog frontpage on all other pages.

    Now, I can create one module for each article and put it in the page (item menu: azienda, business, etc.)

    …. does exist another faster way?

    Thanks


    1. frontpage
    2. category
    Saguaros Moderator
    #352778

    <em>@minver 190200 wrote:</em><blockquote>thanks Thenhc , maybe I didn’t explain well …
    pls see the screenshots below

    I want the same layout-blog frontpage on all other pages.

    Now, I can create one module for each article and put it in the page (item menu: azienda, business, etc.)

    …. does exist another faster way?

    Thanks</blockquote>

    now, you open the file: com_content/category/blog_item.php and find the following : code

    [PHP]
    if (preg_match_all ($regex, $this->item->text, $matches)) {

    $this->item->text = preg_replace ($regex, ”, $this->item->text);

    $images = implode (“n”, $matches[0]);

    }
    [/PHP]
    replace:
    [PHP]
    if (preg_match_all ($regex, $this->item->text, $matches)) {

    $this->item->text = preg_replace ($regex, ”, $this->item->text);

    $images = implode (“n”, $matches[0]);

    }
    [/PHP]
    replace:
    [PHP]
    if (preg_match_all ($regex, $this->item->text, $matches)) {

    $this->item->text = preg_replace ($regex, ”, $this->item->text);

    $image = implode (“n”, $matches[0]);

    } else {
    $image=”;
    }
    [/PHP]

    and :
    [PHP]
    <?php if ($this->item->params->get(‘show_title’)) : ?>
    [/PHP]
    replace:
    [PHP]
    <?php if ($this->item->params->get(‘show_title’)) : ?>
    <?php echo $image; ?>
    [/PHP]

    2) you disable date, author, email… display in each article via the Menu’s Configuration

    3) You install the ja thumbnail plugin and enable the resizing thumbnail feature in the Category Blog Layout, you set value for two parameters as following:

    Intro Images Width : 32
    Intro Images Height :32

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

This topic contains 4 replies, has 2 voices, and was last updated by  Saguaros 14 years, 3 months ago.

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