Jevents 2.x (Free Access)

Facebook like button - wall character encoding

Discuss JEvents 2.x for Joomla 1.5-2.5 here - club members can use the special club forum for faster response times.
Forum rules
When requesting support please follow these steps:

1. Update all JEvents add on's first, via the Joomla! Updater
2. Copy and Paste the JEvents Support Information from the JEvents Control Panel.
3. If you get a 500 error OR white page, enable Maximum Error Reporting in Joomla! Global Config and visit the page again, this should give you a more detailed error and help us provide a prompt response.

Postby oilali » Tue Oct 30, 2012 7:13 am

Hello, I'm new in here.

We use the J-Events for our webpage.
After the redesign we want to adapt a fix facebook like link all of the events header.
I edit the "components\jevents\views\gerant\icallevent\tmpl\detail_body16.php" file with this code:

Code: Select all

function curPageURL() {
 $pageURL = 'http';
 if ($_SERVER["HTTPS"] == "on") {$pageURL .= "s";}
 $pageURL .= "://";
 if ($_SERVER["SERVER_PORT"] != "80") {
  $pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"];
 } else {
  $pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];
 }
 return $pageURL;
}
?>                     
                     <div id="jevents_community">
                                 <div id="facebook_mozog"><div class="fb-like" data-href="<?php echo curPageURL(); ?>" data-send="false" data-layout="button_count" data-width="450" data-show-faces="true" data-action="recommend"></div></div>



The button is works, but the character encoding of the text is wrong (on my facebook wall only, in my site shows the normal text). What is the problem?

Image

(Joomla 2.5, HUNGARIAN, JEVENTS 2)

We using UTF8 encoding without boom in the files, and UTF8_hungarian_ci in the database. The test site is here: http://mill.cyclick.biz

Thank you.
oilali
 
Posts: 1
Joined: Tue Oct 30, 2012 6:57 am

Postby Geraint » Tue Oct 30, 2012 11:21 am

The JEvents Club has a silver member addon that adds a Facebook like/share button to the event which sets the appropriate description/title meta tags and also the appropriate image meta tag (if you use the standard images addon too http://www.jevents.net/jevents-club/dem ... pload-demo)
JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!
User avatar
Geraint
 
Posts: 42781
Joined: Fri Feb 15, 2008 6:14 pm


Return to Jevents 2.x (Free Access)

  • Who is online
  • View new posts
  • View unanswered posts
  • In total there are 0 users online :: 0 registered and 0 hidden (based on users active over the past 5 minutes)
  • Most users ever online was 94 on Tue Sep 01, 2009 12:33 am
  • Users browsing this forum: No registered users