Loading...
 
Skip to main content

Cannot set/change meta robots setting in Meta Tags Admin 3.0rc1 + problem with keyword options

Status
Closed
Subject
Cannot set/change meta robots setting in Meta Tags Admin 3.0rc1 + problem with keyword options
Version
2.x
3.x
Category
  • Error
  • Less than 30-minutes fix
Feature
Meta Tag
Resolution status
Fix on the Way
Submitted by
Geoff Brickell
Lastmod by
Geoff Brickell
Rating
(0)
Description

This is still a problem in 3.0rc1


Sorry - just spotted that this bug has already been reported as #2141 but hopefully the additional information provided here will help resolve this more quickly.

You can no longer set/change the meta robots setting in Meta Tags Admin ie the NOROBOTS, NOFOLLOW settings

When you fill in the form field and click the Change Settings button the field blanks and viewing the HTML page source code shows that nothing has happened. The "revisit after" field works fine however.

Old 1.9 sites work fine and sites that have migrated through to 2.2 from 1.9 have their old values preserved but they cannot be changed. New 2.2 sites cannot have the setting established.

Examining the database for a new site shows that the metatag_robots row in the tiki_preferences table is missing. Hacking the table to add the row with appropriate values allows the appropriate HTML code to be generated in the head section of each page BUT the admin form still does not work.

Have also now spotted that ticking any of the Meta keywords options e.g the "Insert freetags in keyword list" and changing the settings does seem to set that option BUT the tick box is then blanked and then there is no way to 'untick' the option or you are not sure if it has been set or not.

very old bug - now fixed/not relevant

Files
  1. Tiki Admin Include Metatags
Solution
r18777
Workaround

update: as of svn version 18744 some of the above is fixed

but the metatag_robots setting still isn't working

the fix for this seems to be:

  1. insert a new metatag_robots row in the tiki_preferences table
  2. edit the tiki-admin-include-metatags.tpl to change all refs to adm_metatag_robots to metatag_robots or $prefs.metatag_robots to be consistent with the other metatag references and small change to echo the description tag correctly when it is edited (file attached)


the above is not fully tested but seems OK

Importance
9
Easy to solve?
8
Priority
72
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
2300
Created
Tuesday 10 February, 2009 10:20:02 UTC
by Unknown
LastModif
Saturday 06 July, 2024 10:21:44 UTC


Show PHP error messages