VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: welrachid on October 29, 2017, 11:54:46 AM

Title: fancybox override
Post by: welrachid on October 29, 2017, 11:54:46 AM
Hi guys
i tried to search the forum but only found places that describe how to override the padded.php file.
I am wondering if it is possible to actually override the whole look of the fancybox modal?
I want to achieve a modal that looks like the attached file, but i cant seem to find anywhere.
I've done the modal myself to be used with a custom login popup modal, but to make the whole template work correct i also need to make VM popups look correct.
Which files should i be editing.
What i've found so far is that most of it is build up with JS.
The question that arises is therefore, is there a place where i can "replace" that js?

Thanks
Wel
Title: Re: fancybox override
Post by: Ghost on October 30, 2017, 10:45:49 AM
To override Fancybox JS , copy files from components/com_virtuemart/assets/js/fancybox/ to templates/your_template/js/fancybox/.