×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Path to CB plugin style.css wrong

Path to CB plugin style.css wrong 9 years 2 months ago #32202

  • Ralf Longwitz
  • Ralf Longwitz's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0
Error:
,/components/com_comprofiler/plugin/user/plug_usercomments/style.css - not found!

.\components\com_comprofiler\plugin\user\plug_ccomment-usercomments\usercomments.php, line 48:
$doc->addStyleSheet("components/com_comprofiler/plugin/user/plug_usercomments/style.css");

should be: plug_ccomment-usercomments

Path to CB plugin style.css wrong 9 years 2 months ago #32206

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Ralf,
Thanks for reporting this. Yea, cb is doing some stupid things such as changing the folder of the plugin based on the name tag... So for every installation out there it is plug_ccomment-usercomments, but it should be just plug_usercomments....

I've applied your fix. Can you check the latest DEV release

Thanks,
Daniel

Path to CB plugin style.css wrong 9 years 2 months ago #32207

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Actually, please use git_8b9b434 - I made another change to the code that loads the css file. We use a CB plugin function now that is supposed to give us the correct path to the plugin.
Let me know if this works for you as well.

Thanks,
Daniel

Path to CB plugin style.css wrong 9 years 2 months ago #32211

  • Ralf Longwitz
  • Ralf Longwitz's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0
I installed it, and it looks fine. Thanks!
  • Page:
  • 1
Time to create page: 0.106 seconds