Display a page link

<?php echo $this->link() ?>

If you wish to set a different text for the link (the default is the title of the page), give the text you want in the parameter this way:

<?php echo $this->link('here is my text') ?>

If you need to set a class or add an onlick or anything else you need to add to the link, you can pass it as the second parameter:

<?php echo $this->link('here is my text', 'class="link"') ?>

or

<?php echo $this->link($this->title, 'onlick="toggle(this)"') ?>

Display the link for a different page

<?php echo $this->find('/about')->link(); ?>

Frog CMS Demo

Public front end website click here
Administration backend click here

Opensource.com admin login info:
login: admin
password: demo123

Help us!

If you use and like Frog CMS, then please consider making a donation.


Click here to lend your support to: Frog CMS and make a donation at www.pledgie.com !