Social buttons in Banner topbar module

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
Sat Dec 28, 2013 9:53 pm
Reply with quote
Report this post
If you edit and save the code in the Banner topbar module, the social buttons are gone. How come?
What is the code to use the social buttons?

<div class="gk-social"> </div>
<p><span>Call Customer Services on: +1-888-222-1155</span> <span class="gk-promo">Take and Extra <strong>20% OFF</strong> Your Purchase - Code: <strong>DEC2013</strong></span></p>
User avatar
Fresh Boarder

GK User
Sat Dec 28, 2013 10:09 pm
Reply with quote
Report this post
It seems like the editor overruled the code :(
User avatar
Fresh Boarder

GK User
Mon Dec 30, 2013 11:11 pm
Reply with quote
Report this post
I have the same issue with the topbar. How can we solve this problem?
Not only the social icons are not displayed, but the writing <p><span>Call Customer Services on: +1-888-222-1155</span> <span class="gk-promo">Take and Extra <strong>20% OFF</strong> Your Purchase - Code: <strong>DEC2013</strong></span></p> is displayed in the bottom left corner of the topbar. (eg: www.fashionus.ro). I need a solution as fast as possible.

Thank you.
User avatar
Junior Boarder

GK User
Wed Jan 01, 2014 3:11 pm
Reply with quote
Report this post
Im having the same issue. Any suggestions?
User avatar
Fresh Boarder

teitbite
Thu Jan 02, 2014 5:24 pm
Reply with quote
Report this post
Hi

Yes editor is stripping this code since it's not prepared to recognized html5 code. Please simply disable editor while working with the code of this module.
User avatar
Moderator

GK User
Thu Jan 02, 2014 5:50 pm
Reply with quote
Report this post
Hi,

how do you disable the editor?

Thanks
User avatar
Junior Boarder

GK User
Fri Jan 03, 2014 1:07 am
Reply with quote
Report this post
Hi,

I did this:
Open My Profile from the Site menu, set Editor under Basic Settings to Editor - None and click Save & Close.
It's ok now.

Thanks
User avatar
Junior Boarder

teitbite
Sun Jan 05, 2014 3:57 am
Reply with quote
Report this post
Hi

Yes that's the exact answer :) Great that You have it sorted.
User avatar
Moderator

GK User
Wed Mar 12, 2014 11:43 am
Reply with quote
Report this post
Its not working for me... I see :

Call Customer Services on: +1-888-222-1155 Take and Extra 20% OFF Your Purchase - Code: DEC2013

but not the social icon???

any other suggestion??
User avatar
Senior Boarder

teitbite
Thu Mar 13, 2014 11:09 am
Reply with quote
Report this post
snowpoloi wrote:Its not working for me... I see :

Call Customer Services on: +1-888-222-1155 Take and Extra 20% OFF Your Purchase - Code: DEC2013

but not the social icon???

any other suggestion??


Hi

Please tell me what code are You using exactly and if editor is disabled in user setting while editing this code.
User avatar
Moderator

GK User
Thu Mar 13, 2014 1:11 pm
Reply with quote
Report this post
<div class="gk-social"> </div>
<p><span>Call on: +302109810539, +302104924565</span> </p>


i use JCE but now i disable editor from user settings i see sth like toggle editor
User avatar
Senior Boarder

teitbite
Thu Mar 13, 2014 9:19 pm
Reply with quote
Report this post
Hi

"Toggle editor" option will only hide editor for short amount of time, but will still strip the code on save. Disabling editor is a more accurate solution. Here is the code You should have there:

Code: Select all
<div class="gk-social">
<a href="http://www.gavick.com/magazine/?format=feed&amp;type=rss"><i class="fa fa-rss"></i></a>
<a href="#"><i class="fa fa-flickr"></i></a>
<a href="https://plus.google.com/+gavickpro/posts"><i class="fa fa-google-plus"></i></a>
<a href="https://twitter.com/gavickpro"><i class="fa fa-twitter"></i></a>
<a href="#"><i class="fa fa-vimeo-square"></i></a>
<a href="https://www.facebook.com/gavickpro"><i class="fa fa-facebook"></i></a>
</div>


Here are questions from a PM to me:
InStyle Template
1. language in topbar not playing in top nav plays well but down from shopping card is anyway to put flags in line with shopping card?
2. when i use custom field in virtuemart the quantity goes down and i see only 2 boxes like this:
3.i use multilanguage can you tell me which lang file you use to translate it manual example: Welcome admin you can check your account

Creativity Template
1. I want to put google maps module under contact in Bottom 2 position but not playin in Frontpage at Subpages plays well...


1. Add this code to css:
Code: Select all
#gkTopMenu {
    position: relative;
}

2. I think the css file in not loaded. Please make sure that in VM congiguration the template used is set to default.
3. All template sentences are available to translate in: /languages/en-GB/en-GB.tpl_gk_instyle.ini


div.mod-languages {
    left: -100px;
    position: absolute;
    top: -2px;
}


1. Please tell me Your site's URL
User avatar
Moderator

GK User
Thu Mar 13, 2014 11:24 pm
Reply with quote
Report this post
I wil try this...

http://kliolios.gr/site2/
User avatar
Senior Boarder

GK User
Fri Mar 14, 2014 12:21 pm
Reply with quote
Report this post
about 2. when i use custom field in virtuemart the quantity goes down and i see only 2 boxes

PHP file:
/plugins/vmcustom/stockable/stockable.php

(around 403rd line):
$(".addtocart-bar").append(\'<span class="quantity-box"><input type="text" class="quantity-input js-recalculate" name="quantity[]" value="\' + quantity + \'" /></span><span class="quantity-controls js-recalculate"><input type="button" class="quantity-controls quantity-plus" /><input type="button" class="quantity-controls quantity-minus" /></span><span class="addtocart-button"><input type="submit" name="addtocart" class="addtocart-button" value="'.JText::_('COM_VIRTUEMART_CART_ADD_TO').'" title="'.JText::_('COM_VIRTUEMART_CART_ADD_TO').'" /></span><div class="clear"></div>\');

i put the 2 input type="button" ---->input type="hidden"

you change it at /templates/gk_instyle/html/com_virtuemart/productdetails/default.php and its correct

BUT when you use custom field in virtuemart you must change it from here

/plugins/vmcustom/stockable/stockable.php

i think that helps you....
User avatar
Senior Boarder

teitbite
Fri Mar 14, 2014 11:52 pm
Reply with quote
Report this post
Hi

It is a solution, but You will need to remember to make this change after every VM update becuase this plugin will be overwritten. Better is to hide it with this css:

Code: Select all
.quantity-controls { display: none; }


other fixes are:

Code: Select all
span.quantity-box {
    float: left;
    padding: 10px;
}

.availability {
    float: none;
    margin: 10px 0 0;
    text-align: center;
}

label.quantity_box {
    display: none;
}


About the map You need to tell me something more. I can see that there is a module aded there, but it looks like a custom html module. It looks the same on all pages.
User avatar
Moderator

GK User
Sat Mar 15, 2014 12:26 am
Reply with quote
Report this post
Sorry my fault i try sth and i forget to enable map again now i enabke it in bottom 2 position with title THIS IS THE MAP in sub pages plays well but in front not...please see it again...

Kliolios.gr/site2
User avatar
Senior Boarder

teitbite
Sat Mar 15, 2014 1:49 pm
Reply with quote
Report this post
Hi

Interesting. Is this the same module ? I see not javascript conflicts or anything, just that the code for map is loaded partialy on frontpage. The possible reason of such behaviour can be this validation error I see on frontpage, but not other pages:

Line 283, Column 587: No p element in scope but a p end tag seen.

…ass="gkContactPinterestIcon" target="_blank">Pinterest</a></p></div></div></p>


Looks like somewhere in a content there is not equal number of paragraph opening and closing tags.
User avatar
Moderator

GK User
Tue Nov 11, 2014 11:53 pm
Reply with quote
Report this post
Hi,

(Before reading this) I've also tried to edit the Social texts in the toolbar. I cannot get it back. How do I put it back? I've disabled the editor, so it's always in HTML and copy/pasted the HTML from the first post, but social buttons will not appear.

What should I do?
User avatar
Fresh Boarder

teitbite
Wed Nov 12, 2014 10:23 pm
Reply with quote
Report this post
Hi

You can find all code and configuration in documentation https://www.gavick.com/documentation/jo ... iguration/
User avatar
Moderator

GK User
Thu Nov 13, 2014 11:43 am
Reply with quote
Report this post
teitbite wrote:Hi

You can find all code and configuration in documentation https://www.gavick.com/documentation/jo ... iguration/



I am sorry, but I can't see any info about the social toolbar... Can you tell me where it is?
User avatar
Fresh Boarder

teitbite
Fri Nov 14, 2014 8:43 am
Reply with quote
Report this post
Hi

Point 19, almost at the end of article. There is a link there to this code: https://www.gavick.com/documentation/wp ... frame=true
User avatar
Moderator


cron