frank.paoile Posted January 11, 2011 Share Posted January 11, 2011 Anyone know of a way to have two watermark modules installed? I need two different watermarks on different types of images.I have tried copying the current one and renaming it to 'watermark2' but that did not seem to work.Any help would be great thanks. Link to comment Share on other sites More sharing options...
frank.paoile Posted January 12, 2011 Author Share Posted January 12, 2011 Any please? Link to comment Share on other sites More sharing options...
smiffy Posted February 5, 2011 Share Posted February 5, 2011 You want to apply 2 marks... conditionally (one, or the other, based on conditions) or 2 different marks always (maybe you want one mark positioned lower right corner, and the other marked centered?)What version of Prestashop are you using?I believe 2 watermarking modules could exist, installed at the same time.Just renaming the subfolder and or renaming the module php file wouldn't be enough. Internally, you'll need to edit the install() etc methods, so that the second module is associated with its own set of configuration variables (stored to, and read from, the configuration db table). Will also need to change the filename used for the uploaded image which is to be used as the watermark. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now