How do I link individual VIMP pages?

Editions: all
Versions: all

You have the possibility to create your own static content via the administration area "Pages".

Pages created there can be linked as follows e.g. in the footer or elsewhere in VIMP:

Insert the following code in the desired place:

<?php
 print link_to('<linktext>', WebContentPeer::getLink(<pagesID>), 'name="<Name-Attribut>"'); 
?>

Replace <linktext> with the text that should contain the link, and <pagesID> with the ID of the page. For the name, enter a short description of the link that is not visible but relevant for screen readers, for example.

The pagesID appears in the URL that appears in the browser's address bar when you edit a page:

tl_files/vimp/support/images/pages_id.jpg

 

Last update on 2022/02/09 by Admin.

Go back