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 copy and paste the 'Version information for Support Forum' from the JEvents Control Panel into your post. If you cannot see this, please enable JEvents project news within it's configuration. Also, if you get a 500 Error, Enable Joomla! Maximum Error Reporting and view the page again, you should now have a more detailed error which will help us to resolve you issue quickly.
When requesting support, please copy and paste the 'Version information for Support Forum' from the JEvents Control Panel into your post. If you cannot see this, please enable JEvents project news within it's configuration. Also, if you get a 500 Error, Enable Joomla! Maximum Error Reporting and view the page again, you should now have a more detailed error which will help us to resolve you issue quickly.
Facebook like button - wall character encoding
by 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:
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?

(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.
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?

(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
Re: Facebook like button - wall character encoding
by 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!
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!
-

Geraint - Posts: 30507
- Joined: Fri Feb 15, 2008 6:14 pm
2 posts
• Page 1 of 1
Return to Jevents 2.x (Free Access)
Who is online
Users browsing this forum: No registered users

