Home Forum
2010-09-10
Menu principale
Prodotti
Giochi a premi
Accedi ai servizi
Newsletter
Generale
Giochi a premi
Open Source
Ricezione
Welcome, Guest
Please Login or Register.    Lost Password?

Can't get it to work
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Can't get it to work
#1033
Can't get it to work 6 Months, 1 Week ago  
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
RxB
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1034
Re:Can't get it to work 6 Months, 1 Week ago  
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
admin
Administrator
Posts: 580
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1035
Re:Can't get it to work 6 Months, 1 Week ago  
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
RxB
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1036
Re:Can't get it to work 6 Months, 1 Week ago  
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
admin
Administrator
Posts: 580
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
Moderators: admin
Cerca con Google
Chi è online
 58 visitatori online
Pubblicità