Keyword

[SOLVED] Unicode Alliances Problem

  • Dimitris Belegris
  • Dimitris Belegris's Avatar Topic Author
  • Offline
  • New Member
More
10 years 9 months ago #121851 by Dimitris Belegris
[SOLVED] Unicode Alliances Problem was created by Dimitris Belegris
Dear Sir/Madame,

First of all i would like to thank you for the great extension.
I would like to report a problem i am facing with K2 and url rewriting.

I have enabled my Joomla to rewrite urls and also as i am using a greek language pack i have enabled Unicode Alliances in Joomla.

Everything works perfectly when it comes to joomla articles but not when it comes to K2 items.
Every single url I create in k2 (both greek or english it doesnt matter) comes with a "#......." suffix at the end.
Examples:
toplists.gr/el/top-10-video/top-10-βιντεο-τεστ-1#.Uqb34vQwoeN
toplists.gr/el/top-10-photografies/top-10-photo-test-6#.Uqb4S_QwoeM

It doesnt matter if I put my K2 items in menus or no i still get the same results.
I am using the latest versions of both K2 and Joomla and my K2 SEF Settings are:
-Enforce SEF URL character replacements:
No

-Enable advanced SEF for K2 URLs
No

-Prefix for item URLs
None

-Use the item ID in the URL
No

-Item ID and title alias separator
Use a dash (-)

-Use the item title alias
No

-Use the category ID in the URL
No

-Category ID and title alias separator
Use a dash (-)

-Use the category title alias
No

-sh404SEF URL category prefix for items
No categories

-Use 'Title Alias' (instead of 'Title') for K2 URLs
No - use the item's title

-Insert item ID in URL
No

-Unique ID
No

Also Joomla's add suffix to url is off.

Am I missing a setting to disable this suffix? Is there something else i must try??

Thank you in advance.
Dimitris Belegris

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 9 months ago #121852 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Unicode Alliances Problem
This suffix is generated from another extenesion. 3rd party extensions like Share this or Add this generate this hashtag at the end of the URLs.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Dimitris Belegris
  • Dimitris Belegris's Avatar Topic Author
  • Offline
  • New Member
More
10 years 9 months ago #121853 by Dimitris Belegris
Replied by Dimitris Belegris on topic Re: Unicode Alliances Problem
Indeed i am using add this for k2.
Is there anyway to solve this???

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 9 months ago #121854 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Unicode Alliances Problem
There are params in the script tags to disable this option. As for the plugin you need to read its documentation.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Dimitris Belegris
  • Dimitris Belegris's Avatar Topic Author
  • Offline
  • New Member
More
10 years 9 months ago #121855 by Dimitris Belegris
Replied by Dimitris Belegris on topic Re: Unicode Alliances Problem
I didnt use the plugin i just copied the code from addthis website to 'Social button' code because it was more convenient to customize it just for K2. When using the plugin it enables it for every single widget i might use in the k2 items which is something i dont want.

Please Log in or Create an account to join the conversation.

  • Dimitris Belegris
  • Dimitris Belegris's Avatar Topic Author
  • Offline
  • New Member
More
10 years 9 months ago #121856 by Dimitris Belegris
Replied by Dimitris Belegris on topic Re: Unicode Alliances Problem
Ok I solved it.
Here is the solution for anyone who might face the same problem:
The initial code that you get when you copy the addthis social button code is:
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style ">
<a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
<a class="addthis_button_tweet"></a>
<a class="addthis_button_pinterest_pinit" pi:pinit:layout="horizontal"></a>
<a class="addthis_counter addthis_pill_style"></a>
</div>
<script>var addthis_config = {"data_track_addressbar":true};</script>
<script src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-529c95064f7e846d"></script>
<!-- AddThis Button END -->

To disable click tracking codes you should add this part to the code:
<div class="add-pad">
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style ">
<a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
<a class="addthis_button_tweet"></a>
<a class="addthis_button_pinterest_pinit" pi:pinit:layout="horizontal"></a>
<a class="addthis_counter addthis_pill_style"></a>
</div>
<script>var addthis_config = {"data_track_addressbar":true};</script>
<script src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-529c95064f7e846d"></script>
​<script>
var addthis_config = addthis_config||{};
addthis_config.data_track_addressbar = false;
addthis_config.data_track_clickback = false;
</script>

<!-- AddThis Button END -->

This disables both address bar tracking codes and click tracking codes.
You can disable either one if you wish.
For more info look at:
support.addthis.com/customer/portal/articles/1013558-removing-all-hashtags-anchors-weird-codes-from-your-urls#.UqcRsPQwoeM

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 9 months ago #121857 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Unicode Alliances Problem
You should read its documentation and how to set up its parameters. From what I can remember the Sharethis site has detailed documentation.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Dimitris Belegris
  • Dimitris Belegris's Avatar Topic Author
  • Offline
  • New Member
More
10 years 9 months ago #121858 by Dimitris Belegris
Replied by Dimitris Belegris on topic Re: Unicode Alliances Problem
ps.You copy this code to K2/Parameters/Social/'Social button' code

Please Log in or Create an account to join the conversation.

  • Dimitris Belegris
  • Dimitris Belegris's Avatar Topic Author
  • Offline
  • New Member
More
10 years 9 months ago #121859 by Dimitris Belegris
Replied by Dimitris Belegris on topic Re: Unicode Alliances Problem
ps2. Ignore the <div class="add-pad"> in the second part of the code. Its just a class I added to customize the buttons.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum