6.75: ----- * Fix issue with added space when building textarea(s) 6.74: ----- * Remove an outdated backend selector usage 6.73: ----- * Prepare for Serendipity Styx 4.4.0 - expandable hooked sidebar links 6.72: ----- * Improve backend markup indents for Serendipity Styx 4.3.0 6.71: ----- * Improve backend main content markup indents for Styx 4.3, while not having touched the old default template which is set deprecated. * Other minors 6.70: ----- * Add info icon to password field for additional notes about security 6.69: ----- * Improve for strict types * Cleanup and Consistency * Remove some unused global bindings 6.68: ----- * Improve the new panel button by using a svg 6.67: ----- * Improve staticpage recommended (responsive/custom) backend form templates to be able to toggle OFF / ON the top navigation container box, since in most cases you don't need this extra stuff. Your chosen setting will be remembered in your browsers "Local Store" web storage tools. For the old (!) abandoned "default" named form template this is not supported. 6.66: ----- * Change German [de] container toggle and fieldset legend titles 6.65: ----- * Improve and Fix building fake bool (0|1) values of config items for strict_types 6.64: ----- * Fix for mysqli search-term SQL queries in FULLTEXT IN BOOLEAN MODE 6.63: ----- * Flag and deny mixing of PLAIN TEXT editor default buttons in the static page entry forms when used with markup editors like markdown or textile plugins. 6.62: ----- * Fix installation update case 7 for PDO database setups 6.61: ----- * Improve RELATED_CATEGORY_CHANGE_MSG and consistency messaging of IMPORT_NOTES constant 6.60: ----- * Better check a possible non-given variable check on entry previews 6.59: ----- * Prevent loading backend css when not in need 6.58: ----- * Always indicate source of where frontend_display is called (as Standard since 07/2007) 6.57: ----- * Declare title for plugins accessing objects title, eg. entryproperties disable_markups in entry option 6.56: ----- * Improve 6.54 for consistency 6.55: ----- * Revert 6.53 6.54: 1.35: ----- * Improve class properties for PHP 8.2/9.0 6.53: ----- * Better check a Smarty internal variable in the backend_staticpage.tpl file for PHP 8.2/9.0 6.52: ----- * Add general GarbageCollect cleanup DELETE action for the "custom" database table, when deleting a staticpage. 6.51: ----- * Overwrite ("existing" COOKIE) backend form template name opening an existing staticpage for edit via the staticpage entries list, when the "custom" template form was used to create its values and some custom options (other than the auto "nl2br" [wysiwyg] option) were set. So this entry will open up again within the custom form generally per default to not lose or forget preset data. NOTE: YOU can still force this page running with an other selectable "Backend Template" by using the the forms top navigation bar, which sets a remembered backend_template COOKIE for all further page edits! Additionally, sending a staticpage form by SUBMIT generally sets the current used form template as the remembered COOKIE stored template name. EXAMPLE: So, once have sent a staticpage submit with eg. the 'custom_template' form, all further staticpage entry form requests will use this template, as long the COOKIE exists and is readable. BUT: If you generally use the Standard "responsive" template form for staticpages and just have some exceptional entries using the "custom" form, YOU now need to return setting the COOKIE for all further entries again, after having submitting an entry with the "custom" form, just by switching another entry (or the same) to another backend template via the selectable staticpage form top navigation bar. SOUNDS COMPLICATED, BUT ISN'T ! ;-) If you don't care, sticking to the "custom" template generally does not matter anything. It is just an extended "responsive" form (example). 6.50: ----- * Fix backend_template COOKIE readout to POST form array for the "default" ['custom_template.tpl', 'default_staticpage_backend.tpl', 'responsive_template.tpl'] templates, with the "responsive" being the Standard and fallback template. NOTE: If using a custom (personal) backend template form file eg. like in the timeline theme [ 'timeline_staticpage_backend.tpl' ] please make sure to name it uniquely and different from the 3 standard ones! 6.49: ----- * Better check related category table action when deleting a staticpage by id 6.48: ----- * Fix install with enabled mysqli_sql_exception, which triggered an erroneous behaviour from the very early stages of this plugin. 6.47: ----- * Fix getStartpage() and get404Errorpage() methods return issued by previous cleanup 6.46: ----- * Cleanup 6.45: 1:34: ----- * Fix sidebar plugin case generating empty fd ID token 6.44: ----- * Add isset checks for the old deprecated set key names in 6.43 which should now give a smooth migration to next Styx 3.6 6.43: ----- * Follow Camel-case principle for 6.42 and improve naming migration 6.42: ----- * Preparation fixes for Styx 3.6+ and PHP 8.1 added AV1-Image-File (avif) support, which started to change some hooked key naming's to be more generic for media file variation rename actions. This has to migrate slowly to not break existing situations, so we start early enough pushing this out! 6.41: ----- * Fix a PHP 8.1 restriction "Passing null to parameter of type string" 6.40: ----- * Fix a CHIEF_EDITOR permission level issue 6.39: ----- * Fix a CSS "background: linear-gradient" Syntax value missing the to prefix 6.38: ----- * Add a helper for user preferences toggled configuration groups on open 6.37: ----- * Fix some extended variable initialization checks in custom template for PHP 8 6.36: ----- * Fix this plugin configuration header hidden set simple [info] toggle button issue 6.35: ----- * Fix a preview javascript collision with unspecified staticpage form selector(s) 6.34: ----- * Improve 6.33 styles 6.33: ----- * Convert staticpagecategory page nav(s) to tabs - preparing futures 6.32: ----- * Remove !important in styles - preparing futures 6.31: ----- * Coloring fieldset background and stretch radio field margin 6.30: ----- * Improve 6.29 for non-mod_rewrite usage 6.29: ----- * Fix added query strings resulting in 404 6.28: ----- * Fix some wrong added PHP 7 Null Coalescing Operator (??) in 6.26 6.27: 1.33: (sidebar) --------------- * Shorten the example description text of sidebar plugin 6.26: ----- * Fix an uninitialized variable check for PHP 8 in sidebar template * Use more PHP 7 Null Coalescing Operator (??) 6.25: ----- * Tokenize backend edit links, in special for frontend back links * Add a note to README_FOR_CUSTOM_FIELDS.txt * Fix an uninitialized variable check for PHP 8 * Fix a special cased conditional wrong XOR for new vs existing pages 6.24: 1.32: (sidebar) --------------- * Fix empty return content list variable 6.23: ----- * Change staticpage backend lists - last modified clock icon placement (style change needs a forced reload of the browser cache) - icon lightbulb to a cone-striped svg for URL title only pages 6.22: ----- * Fix a password restricted access page case where $serendipity['view'] was not 'plugin' 6.21: ----- * Fix a parameter to check the status of the "other plugins" tab option 6.20: ----- * PHP 8 preparation fix for non existing cachefile handling 6.19: ----- * PHP 8 preparation fix 6.18: ----- * PHP 8 fix to better check a user theme backend_templates directory 6.17: ----- * FIXUP versioned database install stuff. This should fix some errors of duplicating TABLE ALTERATIONs and a regressional bad core API try to wrongly insert config (table) stuff into the staticpage table by a wrong placed setupDB() call. * With upcoming Styx 3.2 we NOW have proper table COLLATIONs set on install, following core table COLLATIONs. * Fix for PHP 8 setCatPropForStaticpage() "Required parameter follows optional parameter" Additionally it fixes some other non-isset variable warnings for PHP 8. 6.16: ----- * Change icon for password protected static page in list 6.15: ----- * Extend backend ML media rename replace REGEX within staticpage entries for alt || title attributes. Serendipity Styx supports this for regular entries with v.3.2.0. 6.14: ----- * Remove deprecated workaround for wrong spelled separator inspectConfig types 6.13: ----- * Fix some uninitialized variable checks for PHP 7.4 6.12: ----- * Secure backend_staticpage.tpl target="_blank" [zoom button and external] link URLs. 6.11: ----- * Fix a rare case of very old installations missing one or two staticpage database tables 6.10: ----- * Add default value to some staticpage $template_option.date_format 6.09: ----- * Fix $nice_url for certain case 6.08: ----- * Fix an uninitialized variable check for PHP 7.4 6.07: ----- * Get rid of staticpage entries list IE zoom button style forcing annoying warning in Mozilla 6.06: ----- * Fix 6.05 fix, which failed in (on bool) cases 6.05: ----- * Add POST form fail check, eg. when posting empty 6.04: ----- * Shorten up by icon the backend staticpage list title, case "url title only". 6.03: ----- * Check a possible uninitialized variable for the replacement hook 6.02: ----- * Checked 6.00 media actions working OK with 2.9.0. Reset requirement to 2.9.0. 6.01: ----- * Raises Requirement to at least PHP 7 and min Styx 3.0-Dev = 2.9.99 versions. 6.00: ----- * Refactor backend_media_rename hook for Serendipity Styx 3.0 to allow WepP Variations and change image formats. Implements staticpage database handles back into plugin via the hook. * Raises Requirement to at least PHP 7 and min Styx 3.0-Dev versions. ============================================================ 5.69: ----- * Fix some uninitialized variable checks - in custom backend template - for fetching category props - in example 5.68: ----- * Remove hooked media renaming limitation to MySQL databases to now support all supported database layers, although MySQL is still more precise using REGEXP SELECTs. 5.67: ----- * Optimize getPageID method when subpage empty 5.66: ----- * Remove inline styles in searchresults template 5.65: ----- * Don't use plugin instance id in frontend as unique id 5.64: ----- * Update the readme for custom fields for Smarty3 syntax 5.63: ----- * Fix fetching authors name when not logged-in as Administrator 5.62: ----- * Fix a minor style change for small screens 5.61: ----- * Fix a special case of wrong set $view variable for the staticPreview 5.60: ----- * Add icon for Password-protected pages in the entries list * Styled entries list icon modified clock in vertical height * Better styled entries pager vs. sp_listnav block floats for smaller screens * Better styled modified block floats for smaller screens * Hide entries pager if not enough pages for show 5.55: ----- * Minor consistency fix for submit SAVE button naming 5.54: ----- * Minor PHP 7.2 fix for externalPlugins category pageadd, extends 5.53 5.53: ----- * Minor PHP 7.2 fix for "implements Countable" 5.52: ----- * Better check pageadd pageorder pages array for set/un/reset item 5.51: ----- * Fix selectPlugins return if empty 5.50: ----- * Fix some more uninitialized variable checks * Fix pageorder item selector id * Improve pageorder submit to jump on top * Added event cal, customarchive, externalphp, pollbox, suggest to plugins with staticpage like permalink * Added also to the 'FRONTEND_FEATURES' Spartacus Group 5.46: ----- * Fix an uninitialized variable check 5.45: ----- * Fix check_config() method non-dependency check and return 5.44: ---- * Fix some more undefined variables 5.43: ---- * Remove $staticpage_pre_content assigned Smarty variable, which is an internal. All Frontend related templates use {$staticpage_precontent}. * Update some examples and userland Smarty operator naming 5.42: ---- * Fixed issue, when cookie stored custom backend form template file does not exits any more, when having theme switched in the meantime. * Update some examples and userland Smarty operator naming 5.41: ---- * The Frontend template files "plugin_staticpage.tpl" $template_option.date_format variable needs a fallback, if a template does not provide an config.inc.php file configuring and assigning this array variable. 5.40: ---- * Highlight the Staticpage Form Navigation top box, to have a visual step between the navigation-form and the staticpage-form itself. * Fix some more undefined variables - also in backend form templates * Remove some old Smarty 2 syntax helpers in examples 5.39: ---- * Check some undefined variables - also in backend form templates 5.38: ---- * Fixed some and removed some old constants 5.37: ---- * Fix SQLite install bug, not being able to use unsigned for INTEGERS * Fix $inspectConfig['select'] loop when empty 5.36: ---- * Add changed MediaLibrary button and new Media-Gallery button for PLAIN Editor toolbar. This new gallery feature is supported up from Serendipity Styx 2.3-beta1. * Changed preview linking and its "opened to new tab"-text. * Added automatic unlink of removed file since v. 5.10 for upgraders. 5.35 & 1.30: ---- * Fix regression SQL query bug with language selection bugfix in 5.31, where a startpage was found without being defined. 5.34: ---- * Added [de] translation for the language info and related category fields and the custom template custom section description. 5.33: ---- * Minor entrylist preview button style enhancement 5.32: ---- * Add missing SQL query dbType pdo-postgres check 5.31 & 1.29: ------------ * Fix bug with language selection, since it is NOT an EITHER/OR selection, than fetching all items which are set to the defined language and set to 'ALL'. (Even database undefined languages should be in, which is a fallback bugfix behaviour for older staticpage constellations.) * Fix frontpage false option for JS based sidebar lists, which was always shown. Since being a little complicated, it for now is just an empty list entry and still used for the lists level building. 5.30: ---- * Refactor navigation PREV/NEXT array methods, since PHP 7++ changed the way arrays iterate their pointer. * Better navigation array manipulations for the cache serialization * Minor changes to staticpage breadcrumb regarding separator spaces * KEEP IN MIND: The staticpage PREV/NEXT navigation option allows very special cases, in special for sub pages, which would normally just fall out of that stream. 5.24: ---- * In absence of constructor parameters - remove parentheses for consistency 5.23: ---- * Backend: Correct db-build 21 ALTER error case for fresh installs 5.22: ---- * Backend: Add language identifier to the pageorder list, to better and easy identify the correct sort order for the sidebar. 5.21: ---- * Backend: Overwrite Styx 2.2.0 entryproperties #sequence(r) style float 5.20: ---- * Sidebar: Add some styles for older sidebar templates not using ul li lists, and the serendipity_plugin_staticpage non-smartified option. 5.19: ---- * Backend: Make the abstract class PHP 7.1.x ++ ready 5.18: ---- * Allow unicode searches for Chinese / Japanese like languages, see: https://board.s9y.org/viewtopic.php?f=4&t=15112 This also helps when using the full unicode approach described in the Serendipity Styx 2.1-beta1 NEWS changelog file. 5.17: ---- * Fix bug with wrong old uri args check caused wrong subpage 5.16: ---- * Fix Warning: Illegal string offset 'categoryid' 5.15: ---- * Backend: Optimize form box stylings, unbox. Requires CKEditor Plus 4.6.2.0. 5.14: ---- * Remove (disable) obsolet property baq documentary link pointing to nothing in special. 5.13: ---- * Backend: Re-add status color for available "static page like" plugins 5.12: ---- * Iconfont accessibility fixes 5.11: ---- * Fix an issue switching from existing pagetype to a new form on submit did not change values. * Optimize serendipity_property_bag load actions 5.10: ---- * Optimize inspectConfig load for backend form generations by an abstract class, instead of a multiple loaded "template" file. * Some more optimizing for the staticpage backend CSS, which also removes some more leftovers for the 1.7 Series. 5.01: ---- * Optimize URI args load 5.00: ---- (read downwards to latest changes) * 4.06 Bump version since merged entry list pull request by (ogerlach) * Fixed (4.06) markup and sets (4.06 listentries) to be optional (selectbox default), due to errors * Rebuild the stylesheets * Fixed various minor markup and logical code errors * Fixed backend_templates/default_staticpage_backend.tpl smarty markup (escape, label break and cke-wysiwyg) * Changed template names to 'Default Template' (previously named 'Simple Template', which was not correct) * Changed 'No Template' (previously named 'All Fields', which was not correct, since just the very old hardcoded form) * Added 'publishstatus' and removed 'pass','is_startpage','is_404_page' in plugins config options, - since the latter were unused too specific to be set global in plugin config. - Now 'publishstatus' will respect a global show as option rule (Draft is default) * Outsourced some heavy hardcoded markup functions * Smartified the backend as much as possible (get ready to run smarty-only in future?) * Extend required Serendipity version to 1.6, since heavy smarty usage * Rebuild the plugin stylesheets to work well with upcoming Serendipity 2.0 * Fixes for Custom-Fields functionality * Added a new responsive (mobile) template (build to work with upcoming Serendipity 2.0) - this also changed collapsible box name constants * Applied some plain button changes for 2.0 previously bumped as 4.06 * Added last_modified or created_on date option for frontend footer in plugin_staticpage.tpl - NOTE: this needs to change templates with already supplied files! * Merged 4.07 Propagate $smarty.env.staticpage_pagetitle (and the others) so that it can be used in entries.tpl * Merged 4.06 Serendipity 2.0 compatibility fix for the editorbuttons (wysiwyg and default) * Moved listentries _new page submit footer to also show up on empty list * Added confirm dialog on select change page events. Avoids saving into wrong page by accident. - adds new constant STATICPAGE_CONFIRM_SELECTDIALOG * Extend required Serendipity version to 1.7 and Smarty 3.1, since the old_backend_staticpage.tpl would need too much old Smarty2 and CSS fixes * Removed old hardcoded markup - mark as fully smartified (except inspectConfig generation, which is some sort of template too and some minor markups that get hooked) * Changed method name getSystersID() to getSisterID() * Added compat fallback to defaultform_template - in case of cookie stored 'all fields/non-template' (old hardcoded) form * Added for 2.0: - form submit wysiwyg-toolbar-save-button is now disabled when using the CKEDITOR full-package * Added a new simpler pageorder table fetcher * Added for 2.0: - collapsible boxes icon change and use a universal setLocalStorage() and another for retrieve * Added for 2.0: - experimental entrylistings (entrylisting and pageorder sequencer) respect parent/child staticpages treeview listing in a simple way - adds new constant STATICPAGE_TREE_CHILD * Merge 4.07.1: sqlite-fix on searchpage * Added some missing PHPDocs * Add new constant STATICPAGE_TOGGLEANDSAVE and removed old non-template STATICPAGE_TEMPLATE_INTERNAL constant * Main backend CSS file was renamed to staticpage_backend.css and now includes separately into backends page header * Added for 2.0: - include new staticpage_backend.js to templates page footer - no need to use 2.0 js hook * Hide/Show the top tab bar menu per JS hideaway, since not used very often * Added for 2.0: - navigate with larger amount of entrylist pages per newly added simplePagination.js, fits nice beyond 8 to some deci- pages * Changed for 2.0: default config value for show entrylist is now true * Fix and correct entrypaging, breadcrumb and childpage navigations, - touches frontend templates (in this plugin dir) for HTML5, inline styles, Navigations, etc. - Needs you to update template copies in your template/theme! * Added more backend title attribute information for pageorder and entrylisting titles * Fixed 2.0 Markup in category hook, the example markup in related category Readme, set some more form info and minor association with related category id and the corresonding table on delete. * Removed old and unused sequencer pageorder methods to use with javascript drag & drop only * Removed old and unused getSistersID method * Removed commented $related_category_entries code, since being unneeded for the solution with serendipity_fetchPrintEntries and unworth to keep, since not really working. * Associated 1:1 relation for staticpage related categories. Touches staticpages and staticpage_categorypage tables to support the latter 1:1 relations only, as of now. Old entries don't get touched by this, until they will be updated. * Fixed example breadcrumb in README_FOR_RELATED_CATEGORIES.txt, to not fire on blogs entrypaging archives. * Added new custom template, which now holds existing examples for custom properties, based on responsive template. This remmoves the custom examples in responsive template. * Added new README_FOR_CUSTOM_FIELDS.txt * Fixed htmlspecialchars() for PHP >=5.4 with native, non-utf-8 language installs, which natively changed from ISO-8859-1 to UTF-8 * Added check for new SQLite3 OO database layer with PHP 5.4+ * Fixed (html)specialchars double_encode to false for native ISO-8859-1 charsets for certain form input/testarea fields in backend and some Smarty output variables in backend/frontend (which updates plugin_staticpage_***.tpl files again) * Added - automark an entry as written by Wysiwyg-Editor via custom fields, to disable nl2br markup formating * Fixed PHP 5.5+ compat * New - Iconized entrylist/entryform tabbar for 2.0 * Fixed preview button for existing pages with 2.0 * Fixed 2.0 backend template form chaining (4.08) and merge form names uniquely * Fixed default selected fallback backend form when unset or expired cookie * Removed an old and wrong used registration, since 'in_array' already is an allowed $php_function, since S9y-1.7 * Fixed cookie issue with backend form template. Set responsive_template.tpl as "default" fallback on S9y >= 2.0 * Fixed missing dtree.css includement, in case of having selected this option * Fixed dtree.js being included more than once, by making the called script name unique * Add separators to streamed CSS * Add new config option to list entries pagination by N entries * Add configuration grouper * Fixed styles now added to the END of eventData stream, while checking for existing styles (dtree) * Changed dtree usage page links world image to something more smart * Fixed JS spconfig_listPerPage and JS pagination function to happen on listentries pages only * Removed icon font usage and added SVG sprites with 2.0 instead * Update jquery.simplePagination.js * Fix icon-info image notifier not displayed embedded, when sidebar plugin is not installed * Fix missing trim($str) and an empty output of the JS Tree via smarty template, while the empty(array) was not true Sets the sidebar plugin to v.1.26 * Fix two commits for database changes with v.3.98 commit 36fd48b Changed meta fields, no longer custom properties and v.3.97 commit 43e0f86 Breadcrumb navigation as an independent option which did not apply in every case. Added db-build case 21 for these certain silent db error in the past (ALTER permissions). Now an error is shown in the backend only without spoiling the serendipity_editor.js. * Fix showlist db-boolean sets/gets * Fix sidebar plugin dependency config value check to append dtree.css into stream. Removed wrong used check for sidebar CSS. Updated plugin_staticpage_sidebar.tpl. * Fixed password protected pages not showing up * Added language field info * Staticpages now use the simple directory fallback (theme->plugin), if supported by Serendipity core * Fixed MediaLibrary item path replacements on MOVE with Serendipity 2.1 DEV * Update simplePagination Lib * Fixed $eventData being changed by backend_media_rename hook * Fixed $eventData[0]['type'] 'dir' replacements * Fixed POST preview check * Append all CSS to eventData (includes earlier fix for frontend CSS) * Added S9y 2.0.0 - 2.0.99 backend configgroup placeholder ability by script * Fix access permissions in backend * Now uses load_language API - extends sidebar plugin to v.1.27 * Consistent use of serendipity_db_bool() config default values * Added a "default fallback" frontend "plugin_staticpage_includeentry.tpl file", for the case it was previously set in a template OR included by an entry, when switching to a new theme without having this file. * Changed requirement to min PHP 5.3, which removes deprecated sortByOrder() method * Changed SVG since SVG title attributes were not read * Workaround SQLite install bug, while not being able to ALTER and fully support other table changes * Fix $nav array exception gathering values for an entry without any navigational options set * Consistent cleanups - stringify booleans in config options, set and fix fallbacks and review sidebar plugin * Added undocumented feature since 3.50 to the Readme * Remove old TODO and style_staticpage_backend.css files TL;DR - MAJOR CHANGES - PLEASE NOTE: Some of these commits will change behaviour or appearance for older staticpage entries. Please double check all your pages to show up correct, or at least check the major ones in difference. Also check for template staticpage files in need for an update. This may effect all kind of yourTheme/plugin_staticpage_***.tpl files and probably all backend-form-files in yourTheme/backend_templates/*. Theme templates in [2k11, Next, Bulletproof] delivered by core have already been changed when Staticpages DEV moves into Spartacus. Temporary disable (by directory name change) previous used theme based staticpage-backend-forms in /templates/yourTheme/backend_templates/*. Remove, if these were not specifically theme based, or contact your themes author. Check the Plugin configurations (event and sidebar)! Apart from UI changes, other small bugfixes, code review, refactoring and code cleanup, this mainly is: - A smart rework for 2.1+ - Smartified the Backend - New backend-form-templates. [Check your theme! See note above.] - Precise staticpage database SELECT queries for the frontend, the sidebar and the backend - Backend listentries enhancements - Fixed navigation issues. Touches staticpage frontend related template files for markup navigation changes, regarding entry navigation, breadcrumb navigation and child navigation. [Check your theme to not work with old and unchanged copies!] - Associated strict 1:1 relation for staticpage related categories ----- 4.05 Bump version to propagate changed plugin_staticpage_related_category.tpl 4.04 Bump version to propagate new .htaccess 4.03 changed wrong place of ending form tag 4.02 Removed some & references, trying to fix issues with more recent PHP versions and core dumps / memory corruption 4.01 PHP 5.4 compat reference fix (~L 1097) 4.00 rewrote document.write replacement (81e9911) to be more html standard conform 3.99 fixed disabling collapsible structure box in case of wysiwyg-editor use 3.98 Changed custom , meta description, and meta keywords to be regular fields, not custom properties. 3.97: Changed breadcrumb navigation so it is an independent option. Templates that use custom static page templates (plugin_staticpage.tpl, plugin_staticpage_aboutpage.tpl, plugin_staticpage_related.tpl) must be modified to include the condition {if $staticpage_show_breadcrumb}...{/if}. See included plugin_staticpage.tpl for example. 3.96: Added last commits missing code part for the javascript hidden boxes (Timbalu) Workaround the use of document.write() for javascript enabled browsers Added the need of templates index.tpl change note into forms meta block 3.95: Fixed bad XHTML in <option> tag (Timbalu), added ability to preview staticpages, restrict viewing draft staticpages to logged in authors added option to set META input fields, set structure and meta field box to javascript hidden content (Timbalu) 3.94: Add "timestamp" field to list of editable staticpage fields 3.93: Add $serendipity['is_staticpage'] global variable to indicate if staticpage is selected 3.92: extends 1.19: (sidebar) fixed sidebar title 3.91: added dependency nl2br(2.14)::$isobr [NoBR] Buttons fixed serendipity_db_query search error output set smarty fetch to use nativ API - extends s9y version >= 1.3' 3.90: fixed typo and shrinked last note 3.89: note sidebar plugin availability & update (sidebar 1.18) Fixed smarty load in backend (Timbalu) 3.88: Fixed guestbook link generation for non-rewrites (Timbalu) 1.16: (sidebar) Added smartify option (by Timbalu) 3.87: Add foreach check to prevent error 3.86: Improved 404 page handling (Manko10) 3.84: Added server "Status:" header as well 3.83: --------------------------- Add missing changes in backend template for selecting a staticpage as 404 error document 3.82: --------------------------- Add possibility to use a staticpage as 404 error document by setting the corresponding page property 3.81: --------------------------- Smarty3 forward compatibility 3.80: --------------------------- PHP 5.3 compat 3.79: --------------------------- Beter rename of dirs, by stm9x9 http://board.s9y.org/viewtopic.php?f=3&t=15461 3.78: --------------------------- Fix properly showing stored custom properties for template when changing a page/template 3.77: --------------------------- Remember selection of last backend template in a cookie 3.76: --------------------------- Also allow "_" and "-" in custom backend template names 3.75: --------------------------- Safety confirmation for deleting staticpages 3.73: ---------------------------- Fix for PHP4 to properly display HTMLArea on default smarty template. 3.72: ----------------------------- Fix for not being able to edit a staticpage through the frontend's Edit link 3.70, 3.71: ----------------------------- Major new functionalities: 1. Allow to create custom smarty templates used for editing a staticpage. When editing a staticpage in the backend, you now have a dropdown where you can choose a template. The default file is placed in the plugin's subdirectory "backend_templates". You can add files there on your own, which are then shown in the dropdown as well. You can override the content of those files within your template directory, by placing a file named exactly the same way, in the "backend_templates" sub-directory of your template. Thus, you can put an empty file inside your plugin directory to initialize the ability to use a template-preference. The default template file has several smarty functions to query the current value and input fields. You can place all input fields the way you like, using Smarty/HTML layouts. You can also still switch to the "old way" through the dropdown. 2. Introduce "custom properties" for staticpages. You need to add those custom properties to your custom smarty template, by accessing an input field "serendipity[plugin][custom][xxx]". The default backend template has a commented section for an example on how to use this. In your final smarty templates (either the staticpage_*.tpl files, or your usual smarty template files) you can access those custom properties through {$staticpage_custom.XXX} to place them anywhere you want. To properly see the new layout, you might need to flush your browser's CSS cache, as changes have been made to the plugin's CSS file. 3.61: ----------------------------- Speed up call for getting staticpage list and cache it. Otherwise, the plugin was unusable for thousands of staticpages, because the walkrecursive() function is VERY expensive. 3.57: ============================= Fix smarty function to properly interpret templates passed as argument. 3.53: ============================== Changes by Stephan Manske: * new feature: add a related staticpage to a category and the opposite way around 3.32: ============================== Changes by Falk Döring: * Update formatting * Fix pageorder setting 3.30 / 3.31: ============================== Change by Garvin Hicking: * Allow to search staticpages via s9y Quicksearch 3.26: ============================== Change by Garvin Hicking: * Allow to post/edit staticpages via bookmark URLs / wikilinks plugin 3.24: ============================== Changes by Falk Döring: * Change: Pagetype 'Aboutpage' renamed to 'Overview' * Update: german and english language file * Update: external plugin menu 3.23: ============================== * Fix: Filename of CSS backend styles 3.22: ============================== Changes by Falk Döring: * Fix: disable templates if a plugin is called 3.21: ============================== Changes by Falk Döring: * Fix: FAQ-Event now without mod_rewrite support 3.20: ============================== Changes by Falk Döring: * New: add FAQ-Event to sidebar * FIX: some wrong action messages 3.19: ============================== Changes by JWalker: * Fix: Only show prev/next/top links when link is not empty 3.18: ============================== Changes by Falk Döring: * Fix: integrating contactform per subpage correct if mod_rewrite is disabled 3.17: ============================== Changes by Falk Döring: * New: a list of plugins they can be included in the sidebar and their status 3.16: ============================== Changes by Falk Döring: * Fix multilingual selection. Now you can chose a page for all languages * Fix unused defines 3.15: ============================== * Change plugin_staticpage.tpl so that unique CSS classes are used * Fix PHP warning when no published page was found * split message catalog to lang_en.inc.php (Tadashi Jokagi) * Japanese translation updated. sync with en (Tadashi Jokagi) 3.14: ============================== Changes by Falk Döring: * New: Multilanguage support 3.12/3.13: ============================== Patch by Stephan Sachse: * Fix SQL creation statement. Again. Sorry, guys. 3.11: ============================== * Fix spelling error, thanks to Wesley * Fix trailing "/" for httpPath, thanks to Michel Verdier 3.10: ============================== Changes by Tadashi Jokagi: * Change constants STATICPAGE_{SHOWNAVI,SHOWONNAVI,SHOWARTICLEFORMAT,SHOWCHILDPAGES}_DEFAULT_DESC to single constant STATICPAGE_DEFAULT_DESC because they were all the same. Thanks to Tadashi Jokagi! 3.09: ============================== Changes by Garvin Hicking: * Fix PHP short-tags * Fix proper use of serendipity_db_update * Fix wrong unset variable checks (postgresql check pending) 3.08: ============================== Changes by Falk Döring: * Fix DB updates, blame Garvin * New: show headline or next/prev in childpage-naviagtion * Update: use s9y functions for update 3.07: ============================== Changes by Garvin Hicking: * Set default values for numerical columns, to be nice to postgreSQL. 3.06: ============================== Changes by Falk Döring: * New: Include other plugins in sidebar 3.05: ============================== Changes by Garvin Hicking: * Change: ALTER TABLE 3.04: ============================== Changes by Garvin Hicking: * Fix: s9y version number 3.03: ============================== Changes by Falk Döring: * New Options: * show on navigation * show navigation * publish status * configure default values in Plugin-Section 3.02: ============================== Changes by Garvin Hicking: * Fix: English language 3.01: ============================== Changes by Garvin Hicking: * Fixed WYSIWYG editors (to properly work in non-WYSIWYG mode you need Serendipity >= 0.9-beta3!) 3.0: ============================== Changes by Falk Döring: * New: Pagecategorys * Default: Article and Aboutpage * Fix: Navigation back/next * Update: german language * Support for Category-Image * Support for ordering pages 2.12: ============================== Changes by Falk Döring: * Support display of last change and page back/next navigation * Support display of "Edit this page" link