1
bulinmartin
AMS module - Banner into a block

Hi, I use AMS 3 module. I would like to show the BANNER (number in my case) on the front page of my site, so in the ams_block_top.html block. I put there <{$news.banner}>, and in /blocks/ams_top.php I tried to assign this putting: $news['banner'] = $story->banner();.

I'm bad at PHP, so I just tried it, and I see I need some help.

After this step, the site crashs and is not availible. I tried also $news['banner'] = $story->artbanner(); $news['banner'] = $story->articlebanner();...but the result is same



Thanks for any help.

Login

Who's Online

163 user(s) are online (114 user(s) are browsing Support Forums)


Members: 0


Guests: 163


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits