PrestaShop Forum

The best place in the world to ask questions about PrestaShop and get advice from our passionate community!

PrestaShop Forum

Jump to content

Editorial: change it to save logo and xml outside of /modules

  • You cannot reply to this topic
No replies to this topic
#1
boran

    PrestaShop Apprentice

  • Members
  • PipPip
  • 42 posts
Hi,

I think that directory like /modules and /classes should have only code in them, so site specific content.
the editorial module stores homepage_logo.jpg and editorial.xml.

Is there a generic concept in PS of where modules should store any files they need? /config and /img seem likely candidates to me.

I tried to adapt editorial.php to pull and store the above two files in /config, but was unable to get the code to work.
A diff file is attached, I don't suppose anyone could have a look to make suggestions?

Attached Files