Jump to content


- - - - -

Question for modders


  • Please log in to reply
2 replies to this topic

#1 Telemacus

Telemacus

    Coder

  • IM Supporters
  • PipPipPipPipPip
  • 132 posts
  • Location:Sydney, Australia
  • Real Name:Javier
  • IPB Version:v2.3.x

Posted 28 August 2010 - 10:27 AM

A friend of mine is working on a mod for my site. He's done other stuff before, but he doesn't quite know how to do the following.

How do you package the assets (images, swf-files) so that they all end up in the right place after the application has been installed. What is the standard path for assets?

Could someone help?

Regards.

#2 Martin

Martin

    But but, it's not only only!

  • Management
  • PipPipPipPipPipPipPipPipPipPip
  • 7,081 posts
  • Location:Hammerfest, Norway
  • Real Name:Martin Aronsen
  • IPB Version:v3.2.x
Contributor

Posted 28 August 2010 - 10:33 AM

Depends on where it is used.
Usually images used on the public side is places in ./public/style_images/master/ (this causes an issue with 3rd party skins, as the user have to manually upload these icon to these skins respective image folder), or ./public/style_extra/<appName>/. For the latter you can not make customized icons for each skins.
For the ACP you place the images in ./admin/skin_cp/images or ./admin/applications_addon/other/<appName>/skin_cp/.

#3 Telemacus

Telemacus

    Coder

  • IM Supporters
  • PipPipPipPipPip
  • 132 posts
  • Location:Sydney, Australia
  • Real Name:Javier
  • IPB Version:v2.3.x

Posted 28 August 2010 - 10:36 AM

Thanks a lot Martin!

Regards.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users