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

330 user(s) are online (189 user(s) are browsing Support Forums)


Members: 0


Guests: 330


more...

Donat-O-Meter

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

Latest GitHub Commits