Quantcast
Channel: Software Support - PKP Community Forum
Viewing all articles
Browse latest Browse all 17644

About using variables in navigation block template

$
0
0

@tantalocura wrote:

Hi
I use some static pages for different conferences and I'm looking to include them on
the navigation block, but I'm looking to switch between them, depending on (i.e.) SchedConfID or another known variable ...
I mean something like this:

{if $schedConfId==1}
 <li>&#187;<a href="{url page="pages" op="view" path="path_01"}">{translate key="schedConf.submission"}</a></li>
{/if}
{if $schedConfId==2}
 <li>&#187;<a href="{url page="pages" op="view" path="path_02"}">{translate 
key="schedConf.submission"}</a></li>
{/if}

or like this:

{if $schedConfShowCFP}
 <li>&#187; <a href="{url page="pages" op="view" path="CFP_".$schedConfId}">{translate
 key="schedConf.cfp"}</a></li>
{/if}

Is it possible? How can I do it ?
Thanks a lot
Luis

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 17644

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>