Changeset 970 in products


Ignore:
Timestamp:
Sep 22, 2007 6:18:18 AM (19 years ago)
Author:
deo
Message:

Added the additional_keywords field markup and action logic.

Location:
qSEOptimizer/branches/additional-keywords/skins/qSEOptimizer
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • qSEOptimizer/branches/additional-keywords/skins/qSEOptimizer/prefs_qseo_setup.cpy

    r954 r970  
    55##bind script=script 
    66##bind subpath=traverse_subpath 
    7 ##parameters= portalTypes=[], exposeDCMetaTags=None, additionalKeywords=[], default_custom_metatags=[] 
     7##parameters= portalTypes=[], exposeDCMetaTags=None, additionalKeywords=[] 
    88##title=add action tab for selected portal types 
    99## 
     
    1515site_props.manage_changeProperties(exposeDCMetaTags=exposeDCMetaTags) 
    1616seo_props.manage_changeProperties(additional_keywords=additionalKeywords) 
    17 seo_props.manage_changeProperties(default_custom_metatags=default_custom_metatags) 
    1817 
    1918pt = getToolByName(context, 'portal_types') 
  • qSEOptimizer/branches/additional-keywords/skins/qSEOptimizer/prefs_qseo_setup_form.cpt

    r954 r970  
    3939                           header. They include DC.description, DC.type, 
    4040                           DC.format, DC.creator and others. 
    41                         </div> 
    42                     </div> 
    43  
    44                     <div class="field" 
    45                          tal:define="default_custom_metatags portal/portal_properties/seo_properties/default_custom_metatags|python:[]"> 
    46                         <label for="default_custom_metatags" i18n:translate="label_default_custom_metatags"> 
    47                             Default custom metatags. 
    48                         </label> 
    49                         <div class="formHelp" i18n:translate="help_default_custom_metatags"> 
    50                             Fill in custom metatag names (one per line) which will appear on qseo_properties 
    51                             edit tab. 
    52                         </div> 
    53                         <div class="widget"> 
    54                             <textarea cols="60" id="default_custom_metatags" name="default_custom_metatags" rows="15" 
    55                                       tal:content="python:'\n'.join(default_custom_metatags)"></textarea> 
    5641                        </div> 
    5742                    </div> 
Note: See TracChangeset for help on using the changeset viewer.