-
AuthorPosts
-
April 26, 2015 at 12:01 am #205827
I would like to add a banner between each home section. Like the image attached.
I tryed editing the file templates/ja_teline_v/acm/news-list/tmpl/style-1.php
I have added this code;
[PHP]
<?php
$position = “banner-cat” . $index;
echo $helper->renderModules($position) ;
?>
[/PHP]
Before the endforeach but the three banners shows together after the first section.Can you help me?
Thanks-
Ninja Lead Moderator
Ninja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
April 27, 2015 at 3:55 pm #568508That’s news-home position and you can add new banner module on it and order by it between other modules.
April 27, 2015 at 5:04 pm #568520I probably did not explain myself well. The English language is not my main language.
I want to add a banner between the categories module “Advanced Custom JoomlArt module” with style “Magazine – Listing Category: style-1”. Like this:
? Articles Category
? Banner
? Articles Category
? Banner
? Articles Category
? Banner
I have added this code before the endforeach from this file “templates/ja_teline_v/acm/news-list/tmpl/style-1.php”:
<? php
*** $ position = “banner-cat”. $ index;
*** echo $ helper-> renderModules ($ position);
?>
But the modules appear together after the first category.
If I add any other code, like and empty div, it works fine. The problem is when I want to add a module position.
Let me know if I explain myself better.Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
April 29, 2015 at 2:51 pm #568832Hi, I solved my problem. It was a mistake I made.
Adding the code to that file made what I needed.
Regards -
AuthorPosts
Viewing 6 posts - 1 through 6 (of 6 total)This topic contains 6 replies, has 2 voices, and was last updated by piojo777 9 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum
-