Loading...
 
Features / Usability

Features / Usability


Custom tool icon

posts: 92

I'm having trouble specifying the icon for a custom tool.

I am using 12.3svn

I found a little help on Tiki for Smarties
.....By default, Tiki uses images in the ../pics/icons/.. directory.

But I do not know the starting folder (for ../).

(note: Forgive me if the paths below are not quite right - I am at work on lunch break as I right this, and our server is preventing me from getting to the host to browse files. I'll update later in the day.)

I found "images" under public_html\styles\strasa
I found "pics" under public_html\styles\strasa\options\mono (from which my option derives)
I I found "pics" under public_html\styles\strasa\options\hrsms (my option)

I placed my icon in all three places, but it still shows as a missing image.

For the icon field I tried
"chainlink.jpg"
"../pics/icons/chainlink.jpg"

In both cases is shows as a missing picture on the "admin toolbar" page.
If editing a wiki page using WYSIWIG, there is nothing.
If editing a wiki page using wiki view there is a question mark with a mouseover popup that says "Error: directory '' not allowed by security setting"

Thanks,

Greg

posts: 92

Thanks!

It works when I do not include the leading ../

which makes sense, since the script is in and the icons are /img/icons

posts: 92
Correction.  The icon is visible in "admin toolbars", but there is still nothing when editing a wiki page in WYSIWIG mode.  Is this supposed to work?

posts: 3665 United States

Ahh... You're using WYSIWYG. Tiki uses the CKEditor for WYSIWYG and I'm not sure if you can customize the toolbar from within Tiki. You may need to modify CKEditor directly. See the informaiton in your Tiki at: ../vendor/ckeditor/ckeditor/samples/index.html for details.

Someone else may know better than I, regarding WYSIWYG customizations....

 

HTH,

- Rick  |  My Tiki BlogMy Tiki UserPage

Why be a dummy? Get smarty! TikiForSmarties.com
Tiki for Smarties, your source for the best (and only) Tiki books, guides, and tutorials.

Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting