1. inthegym
  2. Bug Report
  3. Saturday, June 04 2016, 09:21 AM
I'm trying to copy Elements/userbox.ctp to my Blue Theme, but its not copying. It does say 'Template has been copied successfully' but the file hasn't been copied.

Thanks.
Accepted Answer
admin Accepted Answer
Admin
Hi,
in file /plugins/jsn/socialnetwork/app/Controller/ThemesController.php at line 260 I have replaced this:
$path = $this->request->data['path'];

with this
$path = str_replace('/', DS, $this->request->data['path']);


passed path have a unix syntax so for this file come Elements/userbox.ctp instead Elements\userbox.ctp for windows environments
  1. more than a month ago
  2. Bug Report
  3. # Permalink
admin Accepted Answer
Admin
Hi,
I have applied a patch (I have your FTP details from previous post), try now :D

if works we will add details about this fix and add this for next release.

this seems a bug for windows environment.
  1. more than a month ago
  2. Bug Report
  3. # 1
inthegym Accepted Answer
Pro
Content Protected
  1. more than a month ago
  2. Bug Report
  3. # 2
inthegym Accepted Answer
Pro
Worked a treat!
  1. more than a month ago
  2. Bug Report
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.