Forum

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 3 characters - maximum search word length is 84 characters

Topic RSS
Display title or link to sermon
22 April, 2011
2:41 pm
inphocus
Member
Forum Posts: 6
Member Since:
22 April, 2011
Offline

I am trying to figure out how to link directly to specify sermons, or even the most recent sermon, how do you link to the url or the most recent sermon in php? How to you display the title and the date of the most recent sermon in php?

Do I use something like:

sermon title:
<?php echo stripslashes($sermon["Sermon"]->title) ?>

sermon date:
<?php echo sb_formatted_date ($sermon["Sermon"]) ?>

series link:
<?php echo stripslashes($sermon["Sermon"]->series) ?>

Which means I can create:

<a href="<?php echo stripslashes($sermon["Sermon"]->series) ?>">Series in Romans</a>

Is this right or do I need to go another route?

27 April, 2011
11:13 pm
Mark Barnes
Admin
Forum Posts: 425
Member Since:
14 December, 2005
Offline

The sb_display_sermons function in frontend.php should help you.

Forum Timezone: Europe/London

Most Users Ever Online: 40

Currently Online:
11 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

malpan: 2453

jogen: 2440

VanWatterson: 652

GeraldSebring: 364

LucasWoltman: 362

RandellFeenstra: 362

Member Stats:

Guest Posters: 7

Members: 2062

Moderators: 1

Admins: 1

Forum Stats:

Groups: 1

Forums: 2

Topics: 1071

Posts: 4042

Newest Members: richdorm, Aaron Velasquez, aaronv, dave5884, tomduckering, ccwebb

Moderators: Ben Miller (386)

Administrators: Mark Barnes (425)

Comments are closed.