-
AuthorPosts
-
kansen Friend
kansen
- Join date:
- September 2008
- Posts:
- 86
- Downloads:
- 0
- Uploads:
- 25
- Thanks:
- 8
- Thanked:
- 12 times in 1 posts
June 8, 2011 at 3:52 am #164968hello
im trying to find out how to display the articles on ja newspro front page as a table 3×3 , displaying 9 featured articles. something like this (replace banners with articles pictures)
i had create a new module template, and made a copy of sidebar, i see it uses the variable rows as news on the foreach
<?php foreach ($rows as $news) {
if($i<$bigitems) {?>
<div class="jazin-contentwrap">
<div class="jazin-content clearfix"><a href="<?php echo $news->link;?>" title="<?php echo strip_tags($news->title); ?>" class="jazin-content-inner">
<?php if($bigshowimage)
echo $news->bigimage?><span class="jazin-content-text">
<span class="jazin-title"><?php echo $news->title;?></span>
<?php echo $bigmaxchar > strlen($news->bigintrotext)?$news->introtext:$news->bigintrotext?>
</span>
</a>
</div></div>
is there anyhow to at least manual print? im trying something like to set $news[0] to catch the 1st item but it doesnt work :confused:
<td><div class="jazin-contentwrap">
<div class="jazin-content clearfix"><a href="<?php echo $news[0]->link;?>" title="<?php echo strip_tags($news[0]->title); ?>" class="jazin-content-inner">
<?php if($bigshowimage) echo $news[0]->bigimage?>
<span class="jazin-content-text">
<span class="jazin-title"><?php echo $news[0]->title;?></span>
</span>
</a>
</div></div></td>
any clue?
cheers
mayuri_g Friendmayuri_g
- Join date:
- May 2011
- Posts:
- 107
- Downloads:
- 0
- Uploads:
- 5
- Thanked:
- 10 times in 11 posts
June 13, 2011 at 12:45 pm #396097hello,
You can display 9 featured articals on front page as a 3*3 table by the following way:
1) create a main catagory,then create a 9 subcatagories.
2) create 9 featured articals of a picture. and assign each subcatagory to each artical.
3) Extensions – Module Manager – New – Ja News Pro Module
enter the fields of module as per screenshot.I have attached a screenshots for your refferance.
-
AuthorPosts
Viewing 2 posts - 1 through 2 (of 2 total)This topic contains 2 replies, has 2 voices, and was last updated by mayuri_g 13 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum