Loading...
Skip to main content
Site identity, navigation, etc.
Log in
Username
Password
I forgot my password
CapsLock is on.
Log in
Stay in SSL mode
Navigation and related functionality and content
Related content
View template: tiki-list_contents.tpl
Edit CSS
Template listing
{title help="Dynamic Content"}{tr}Dynamic Content System{/tr}{/title} {remarksbox type="tip" title="{tr}Tip{/tr}"}{tr}To use content blocks in a text area (Wiki page, etc), a <a class="alert-link" href="tiki-admin_modules.php">module</a> or a template, use {literal}{content id=x}{/literal}, where x is the ID of the content block.{/tr} {tr}You can also use {literal}{content label=x}{/literal}, where x is the label of the content block.{/tr}{/remarksbox} {tabset} {tab name="{tr}Available content blocks{/tr}"} <h2>{tr}Available content blocks{/tr}</h2> {if $listpages or $find neq ''} {include file='find.tpl'} {/if} <div class="{if $js}table-responsive{/if}"> {* table-responsive class cuts off css drop-down menus *} <table class="table table-striped table-hover"> <tr> <th>{self_link _sort_arg='sort_mode' _sort_field='contentId'}{tr}Id{/tr}{/self_link}</th> <th>{self_link _sort_arg='sort_mode' _sort_field='contentLabel'}{tr}Label{/tr}{/self_link}</th> <th>{self_link _sort_arg='sort_mode' _sort_field='data'}{tr}Current Value{/tr}{/self_link}</th> <th>{self_link _sort_arg='sort_mode' _sort_field='actual'}{tr}Current ver{/tr}{/self_link}</th> <th>{self_link _sort_arg='sort_mode' _sort_field='next'}{tr}Next ver{/tr}{/self_link}</th> <th>{self_link _sort_arg='sort_mode' _sort_field='future'}{tr}Future vers{/tr}{/self_link}</th> <th></th> </tr> {section name=changes loop=$listpages} <tr> <td class="id">{$listpages[changes].contentId}</td> <td class="text"> {if $listpages[changes].contentLabel neq ''} <b>{$listpages[changes].contentLabel}</b> {/if} {if $listpages[changes].description neq ''} <div class="subcomment">{$listpages[changes].description}</div> {/if} </td> <td class="text">{$listpages[changes].data|escape:'html'|nl2br}</td> <td class="date">{$listpages[changes].actual|tiki_short_datetime}</td> <td class="date">{$listpages[changes].next|tiki_short_datetime}</td> <td class="text">{$listpages[changes].future}</td> <td class="action"> {actions} {strip} <action> {self_link _icon_name='edit' _menu_text='y' _menu_icon='y' edit=$listpages[changes].contentId cookietab=2} {tr}Edit{/tr} {/self_link} </action> <action> <a href="tiki-edit_programmed_content.php?contentId={$listpages[changes].contentId}" title="{tr}Program{/tr}"> {icon name='cog' _menu_text='y' _menu_icon='y' alt="{tr}Program{/tr}"} </a> </action> <action> <form action="tiki-list_contents.php" method="post"> {ticket} <input type="hidden" name="remove" value="{$listpages[changes].contentId}"> <button type="submit" class="btn btn-link px-0 pt-0" onclick="confirmPopup()"> {icon name="remove" _menu_text='y' _menu_icon='y' alt="{tr}Remove{/tr}"} </button> </form> </action> {/strip} {/actions} </td> </tr> {sectionelse} {norecords _colspan=7} {/section} </table> </div> {pagination_links cant=$cant step=$prefs.maxRecords offset=$offset}{/pagination_links} {/tab} {tab name="{tr}Create/Edit content block{/tr}"} <h2> {if $contentId} {tr}Edit content block{/tr} {else} {tr}Create content block{/tr} {/if} </h2> <br> <form action="tiki-list_contents.php" method="post"> {ticket} {query _type='form_input'} <input type="hidden" name="contentId" value="{$contentId|escape}"> <div class="tiki-form-group row"> <label class="col-sm-3 col-form-label">{tr}Label{/tr}</label> <div class="col-sm-7"> <input type="text" name="contentLabel" value="{$contentLabel|escape}" class="form-control"> </div> </div> <div class="tiki-form-group row"> <label class="col-sm-3 col-form-label">{tr}Description{/tr}</label> <div class="col-sm-7"> <textarea rows="5" cols="40" name="description" class="form-control">{$description|escape}</textarea> </div> </div> <div class="tiki-form-group row"> <label class="col-sm-3 col-form-label"></label> <div class="col-sm-7"> <input type="submit" class="btn btn-primary" name="save" value="{tr}Save{/tr}"> </div> </div> </form> {/tab} {/tabset}
Related content
Most Popular Tags
adze
american woods
axe
broadleaf
broadleaf aspen
broadleafs
community
conifers
dendrology
eco friendly
education
froe
glossary
green
green woodworking
hammer
hard wood
hard woods
hardwoods
hickory
history
how to
joinery
literature
machinery
material processing
media
merchants
mortise
people
plane
poplar
safety
shaker
shave
society
soft woods
spokeshave
sustainable
template
tenon
terminology
tools
wood
works