Posts: 3
Threads: 1
Joined: Mar 2012
Hi, sorry for my english.
I have a problem with display content of i18n Special Page fields on my Home Page.
When I type url:
http://iskol.home.pl/ I can't see in Search result item Image and txt field content.
but when i type url:
http://iskol.home.pl/index.php or go to menu link "News" I can see this content - image and text are displayed. Where is the problem?
I use: i18n, i18n search, i18n special pages and I created special page type "News" with 2 fileds: Image and Text field.
Thank you for your help.
Posts: 2,094
Threads: 54
Joined: Jan 2011
MarioSimple Wrote:Hi, sorry for my english.
I have a problem with display content of i18n Special Page fields on my Home Page.
When I type url: http://iskol.home.pl/ I can't see in Search result item Image and txt field content.
but when i type url: http://iskol.home.pl/index.php or go to menu link "News" I can see this content - image and text are displayed. Where is the problem?
I use: i18n, i18n search, i18n special pages and I created special page type "News" with 2 fileds: Image and Text field.
Thank you for your help.
Try replacing
Code:
if (basename($_SERVER['PHP_SELF']) != 'index.php') {
by
Code:
if (basename($_SERVER['PHP_SELF']) && basename($_SERVER['PHP_SELF']) != 'index.php') {
in /plugins/i18n_specialpages.php, line 35.
Does this work?
Posts: 3
Threads: 1
Joined: Mar 2012
it works, thanks a lot
mvlcek Wrote:MarioSimple Wrote:Hi, sorry for my english.
I have a problem with display content of i18n Special Page fields on my Home Page.
When I type url: http://iskol.home.pl/ I can't see in Search result item Image and txt field content.
but when i type url: http://iskol.home.pl/index.php or go to menu link "News" I can see this content - image and text are displayed. Where is the problem?
I use: i18n, i18n search, i18n special pages and I created special page type "News" with 2 fileds: Image and Text field.
Thank you for your help.
Try replacing
Code:
if (basename($_SERVER['PHP_SELF']) != 'index.php') {
by
Code:
if (basename($_SERVER['PHP_SELF']) && basename($_SERVER['PHP_SELF']) != 'index.php') {
in /plugins/i18n_specialpages.php, line 35.
Does this work?