-
AuthorPosts
-
Saguaros Moderator
Saguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
August 13, 2010 at 4:14 am #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
August 13, 2010 at 11:34 am #352609thanks Thenhc , maybe I didn’t explain well …
pls see the screenshots belowI 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
-
Saguaros Moderator
Saguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
August 16, 2010 at 4:29 am #352778<em>@minver 190200 wrote:</em><blockquote>thanks Thenhc , maybe I didn’t explain well …
pls see the screenshots belowI 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 -
AuthorPosts
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, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum