Does each theme need a separate copy of plugin files and why isn't perl working here ?

ottdev

Well-Known Member
Oct 1, 2013
139
7
68
cPanel Access Level
Root Administrator
In the case that we aren't concerned with different styles - we create a feature for our users in a generic style - can we publish these files into one theme and then symlink them to the other themes? i.e. maintain a single HTML page or perl script instead of multiple copies?

If I visit the preinstalled sample at ..../frontend/x3/test.live.pl or test.live.cgi - I see the actual file contents - are we missing a scriptalias or some other config is wrong?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463

ottdev

Well-Known Member
Oct 1, 2013
139
7
68
cPanel Access Level
Root Administrator
Thank you for your reply.
That doc http://documentation.cpanel.net/display/CKB/How+to+Install+cPanel+Plugins does not address my issue. Further it refers to the plugin file generator which I understand is deprecated. I did use that generator a couple of weeks ago, and I only ended up with an icon for the X3 theme. It did not accomplish anything with other themes. I read all of the plugin docs and came away with these questions still.

The plugin docs say that CGI can be used for plugin interfaces. However, on my server, it does not work from this location - is it a bug or something is broken. I don't think I will find this specific answer in those general docs you pointed to.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
The plugin docs say that CGI can be used for plugin interfaces. However, on my server, it does not work from this location - is it a bug or something is broken. I don't think I will find this specific answer in those general docs you pointed to.
Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome.

Thank you.