Sandbox preview/save buttons missing for non-admin users
- Status
- Closed
- 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)
- Resolution status
- Invalid
- Submitted by
- lbmaian
- Lastmod by
- Ushindi Gedeon
- 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}');" on mouseout="nd();" name="preview" value="Preview{/tr}" on click="needToConfirm=false;" /> +{/if} {if $page|lower neq 'sandbox' or $tiki_p_admin eq 'y'} <input type="submit" class="wikiaction" on mouseover="return overlib('Preview your changes.{/tr}');" on mouseout="nd();" name="preview" value="Preview{/tr}" on click="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...- Workaround
- Priority
- 25
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- 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 not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 2490
- Created
- Friday 08 May, 2009 04:22:17 UTC
by Unknown - LastModif
- Tuesday 26 May, 2026 08:41:18 UTC