Documentación de Brancam

Magic Tags

Magic Tags List

Magic TagDescriptionExample
ancestor() Generates the name of the ancestor of the current page , ie , the first section of which hangs level -
banners(ancho máximo de la imagen,número de banners) Show the banners.

<span class="banner">
<img src="#" alt="Texto alternantivo" />
breadcrumb() Generates the breadcrumb

<div class="brcm-breadcrumb">
<a class="brcm-home" href="#">Inici</a>
<span class="brcm-separator"> > </span>
<a class="" href="#">Servicios</a>
<span class="brcm-separator"> > </span>
<a class="" href="#">Comunicación</a>
<span class="brcm-separator"> > </span>
<span class="brcm-current-node">Imagen corporativa</span>
content() Shows the content of the page. -
currentUrl() Shows the current URL of the page. -
globalNavigation(número de niveles)

Generates the general navigation of the page

The parameter “number of levels” indicates what depth it has to show

The value for defect is 1

<div class="brcm-navigation">
<li class="brcm-first-item"><span><a href="#">Sección 1</a></span>
<li><span><a href="#">Sección 2 </a></span>
<li><span><a href="#">Sección 3 </a></span></li>
<li><span><a href="#">Sección 4 </a></span></li>
<li class=" brcm-last-item"><span><a href="#">Sección 5 </a></span>
headerImage(ancho máximo de la imagen) Shows the header of the page

<div class="brcm-header">
<img src="#" alt="Texto alternantivo" />

Generates a code of two letters which indicate in what language you are making the research


Generates the menu to choose the language 

<div class="brcm-language-selection">
<span lang="es">Español</span>
<a lang="ca" href="">Català</a>
lastUpdate() Shows the last time you entered the page Last update: 5/10/2012

Generates upper secondary page navigation, pages and second level.

<div class="brcm-navigation">
<li class="brcm-first-item"><span><a href="#">Sección 1.1</a></span></li>
<li><span><a href="#">Sección 1.2 </a></span></li>
<span><a href="#">Sección 1.3 </a></span>
<li class="brcm-first-item"><span><a href="#">Sección 1.3.1</a></span></li>
<li><span><a href="#">Sección 1.3.2 </a></span></li>
<li class=" brcm-last-item"><span><a href="#">Sección 1.3.3 </a></span>
<li><span><a href="#">Sección 1.4 </a></span></li>
<li class=" brcm-last-item"><span><a href="#">Sección 1.5 </a></span>

Generates the form to subscribe to the newsletter of the webpage

<div class="brcm-newsletter-subscription">
<h2>Butlletí electrònic</h2><div class="brcm-invitation">Periódicamente recibirás un resumen un resumen de lo que se publica en esta web.</div>
<div class="brcm-fields">
<label for="brcm-e-mail-subscriber">E-mail</label>
<input name="" type="text" id="brcm-e-mail-subscriber"/>
<div class="brcm-button"><input name="" type="submit" value="Suscribirse" /></div>

It generates a URL from the alias of a page..
siteName() Generate the name of the webpage. Brancam
title() Generate the name of the page. Ajuda
translate(text) Informes the system that a text can be translated. texto
url(ruta) Generates the URL from the root indicated.


  1. {ancestor()}: Generates the name of the ancestor of the current page, ie, the first section of which hangs level.
  2. {breadcrumb()}: Generates the breadcrumb page.
  3. {content ('name')}: Displays the contents of the page.
  4. {currentUrl()}: Shows the URL of the current page.
  5. {flashMessages()}: Generates the element where errors are reported.
  6. {globalNavigation('maxDepth')}: Shows the URL of the current page.
  7. {headerImage('ampladaMaxima')}: See page header. It is necessary to px?
  8. {language()}: generates a two-letter code indicating the language being consultatnt page.
  9. {languageMenu()}: Generates the menu to select the language of the web.
  10. {lastUpdate()}: Shows the last modification date of a page.
  11. {localNavigation('nivellPaginaArrel')}: Generates secondary navigation page, the pages of the second level and higher.
  12. {pageUrl('alias')}: Generates a URL from the nickname of a page.
  13. {mainCatalogCategories()}: Generates the navigation of the main categories of generic store.
  14. {showElementsFromRegion('pageAlias', 'regionName')}: Copy the contents of a specific region and specific regions doubles that we say.  
  15. {siteName()}: Generates the website name.
  16. {title()}: Generates the page name.
  17. {translate('message')}: Report branches in a translatable text.
  18. {url('path')}: Generates a URL from the route provided.
  19. TopicsList {()} list of topics for sites of councils.
  20.  Adress information{()}
  21. {Newsflash(numNew, charsTrimmed, pauseTime, animationTime)} shows a slide with date news, headline and summary. parameters:
    • NumNew: news different number to be displayed on the slide. Default: 5
    • CharsTrimmed: number of characters allowed in the summary. Default: 255
    • PauseTime: number of milliseconds that the new rest stop. Default: 3000 (3 seconds)
    • AnimationTime: number of milliseconds that the animation takes to change news realized.Default: 1000 (one second).  
  22. {NewsCategoriesNavigation(depth)} the list of news categories are news. parameters: - Depth: Number of levels of categories to show (starting one); that is, if you put one, just leave the parent categories.
  23. {NewsArchive()} the list of the news archive.
  24. {Banners (maximum width of the image, the number of banners, 'nomregio')}
  25. {NewsletterSubscription()}


  1. {RegisterEcommerce()} code block where the record. Made to embed in a sidebar, for example.
  2. {UserLoginMenu()} is the login and registration on two tabs. Once logged in, becomes "username + logout"
  3. {CatalogBrands()} Menu / List of store brands. It has the same format as the usual list of categories.
  4. {CategoriesNav()} displays the menu on the left of product categories only when you are in the product.
  5. {CategoriesNav( 'withProducts')} displays the menu on the left of product categories only when you are in the product, but showing product list in the navigation menu. That is, show the menu of categories, subcategories and products. If you click on the product name of the menu, go to the detail page.
  6. {RelatedProducts()} shows the related products of the product, if the product exists. Keep in mind that if you put the magic tag as the default out under the product would duplicate. We will, in any case, to hide CSS related products that come automatically just below the product or if an installation itself, delete that part of the code.
  7. {Cart()}


  1. {sendTo()}: show the icons of the social media 'AddThis.

Crea, gestiona y difunde. Haz crecer tu web.

Alojamiento incluido.E-commerce.Multidioma.Analytics.Dominio configurable.RSS, Newsletter.TemplatesDiseño personalizableServicio técnico.