Hi, I found such thing:

I have the folder structure like this: /home/client/drupal/sites/example.com/modules/render/

But the files I store in: /home/client/files/ (outside the www directory)

I install Render module and I have noticed that it is not working in such situation.

I started to dig around it, and I tried to do somenthing to start this module working and:

1) when the element has src ="/home/client/files/render/MY_FONT.swf" it doesnt work, but when I do: /system/files/render/MY_FONT.swf, in AddRule section started to show this font by this module.

What you think?

Comments

macieq’s picture

Okey, for the /admin/settings/render/edit/sifr page solution is to:

change this (render.module):

  foreach ((array)$files as $file) {
    $fonts[$file->filename] = $file->basename;
  }

to

  foreach ((array)$files as $file) {
    $fonts['/system/files/render/'.$file->basename] = $file->basename;
  }

Im working farther and waiting for replays.

sun’s picture

Status: Active » Closed (duplicate)

Marking as duplicate of #125700: Private files support