Hi Mik,
$:/plugins/tongerner/ro/menu-button contains:
svg.tc-image-chevron-left {
display: none;
}
svg.tc-image-chevron-right {
display: none;
}
so both chevron images (<< / >>) are suppressed as you can see in
$:/plugins/tongerner/ro/publish when you tick the checkbox "Check for
invisible menu button". See the icons just above the checkbox: "3) Sidebar
button (<< / >>)".
But you can make copies - with another name of course - of
$:/core/images/chevron-left and $:/core/images/chevron-right. Then you can
reuse both chevron icons.
Note that in earlier versions of my guide (before TW 5.0.14-beta) I
suppressed all relevant icons by using the styles of the read-only theme:
svg.tw-image-new-button, svg.tw-image-options-button, svg.tw-image-save-
button, svg.tw-image-edit-button, svg.tw-image-delete-button, svg.tw-image-
cancel-button, svg.tw-image-done-button {
display: none;
}
There i used a copy of the save icon (in the "publish" tiddler) to have the
possibility of saving the wiki in read-only mode while the standard save
icon was not visible.
Lateron, TW 5.0.14-beta with all programmable buttons in the Tools tab, you
could hide the Tools tab.
That I still use a copy of the save icon dates from that time. It is not
needed anymore. In future I can delete it.
Cheers,
Ton
On Wednesday, October 8, 2014 5:17:22 PM UTC+2, Mik McAllister wrote:
>
> Iannis, what I am doing with the read-only theme is editing the file on my
> desktop, copying the file, editing the new file (which would be my*
> index.html* file) to disable what I don't want shown to the world. I can
> then upload the file to my site.
>
> Tom, I edited the* $:/plugins/tongerner/ro/publish* tiddler to allow
> access to the Control Panel by changing "Disable in Control Panel" to
> "Disable in [[$:/ControlPanel]]", allowing me to access the Control
> Panel to enable the buttons I need in order to edit.
>
> I plan to create a tiddler to point to the*
> $:/plugins/tongerner/ro/publish* tiddler, using an obscure name for the
> tiddler. For the sake of security, I am not going to say what the title
> will be, as this group is visible to anyone.
>
> I am hoping this little trick will help others trying to do as Iannis is
> asking about.
>
> I do have a question though. Will disabling the "double chevron right"
> sidebar button affect display of the icon elsewhere? I plan to use the icon
> at the bottom of certain tiddlers, to open the next tiddler in a series.
>
> On Wednesday, October 8, 2014 3:44:03 AM UTC-7, Ton Gerner wrote:
>>
>> Hi Iannis,
>>
>> Have a look at my guide "How to make TW5 readonly" [1]
>>
>> Cheers,
>>
>> Ton
>>
>> [1] http://tw5readonly.tiddlyspot.com/
>>
>>
>> On Wednesday, October 8, 2014 7:53:29 AM UTC+2, iani wrote:
>>>
>>>
>>> Hello,
>>>
>>> TW5 is working very well for me. I run it locally on my macbook using
>>> node.js but would like to use the saved html version for publishing the
>>> wiki as a read-only website on a public webserver. Therefore I need to
>>> customize the save-button to do the following things:
>>>
>>> - Temporarily remove the save, info and new-tiddler buttons
>>> - Save the wiki under a set name such as for example "MyJournal.html"
>>> (instead of generated names such
>>> as 2e8731ae-bcf4-41a7-9d15-5f40b5ea7e0a.html
>>>
>>> How to achieve that? Can someone let me know which tiddlers would need
>>> editing to make the above changes?
>>>
>>> Thanks
>>>
>>> Iannis Zannos
>>>
>>>
>>>
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.