Plugin Icons for Plugins in plugin.local

Post plugins and custom CSS snippets here
mate
Bear Rating Trainee
Bear Rating Trainee
Posts: 4
Joined: 13 May 2013, 21:12

Plugin Icons for Plugins in plugin.local

Postby mate » 18 Mar 2016, 13:56


User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Plugin Icons for Plugins in plugin.local

Postby fox » 18 Mar 2016, 14:14

i dunno if relying on document root is a good idea (maybe it is) but overall doing something with __DIR__ here makes sense, maybe in a more elegant way of some kind

attic repo plugins have this hardcoded because they were written before plugins.local was added

e: maybe there should be a method of pluginhost which gives the plugin relative path to itself

User avatar
HeikoAdams
Bear Rating Master
Bear Rating Master
Posts: 101
Joined: 19 Mar 2013, 00:17

Re: Plugin Icons for Plugins in plugin.local

Postby HeikoAdams » 18 Mar 2016, 15:10


User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Plugin Icons for Plugins in plugin.local

Postby fox » 18 Mar 2016, 15:13

you can replace one dirname(__FILE__) with __DIR__

mate
Bear Rating Trainee
Bear Rating Trainee
Posts: 4
Joined: 13 May 2013, 21:12

Re: Plugin Icons for Plugins in plugin.local

Postby mate » 22 Mar 2016, 12:52


User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Plugin Icons for Plugins in plugin.local

Postby fox » 22 Mar 2016, 13:24

post your gitlab username, i'll give you necessary permissions

mate
Bear Rating Trainee
Bear Rating Trainee
Posts: 4
Joined: 13 May 2013, 21:12

Re: Plugin Icons for Plugins in plugin.local

Postby mate » 24 Mar 2016, 13:09


mate
Bear Rating Trainee
Bear Rating Trainee
Posts: 4
Joined: 13 May 2013, 21:12

Re: Plugin Icons for Plugins in plugin.local

Postby mate » 24 Mar 2016, 13:55



Return to “Themes and plugins”

Who is online

Users browsing this forum: No registered users and 5 guests