Home Forum
2017-11-20
Menu principale
Prodotti
Giochi a premi
Accedi ai servizi
Newsletter
Ricezione
Benvenuto, Ospite
Nome Utente Password: Ricordami

Can't get it to work
(1 Online) (1) Ospite
  • Pagina:
  • 1

ARGOMENTO: Can't get it to work

Can't get it to work 7 Anni, 8 Mesi fa #1033

  • RxB
  • Offline
  • Fresh Boarder
  • Messaggi: 2
I'm probably doing something wrong, but for some reason i cant get that to work

i have this URI : endirectdujardin.bol-d-air.net/l-astuce-du-chef
which is a caterory/blog menu entry

I have configured it in tag meta table as such :
CREATE TABLE IF NOT EXISTS `jos_tagmeta` (
`id` int(11) NOT NULL auto_increment,
`uri` varchar(255) NOT NULL default '',
`title` varchar(255) default NULL,
`description` varchar(255) default NULL,
`keywords` varchar(255) default NULL,
`rindex` tinyint(1) NOT NULL default '1' COMMENT '0=No,1=Yes,2=Skip',
`rfollow` tinyint(1) NOT NULL default '1' COMMENT '0=No,1=Yes,2=Skip',
`rsnippet` tinyint(1) NOT NULL default '2' COMMENT '0=No,1=Yes,2=Skip',
`rarchive` tinyint(1) NOT NULL default '2' COMMENT '0=No,1=Yes,2=Skip',
`rodp` tinyint(1) NOT NULL default '2' COMMENT '0=No,1=Yes,2=Skip',
`ordering` int(11) NOT NULL default '0',
`published` tinyint(1) NOT NULL default '0',
`checked_out` tinyint(1) NOT NULL default '0',
`checked_out_time` datetime NOT NULL default '0000-00-00 00:00:00',
PRIMARY KEY (`id`),
UNIQUE KEY `idxuri` (`uri`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;

INSERT INTO `jos_tagmeta` (`id`, `uri`, `title`, `description`, `keywords`, `rindex`, `rfollow`, `rsnippet`, `rarchive`, `rodp`, `ordering`, `published`, `checked_out`, `checked_out_time`) VALUES
(1, '/l-astuce-du-chef', 'Les astuces cuisine du chef Marc Veyrat', 'Le chef Marc Veyrat partage ses trucs et astuces cuisine pour bien cuisiner les aliments naturels et biologiques', 'Astuces cuisine, trucs cuisine, alimentation bio, astuces marc veyrat, cuisine marc veyrat, cuisiner comme un chef, produits naturels, produits bio, cuisiner produits bio, idées cuisine, recettes, fruits biologiques, légumes biologiques, fruits et légumes', 1, 1, 1, 2, 2, 1, 1, 0, '0000-00-00 00:00:00');

You can see the plugin parameters in the attached image file

I emptied the site cache, purged the cache file
I'm not using sh404SEF

And still i can't get it to work.. Title/descriptions/keywords are not replaced..

A hint would be helpful. Thanks in advance Le immagini di questo Forum sono invisibili ai visitatori. Prego accedi o registrati per visualizzarli.
Allegati:
  • Allegato Le immagini di questo Forum sono invisibili ai visitatori. Prego accedi o registrati per visualizzarli.

Re:Can't get it to work 7 Anni, 8 Mesi fa #1034

  • admin
  • Offline
  • Administrator
  • Messaggi: 1603
It's very strange.
Everything seems to be correct, so it should work.

Have you a test environement where I can login to take a look?

Regards
Luigi

Re:Can't get it to work 7 Anni, 8 Mesi fa #1035

  • RxB
  • Offline
  • Fresh Boarder
  • Messaggi: 2
I actually tracked the problem to this line in the plugin tagmeta.php code :

if ( $docType != 'html' ) return;

just before the line I did a test on the value of 'doctype' which was always empty, so, I
commented out the line (well to some cost somewhere else I guess) an it now seems to be working as expected.

Well now I have to undersand why i dont get a 'html' value in $document->getType(), but for now i'm good

Re:Can't get it to work 7 Anni, 8 Mesi fa #1036

  • admin
  • Offline
  • Administrator
  • Messaggi: 1603
I'm happy it works,
but document type should be set after dispatch. Also, the meta info should be applied only for documents of html type. So, I would suggest you to investigate reasons for this strange behaviour.

If you need help, please, don't esitate to ask me.

Regards,
Luigi
  • Pagina:
  • 1
Moderatori: admin
Tempo generazione pagina: 0.59 secondi
News
Cerca con Google
Chi è online
 307 visitatori online
Sponsor

Slotmachineaamsonline.com è una guida alle migliori slot machine online legali in Italia. Sul sito trovi un elenco sempre aggiornato dei casino online con Slot machine e bonus slot, le ultime novità dal mondo delle slot online e le migliori strategie per vincere. Inoltre, è disponibile una sezione dedicata alle slot machine da BAR che finalmente sono disponibili nella versione online.