Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
i18n special pages error on home page?
#1
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.
Reply
#2
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?
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply
#3
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?
Reply




Users browsing this thread: 1 Guest(s)