This section generates the list of features articles for the left menu.
%STARTSECTION{name="featureblock"}%
<noautolink><div class='featuredArticles'>
%~~ FORMATLIST{"%SEARCH{ "^\|[^\|]*\|[^\|]*\|" topic="%TOPIC%" web="%WEB%" type="regex" multiple="on" nosearch="on" nototal="on" format="$pattern(^\| *(.*?) *\|.*)" separator=", "}%"
~~~ skip="1"
~~~ limit="5"
~~~ format="$percntDBQUERY{topic=\"$1\"
~~~ web=\"Home\"
~~~ format=\"<h4>[[$web.$topic][$expand(TopicTitle)]]</h4>
~~~ <span style='line-height:1.1em;'><span style='font-size:.9em;'>By [[$expand(PostedBy)]]</span>
~~~ <br /><em>$expand(Summary)</em></span> <br />
~~~ <a href='%SCRIPTURL{view}%/$web/$topic'
~~~ title='read full article...'
~~~ class='featureLink'>
~~~ %REDARROW% More</a> \"
~~~ }$percnt"
~~~ separator="$n "
~~ }%
</div>
<a class='featureLink' href='%SCRIPTURL{view}%/Home/FeatureArticles'>%REDARROW% View All Featured Articles</a>
</noautolink>
%ENDSECTION{name="featureblock"}%
This section renders the featured article badge.
%STARTSECTION{name="badge"}%<a href='%SCRIPTURL{view}%/%WEB%/%TOPIC%' title='Featured Article. Click to view all Featured Articles'>%FEATURED%</a>%ENDSECTION{name="badge"}%
This section defines the featured article block on home page.
hold this search for reinstating rotating featured articles on front page. Put it back in the initial CALC in place of Advisory Board Coming Soon.
%SEARCH{ "^\|[^\|]*\|[^\|]*\|" topic="FeatureArticles" web="%WEB%" type="regex" multiple="on" nosearch="on" nonoise="on" nototal="on" format="$pattern(^\| *(.*?) *\|.*)" separator=", " }%
|
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding GolfBizWiki? Send feedback |
|||||||||||||