social page in a new page

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Wed Sep 25, 2013 2:04 pm
Reply with quote
Report this post
Hello everyone, I would like to know if in the about page clicking on the picture of the team on the icons of social, it is possible to open the page in a new page. I tried adding the target _blank but I opened my facebook page on the same page. What could be wrong? I need to make sure that clicking on facebook, I open another page. I do not know if I explained.
Thanks
User avatar
Junior Boarder

GK User
Thu Sep 26, 2013 10:20 am
Reply with quote
Report this post
You mean this area screenshot ? If yes, the URL's are by default opening on new page, please look at our demo site. All links there have target="_blank" attribute.
User avatar
Platinum Boarder

GK User
Thu Sep 26, 2013 10:35 am
Reply with quote
Report this post
No I am referring to the about page where there is a team. All team's photos have an icon with the social, but if I click I would open a new page
User avatar
Junior Boarder

GK User
Fri Sep 27, 2013 12:00 pm
Reply with quote
Report this post
Please open file gk.script.js from template/js directory and find this code :

Code: Select all
if(figure.getProperty('data-fb') != null) {
               htmloutput += '<a href="'+figure.getProperty('data-fb')+'" data-type="fb">Facebook</a>';
               classcounter++;
            }


and replace it with :

Code: Select all
if(figure.getProperty('data-fb') != null) {
               htmloutput += '<a href="'+figure.getProperty('data-fb')+'" data-type="fb" target="_blank">Facebook</a>';
               classcounter++;
            }


Then you need to make exactly the same for Google+ and Twitter part of code.
User avatar
Platinum Boarder

GK User
Fri Sep 27, 2013 12:32 pm
Reply with quote
Report this post
Thanks it was just that I needed, and now I would have another last question :)
in the "what we do" page, I should post images of the sample sites, where clicking, you will be connected to the site of the example shown in the picture. Is it possible?
User avatar
Junior Boarder

GK User
Fri Sep 27, 2013 8:34 pm
Reply with quote
Report this post
No, in this module you can be only redirect to article page/category page. This demand changes in News Show Pro code and this kind of informations are far beyond our support.
User avatar
Platinum Boarder

GK User
Sat Sep 28, 2013 7:22 pm
Reply with quote
Report this post
I understand, but at least can you tell me how I can replace the images in the "what we do"?
User avatar
Junior Boarder

GK User
Mon Sep 30, 2013 7:30 am
Reply with quote
Report this post
The social icons ? You need to change the content attribute in this lines inside gk.stuff.css :

Code: Select all
.gkTeamOverlay a[data-type="fb"]:before {
   content: '\f09A';
}

.gkTeamOverlay a[data-type="twitter"]:before {
   content: '\f099';
}

.gkTeamOverlay a[data-type="gplus"]:before {
   content: '\f0d5';
}


This icons comes from Font Awesome and codes for other icons you can find here http://fortawesome.github.io/Font-Awesome/cheatsheet/
User avatar
Platinum Boarder

GK User
Mon Sep 30, 2013 8:22 am
Reply with quote
Report this post
NO... I'll create a new post with a new question
User avatar
Junior Boarder

GK User
Thu Oct 03, 2013 9:08 am
Reply with quote
Report this post
Yes it will be better because from your description it is hard to know what you want to modify. Please include some screenshot which area you are talking about.
User avatar
Platinum Boarder

GK User
Thu Oct 03, 2013 12:16 pm
Reply with quote
Report this post
I have created a new post but I have not received any response
User avatar
Junior Boarder

GK User
Wed Oct 09, 2013 10:18 am
Reply with quote
Report this post
Could you provide me URL to this topic ?
User avatar
Platinum Boarder

GK User
Wed Oct 09, 2013 12:08 pm
Reply with quote
Report this post
I solved it by myself :) thanks
User avatar
Junior Boarder

GK User
Sat Oct 12, 2013 1:00 pm
Reply with quote
Report this post
Ok, that's fine. I really want to help you but I have no idea what type of modifications you want to make.
User avatar
Platinum Boarder


cron