OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



information rank in subfolders

OJS development discussion, enhancement requests, third-party patches and plug-ins.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

information rank in subfolders

Postby 2261422 » Mon Feb 22, 2010 10:00 am

I need put only for one journal "autores" instead "autores/as" and for this I search the key in the locale archives, and put the next logic statments:

{iterate from=journals item=journal}
{if $journal->getLocalizedTitle()=='Journal_Name'}
<message key="navigation.infoForAuthors">Para autores</message>
{else}
<message key="navigation.infoForAuthors">Para autoras/es</message>
{/if}
{/iterate}

But it don't give me any effect, may be it because the information rank in subfolders?
What can I do??

thanks for the help.
2261422
 
Posts: 33
Joined: Mon Jul 06, 2009 8:08 am

Re: information rank in subfolders

Postby 2261422 » Tue Mar 16, 2010 6:09 am

I find a way:

MODIFICACIÓN DE NIVEL DE USO DE VARIABLES PARA $JOURNAL EN /TEMPLATES/INDEX/JOURNALS.TPL

Primero ingresa a /pages y busca el lugar del sistema en este caso /pages/index/IndexHandler.ini.php, ALLI SE BUSCA EL ARCHIVO PHP QUE DEFINE LOS TEMPLATES QUE SERAN DESPLEGADOS en este caso (IndexHandler.ini.php) y también se DEFINEN LAS VARIABLES QUE SERÁN UTILIZADAS EN EL TEMPLATE así:

// Assign journals iterate to journal.tpl **CamiCasi**
$journals = &$journalDao->getEnabledJournals();
$templateMgr->assign_by_ref('journals', $journals);
// Assign journals iterate to journal.tpl **CamiCasi**

Y se despliegan así:
$templateMgr->display('index/site.tpl');
2261422
 
Posts: 33
Joined: Mon Jul 06, 2009 8:08 am


Return to OJS Development

Who is online

Users browsing this forum: Google [Bot] and 1 guest