Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 23, 2012, 06:20:04 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Interested in joining the WebsiteBaker team?
For more Information read
here
or on our
new website
.
155439
Posts in
21702
Topics by
7755
Members
Latest Member:
Smacki
WebsiteBaker Community Forum
English
Modules
(Moderator:
Argos
)
Anynews Module + html
Pages: [
1
]
Go Down
Author
Topic: Anynews Module + html (Read 518 times)
Bosan
Offline
Posts: 1
Anynews Module + html
«
on:
August 01, 2008, 06:53:57 PM »
Hi Everyone!
I'm trying to implent the Anynews Module around some html..
I opened a code page and doing this:
<?
print "<table><tr><td>
";
?>
display_news_items(0, 5, 50, 2, 'News', 'show full news text', 'uups, no news available', false);
<?
print "</td></tr></table>";
?>
I also want to add some more html, but onces i know how to implent this, i think i can do the rest myself..
What is the right way to do this.. is this possible?
Thanks a lot for helping!!
Logged
BerndJM
Offline
Posts: 1764
Re: Anynews Module + html
«
Reply #1 on:
August 01, 2008, 09:39:44 PM »
Hi,
the help for
pages type code
says:
Quote
You are neither required nor allowed to use an opening “<?php”, nor a closing “?>”.
If you have to handle longer html parts inside the code, maybe the
heredoc-syntax
an option for you.
Regards Bernd
Logged
In theory, there is no difference between theory and practice. But, in practice, there is.
Pages: [
1
]
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
=> Security Announcements
=> Documentation
=> WebsiteBaker Website Showcase
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
=====> Modules / Extensions
===> Suggestions
===> Software bugs
=> Help & Support
=> Modules
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
=> jQuery
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
=> Archive (posts up to 2007)
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
=====> Module / Extensions
===> Vorschläge
===> Softwarefehler
===> Erfahrungs und Testberichte
=> Hilfe/Support
=> Module & Snippets
=> Templates & Design
=> Tutorials
=> jQuery
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...