I need some helps on my frontpage. It is broken in multiple places.
1. The search form does not work. With the action /siteseach.do, I got 404.
What is the correct URL?
<h3>Search for blogs</h3>
<form id="searchForm" method="get"
action="/sitesearch.do"
style="margin: 0; padding: 0" onsubmit="return
validateSearch(this)">
<input type="text" id="q" name="q" size="20"
maxlength="255" value="" />
<input value=" ? " class="searchButton"
type="submit">
</form>
2. "Recent Entries" displays nothing. But I have posted 3 entries. I tried
to debug Weblog.vm. $entryCount appears to be null value. Please help! The
directory listing seems to have similar problem.
## 1) SITE-WIDE entries (the default)
#set($pager = $site.getWeblogEntriesPager($since,
$maxResults))
## 2) PLANET-entries
## set($pager = $planet.getAggregationPager($since,
$maxResults))
#if($pager.items.size() > 0)
#set($entryCount = $pager.items.size() - 1)
#set($startDate = $pager.items.get(0).pubTime)
#set($endDate = $entries.get($entryCount).pubTime)
#end
Size: ${entryCount} <br>
Steve Lihn, Enterprise Web Infrastructure, Merck & Co., Inc.,
Tel: (908) 423 - 4441
------------------------------------------------------------------------------
Notice: This e-mail message, together with any attachments, contains
information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station,
New Jersey, USA 08889), and/or its affiliates (which may be known
outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD
and in Japan, as Banyu - direct contact information for affiliates is
available at http://www.merck.com/contact/contacts.html) that may be
confidential, proprietary copyrighted and/or legally privileged. It is
intended solely for the use of the individual or entity named on this
message. If you are not the intended recipient, and have received this
message in error, please notify us immediately by reply e-mail and then
delete it from your system.
------------------------------------------------------------------------------