Sandbox preview/save buttons missing for non-admin users
- Status
- Open
- Subject
- Sandbox preview/save buttons missing for non-admin users
- Version
- 2.x
3.x - Category
- Usability
- Patch
- Feature
- Wiki (page view, edit, history, rename, etc)
- Submitted by
- lbmaian
- Lastmod by
- Nelson Ko
- Rating
- Description
Couldn't find another bug report for this, although this is an extremely noticeable bug so there should be an existing report.
The wiki sandbox for non-admin users is useless because it doesn't show save/preview buttons.
- Files
- Solution
Index: wiki_edit_actions.tpl =================================================================== --- wiki_edit_actions.tpl (revision 18909) +++ wiki_edit_actions.tpl (working copy) @@ -1,3 +1,6 @@ +{if $page eq 'sandbox'} +<input type="submit" class="wikiaction" onmouseover="return overlib('Preview your changes.{/tr}');" onmouseout="nd();" name="preview" value="Preview{/tr}" onclick="needToConfirm=false;" /> +{/if} {if $page|lower neq 'sandbox' or $tiki_p_admin eq 'y'} <input type="submit" class="wikiaction" onmouseover="return overlib('Preview your changes.{/tr}');" onmouseout="nd();" name="preview" value="Preview{/tr}" onclick="needToConfirm=false;" /> {if $translation_mode eq 'y'}
The above patch add a preview button for the sandbox page always without messing with the save buttons, etc...- Priority
- 25
- Demonstrate Bug on Tiki 19+
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
- Demonstrate Bug (older Tiki versions)
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is currently unavailableUnable to connect to show.tikiwiki.org. Please let us know of the problem so that we can do something about it. Thanks.
- Ticket ID
- 2490
- Created
- Friday 08 May, 2009 04:22:17 GMT-0000
by Unknown - LastModif
- Saturday 06 July, 2024 10:21:44 GMT-0000