🌍
English
This shows you the differences between two versions of the page.
dev:changes_in_2.5 [2012/10/30 10:33] mistic100 |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Technical changes in Piwigo 2.5 ====== | ||
- | ===== Albums pagination ===== | ||
- | http://piwigo.org/bugs/view.php?id=2614 | ||
- | For themes creators. | ||
- | |||
- | On //index.tpl//, add | ||
- | <file> | ||
- | {if !empty($cats_navbar)} | ||
- | {assign var=navbar value=$cats_navbar} | ||
- | {include file='navigation_bar.tpl'|@get_extent:'navbar'} | ||
- | {/if} | ||
- | </file> | ||
- | right after **{$CATEGORIES}** | ||
- | |||
- | And modify existing photos navbar by | ||
- | <file> | ||
- | {if !empty($thumb_navbar)} | ||
- | {assign var=navbar value=$thumb_navbar} | ||
- | {include file='navigation_bar.tpl'|@get_extent:'navbar'} | ||
- | {/if} | ||
- | </file> | ||
- | |||
- | ===== Add action buttons ===== | ||
- | http://piwigo.org/bugs/view.php?id=2781 | ||
- | For plugins creators. | ||
- | |||
- | Introduction of two template methods to add buttons to index and picture toolbars, allowing to place buttons relatively to each other : | ||
- | <file> | ||
- | $template->add_picture_button($content, $rank); | ||
- | $template->add_index_button($content, $rank); | ||
- | </file> | ||
- | |||
- | No changes for themes. | ||
- | |||
- | ===== Infos/Errors messages moved ===== | ||
- | On //index.tpl//, **{include file='infos_errors.tpl'}** was moved away from the main **#content** block. | ||
- | See http://piwigo.org/dev/changeset/18712 |