It’s possible to change picture view to fancybox?
Thanks for help!
|
|
Hi,
Yes, this is possible.
1) Add the Fancy Box required files in your Shoppica directory
You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!
Hope, we have helped.
Best regards,
ThemeBurn team
|
|
Hi, Thanks for help, it’s work.
Best regards,
Palma
|
|
Hi again
I have a question about window in register: Terms & Conditions
and Privacy Policy.
How can I change prettyPhoto window to fancybox.
-> http://www.peropapier.pl/index.php?route=account/register
link:
Przeczytałem i zgadzam się z Polityką prywatności. (Czytaj: Polityka prywatności)
- this is Privacy Policy link.
Thanks for help
Palma
|
|
Hi!
You can open this file:
You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!
and initialize fancybox as described above. You can take a look at the default account/register template which uses fancybox anyway.
|
|
hmmm
I change this in shoppica.php and Terms & Condition open in new window.
I’t doesn’t work. Maybe I doing something wrong.
Any help?
Thanks
Palma
|
|
Hi,
It seems, you haven’t initialized fancybox in this page. The page use this template:
catalog/view/theme/shoppica/template/account/register.tpl
Best regards,
ThemeBurn team
|
|
Hi,
in register.tpl I have:
<!-- end of content -->
$('select[name=\'zone_id\']').load('index.php?route=account/register/zone&country_id=&zone_id=');
<link rel="stylesheet" type="text/css" href="catalog/view/theme/config->get('config_template') ?>/stylesheet/jquery.fancybox-1.3.4.css" media="all" />
<script type="text/javascript" src="catalog/view/theme/config->get('config_template') ?>/js/jquery/fancybox/jquery.fancybox-1.3.4.js">
<script type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/jquery.validate/1.8.1/jquery.validate.min.js">
jQuery.validator.setDefaults({
errorElement: "p",
errorClass: "s_error_msg",
errorPlacement: function(error, element) {
error.insertAfter(element);
},
highlight: function(element, errorClass, validClass) {
$(element).addClass("error_element").removeClass(validClass);
$(element).parent("div").addClass("s_error_row");
},
unhighlight: function(element, errorClass, validClass) {
$(element).removeClass("error_element").addClass(validClass);
$(element).parent("div").removeClass("s_error_row");
}
});
and
jQuery( function($) {
$("a[rel^='fancybox']").fancybox({
theme: 'light_square', /* light_rounded / dark_rounded / light_square / dark_square / facebook */
opacity: 0.5,
social_tools: "",
deeplinking: false
});
});
What is wrong?
-
This reply was modified 4620 days ago by palma.
|
|
<link rel="stylesheet" type="text/css" href="catalog/view/theme/config->get('config_template') ?>/stylesheet/jquery.fancybox-1.3.4.css" media="all" />
<script type="text/javascript" src="catalog/view/theme/config->get('config_template') ?>/js/jquery/fancybox/jquery.fancybox-1.3.4.js">
<script type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/jquery.validate/1.8.1/jquery.validate.min.js">
has to be
<link rel="stylesheet" type="text/css" href="catalog/view/theme/config->get('config_template') ?>/stylesheet/jquery.fancybox-1.3.4.css" media="all" />
<script type="text/javascript" src="catalog/view/theme/config->get('config_template') ?>/js/jquery/fancybox/jquery.fancybox-1.3.4.js">
<script type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/jquery.validate/1.8.1/jquery.validate.min.js">
|
|
Hi,
nothing change.
Can I send to you my register.tpl file?
|
|
You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!
|
|
i have no success to using fancybox i/o prettyPhoto can you pls show me a guideline.
|
|