Posts Tagged ‘templates’

Drupal: customize language switcher block

If you are runnning a drupal multilingual site, you might be using i18n with language icons modules. I’ve received some mails asking how to customize the aspect of the multilang switcher block. Easy! Log in as admin and navigate to /admin/settings/language/icons There you will be able to 1) customize the Icon placement (before link (after [...]

vufind: mostrar información de reservas en los registros

Estos días he estado trasteando con vufind ([1] y [2]). Mostrar el enlace hacia Holds En algunas bibliotecas que también tienen vufind y su catálogo es Innovative Millenium había visto que mostraban la posibilidad de colocar un enlace para reservar ejemplares directamente. Sin embargo en mi instalación de vufind no parecía funcionar. Investigando un poco [...]

Smarty templates: print_r an array [SOLVED]

There is a easy way to print_r an array using smarty templates. For instance, if you want to print_r the $row variable in a template file (.tpl), you can do it like: <!– the following line will display the array values, but not the tags –> {$row|print_r}   <!– the following line will display the [...]

Joomla templating – know where you are (full article view or article-listing) [SOLVED]

Some time ago I talked about how to know if you are in the frontpage or not But you might want to know (for instance, for plugin displaying) if you are viewing a full article or just a listing of articles (with just a preview of the articles’ content). How do you do this? You [...]

CDS-Invenio: remove fulltext tab from HTML detailed

If you are using CDS Invenio default template, the HTML detailed view is organized in tabs (Information, References, Citations, Discussion, Usage Statistics, Fulltext). The last tab shows the fulltexts attatched to a record only if the have been loaded via Bibrecdoc. If you click this tab link you will be redirected to something like http://zaguan.unizar.es/record/4343/files/ [...]

CDS Invenio: Bibformat elements (bfe_*) and language

If you want your CDS-Invenio repository to be multilanguage you should be aware of the language in which bibformat elements are shown. bfo.lang returns the language that was asked to be used for the formatting. Always returns a string. Want an example? Lets take a closer look at my bfe_publi_art.py file (placed under /cds-invenio/lib/python/invenio/bibformat_elements/bfe_publi_art.py). This [...]

Paypal donate

Please help me keep this blog up by donating.

Por favor, ayúdame a continuar con el blog donando.