Hello Glen,
Sorry for posting this thread in dev list, as I am not aware to it. I
will subscribe myself to the users mailing list, for users questions.
Thanks
Gaurav
On Tuesday 26 November 2013 07:16 AM, Glen Mazza wrote:
Gaurav, mailing list etiquette, please switch to the Roller User's
mailing list (we're all on it) for *usage* questions (including
templating questions), it helps with archival searching (so people
don't have to search both DEV and USER). All the DEVs are on both,
but you also get users on Roller-users:
https://cwiki.apache.org/confluence/display/ROLLER/Roller+Mailing+Lists.
To indirectly answer your question (I don't know without researching
it further, it's really Velocity-related), you may find it easier to
look in the Roller source for the definition of
"showNextPrevEntriesControl", and just incorporate *that* into your
coding.
Glen
On 11/25/2013 06:09 AM, Gaurav wrote:
Hello,
I am templating the blog and in that there is
#showNextPrevEntriesControl($pager) which show the blog next prev
controls.
I want this to be in an if condition, let me give an example my
situation
*Current*
#showNextPrevEntriesControl($pager)
*Implementing*
#if(some_condition)
<ol class="breadcrumb" style="text-align: center;">
#showNextPrevEntriesControl($pager)
</ol>
#end
I want this, if the controls come or have entry in it then only the
<ol> tag will come. As in case I did not use the IF statement the
<ol> tag appears empty and this breaks some design according to my css.
--
Regards,
*Gaurav Saini*
/Developer, Digital Marketing and Pursuing B.Tech/
/Viithiisys Technologies/
/Email: gauravsain...@gmail.com, gaurav.sa...@viithiisys.com/
/Mobile: +91-9915346686/