Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
Leo
Topic Author
Posts: 21
Joined: 02 Feb 2009, 11:50

SNS of Contact page

24 Mar 2017, 05:41

Karl, 
I have two question regarding the SNS of Contact page.
1.How can I customize the footer SNS of it? I can only find there's settings->footer to set the SNS icon for the whole website.
2.Can I hide these SNS icons of the Contact page or can I type words instead of icons, since such Like QQ or wechat. I can add a "title" attribute to display my QQ number or wechat number, when mouse hove on in the general footer settings, while they cannot display in the contact page or view in mobile.

Thanks
Leo Cao
------http://xiya.photo.gallery-----To memorize my angel,Xiya
 
hardliner
Experienced
Posts: 134
Joined: 22 Jul 2011, 10:15

Re: SNS of Contact page

24 Mar 2017, 07:38

What is SNS?
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

Re: SNS of Contact page

24 Mar 2017, 10:08

Hi Leo. I am not sure what you mean by SNS. The contact page is a pretty simple page with just three form input fields: Name, Email and Message.
 
User avatar
Leo
Topic Author
Posts: 21
Joined: 02 Feb 2009, 11:50

Re: SNS of Contact page

24 Mar 2017, 13:37

I mean the three social networks icons below the form of the contact layout. Is is possible to edit? Can these icons to be hidden?
------http://xiya.photo.gallery-----To memorize my angel,Xiya
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

Re: SNS of Contact page

24 Mar 2017, 14:14

You mean in the Contact page MENU dropdown widget? Icons displaying here are inherited from your icon-buttons in panel -> settings -> footer. They cannot be set specifically for the contact-form widget, although they can be disabled from contact page -> Menu, scroll down to "data", see [icon-buttons].
Image
 
User avatar
Leo
Topic Author
Posts: 21
Joined: 02 Feb 2009, 11:50

Re: SNS of Contact page

26 Mar 2017, 09:47

Thanks Karl! Is it possible when click the social icon, displays a Medal page? For example, when click the WeChat , displays it's Q-code picture?
Image
------http://xiya.photo.gallery-----To memorize my angel,Xiya
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

Re: SNS of Contact page

26 Mar 2017, 13:15

Yes. Go to panel settings -> footer, and include this at the bottom:
Code
<div id="wechat-q-code" class="reveal-modal" data-reveal aria-hidden="true" role="dialog">
<a class="close-reveal-modal" aria-label="Close"><i class="fa fa-close"></i></a>
<h2>Some Title</h2>
<!-- Add your custom html code for the images here. For example: -->
<img src="/wechat-q-code.jpg">
</div>
Then, for the icon button, use something like this:
Code
<a href="#" data-reveal-id="wechat-q-code"></a>
 
User avatar
Leo
Topic Author
Posts: 21
Joined: 02 Feb 2009, 11:50

Re: SNS of Contact page

27 Mar 2017, 11:12

Thanks Karl!I just tried,it works!I adjust minor on the icon button, so that the icon can displays as "WeChat",as well as the title could be displays well instead of # when the mouse is hovering on.
Code
<a href=# data-icon="wechat" data-reveal-id="wechat-q-code" title=WeChat:blahblah></a>
------http://xiya.photo.gallery-----To memorize my angel,Xiya