Changeset 1360


Ignore:
Timestamp:
02/12/07 14:10:01 (13 years ago)
Author:
jukka
Message:

Fixes a bug with language tagclouds and a typo in configurationmethods.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ConfigurationMethods.py

    r1359 r1360  
    112112    ob.content_status_modify(workflow_action='publish') 
    113113 
    114 def setupFrontPage(self,portal): 
    115     """Setup the front page.""" 
    116     # Replace front-page with a PythonScript that does a redirection to 
    117     # the content section. 
    118     try: 
    119         portal._delObject('front-page') 
    120     except AttributeError: 
    121         pass 
    122     id = portal._setObject('front-page',PythonScript('front-page')) 
    123     getattr(portal,id).write( 
    124 """request = container.REQUEST 
    125 RESPONSE =  request.RESPONSE 
    126 RESPONSE.redirect(container.absolute_url()+'/content/') """) 
    127114                   
    128115def setupFolders(self,portal): 
     
    460447    safeEditProperty(lt, 'primary_languages', value=language_list, data_type="tokens") 
    461448    safeEditProperty(lt, 'allow_banning', value=False, data_type="boolean") 
    462     safeEditProperty(lt, 'irc_link' value='http://lemill.net/irc/irc.cgi', data_type="string") 
     449    safeEditProperty(lt, 'irc_link', value='http://lemill.net/irc/irc.cgi', data_type="string") 
    463450    lt.language_dict=dict(portal.availableLanguages()) 
    464451     
  • trunk/LargeSectionFolder.py

    r1356 r1360  
    656656                if values!=None: 
    657657                    if type(values)==str or type(values)==int: 
    658                         hits[values]=hits[values][0]+1 
     658                        hits[values]=hits[values]+1 
    659659                    elif type(values)==list or type(values)==tuple: 
    660660                        for a in list(values): 
Note: See TracChangeset for help on using the changeset viewer.