Jump to content

{MODULEPATH} like for www/images


yannux

Recommended Posts

Hi,

I'm trying to build a little plugin to add some addLayer styles.

(I'd like to do this to just have the zip to send after each revive upgrade, and better understanding revive-adserver plugins system)

 

Here is my files node inside the xml

 <install>
    <files>
        <file path="{MODULEPATH}invocationTags/oxInvocationTags/layerstyles/phsite/">invocation.inc.php</file>
        <file path="{MODULEPATH}invocationTags/oxInvocationTags/layerstyles/phsite/">layerstyle.inc.php</file>
        <file path="{MODULEPATH}invocationTags/oxInvocationTags/layerstyles/phsite/">close_pop_mini.png</file>
        <file path="www/images/layerstyles/phsite/">close_pop_mini.png</file>
    </files>
</install>

I would like close_pop_min.png be available inside www/images/layerstyles/phsite/ but if I use  <file path="www/images/layerstyles/phsite/">close_pop_mini.png</file>

extension install script check says me : Illegal file location found : www/images/layerstyles/phsite/close_pop_mini.png

And when it's inside {MODULEPATH}invocationTags/oxInvocationTags/layerstyles/phsite/  it's not allowed to access it via url because of .htaccess

Is there a way to add some files inside www/images ?

I saw the is {ADMINPATH} for www/admin  but my file is not related to admin for me ..

 

( Sorry for my poor english :/)

 

Edited by yannux
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...