- b2evolution CMS User Manual
- Developer Reference
- Website Skins/Themes
- Skin Tags / API
- Item Tags
- Template Tag: Item Edit Link
Template Tag: Item Edit Link
This template tag displays a link leading to the edit form where a user can edit the Post if he has edit rights.
Example
Quick Template
[Item:edit_link|text=Click here|after= to edit]
PHP Template
$Item->edit_link( array(
'before' => ' ',
'after' => ' ',
'text' => '#',
'title' => '#',
'class' => '',
'save_context' => true
) );
Parameters
Param |
Default |
Usage |
---|---|---|
|
|
Displayed before edit link. |
|
|
Displayed after edit link. |
|
|
If ‘text’ parameter is not |
|
|
If ‘title’ parameter is not |
|
|
Link CSS class. |
|
|
True to redirect to current URL |
Return value
This tag displays content only, it does not have a return value.