Sphene Community Tools

Community

Copyright © 2007 by Herbert Poul
You are not logged in.
Login
Register

Change Language:



AddThis Social Bookmark Button

A Django site.
Profile for Alexander Ladda

Name Alexander Ladda
Email Address Reveal this emailaddress
AvatarUsers avatar
Posts21
  • Re: Wiki markdown
    Board >> General >> Feature Discussions
    why did you include the markup.py in the SCT folder instead of making it a dependency? Is that for easier installation?
  • Re: Wiki markdown
    Board >> General >> Feature Discussions
    (found this post with google - so I'll revive this post)

    I couldn't find it either, so I uncommented line 1487 and 1488 in communitytools/sphenecoll/sphene/contrib/libs/markdown/markdown.py

    but I believe that's not the way it's supposed to be done ...

    I just wanted to get on with editing ...
  • Re: Wikilinks and CamelCode don't work here
    Board >> General
    ah. i see.
  • Re: Wikilinks and CamelCode don't work here
    Board >> General
    How is that outside the Sandbox?
  • Wikilinks and CamelCode don't work here
    Board >> General
    http://sct.sphene.net/wiki/show/Sandbox/ralze/

    it works fine in my local installation though...
  • Re: Where is the HTML/CSS going?
    Board >> General
    and all include and extends statements use absolute paths (starting from the template directories)
    that is ROOT_PATH/communitytools/sphenecoll/sphene/<application>/templates/<path-provided-by-extend> ?
  • Re: Where is the HTML/CSS going?
    Board >> General
    I read the chapter in the djangobook about templates and that seems to be pretty straight-forward stuff.

    The only thing, I don't quite get is the big picture with the whole organisation of the project yet- that is, ... :)
    it's a little obscure how the html-sniplets excactly find each other through the whole folder structures :D
    but I see enough to get started...


    --- Last Edited by Alexander Ladda at 2008-03-15 19:03:49 ---
  • Re: can't adapt
    Board >> General
    yes. that was it. It works now.

    about issuetracker: I don't really know what would be a small bug and what would be some really big issue ... I just guessed, that it would be pretty basic stuff for you...
    and I also just want it written down, that's why I'd like to post stuff, that comes to my mind. There's no pressure to get it fixed asap...

    --- Last Edited by Alexander Ladda at 2008-03-15 16:27:51 ---
  • can't adapt
    Board >> General
    I installed Communitydraft; When editing my superuser profile I get this:

    Environment:
    
    Request Method: POST
    Request URL: http://127.0.0.1:8000/community/profile/edit/
    Django Version: 0.97-pre-SVN-7249
    Python Version: 2.5.1
    Installed Applications:
    ['django.contrib.auth',
     'django.contrib.contenttypes',
     'django.contrib.sessions',
     'django.contrib.sites',
     'django.contrib.humanize',
     'django.contrib.flatpages',
     'django.contrib.admin',
     'django.contrib.sitemaps',
     'sphene.community',
     'sphene.sphboard',
     'sphene.sphwiki',
     'sphene.sphblog']
    Installed Middleware:
    ('sphene.community.middleware.ThreadLocals',
     'sphene.community.middleware.GroupMiddleware',
     'sphene.community.middleware.MultiHostMiddleware',
     'sphene.community.middleware.LastModified',
     'django.middleware.common.CommonMiddleware',
     'django.contrib.sessions.middleware.SessionMiddleware',
     'django.contrib.auth.middleware.AuthenticationMiddleware',
     'django.middleware.locale.LocaleMiddleware',
     'django.middleware.doc.XViewMiddleware',
     'sphene.community.middleware.PermissionDeniedMiddleware')
    
    
    Traceback:
    File "/home/alex/django_trunk/django/core/handlers/base.py" in get_response
      82.                 response = callback(request, *callback_args, **callback_kwargs)
    File "/home/alex/communitydraft/community/../../communitytools/sphenecoll/sphene/community/views.py" in profile_edit_mine
      267.     return profile_edit(request, group = group, user_id = None)
    File "/home/alex/communitydraft/community/../../communitytools/sphenecoll/sphene/community/views.py" in profile_edit
      309.                             request = request,
    File "/home/alex/django_trunk/django/dispatch/dispatcher.py" in send
      360.             **named
    File "/home/alex/django_trunk/django/dispatch/robustapply.py" in robustApply
      47.     return receiver(*arguments, **named)
    File "/home/alex/communitydraft/community/../../communitytools/sphenecoll/sphene/sphboard/models.py" in board_profile_edit_save_form
      1340.     request.user.message_set.create( message = ugettext_lazy(u"Successfully saved board profile.") )
    File "/home/alex/django_trunk/django/db/models/fields/related.py" in create
      261.                 self.add(new_obj)
    File "/home/alex/django_trunk/django/db/models/fields/related.py" in add
      256.                     obj.save()
    File "/home/alex/django_trunk/django/db/models/base.py" in save
      264.                     ','.join(placeholders)), db_values)
    File "/home/alex/django_trunk/django/db/backends/util.py" in execute
      18.             return self.cursor.execute(sql, params)
    
    Exception Type: ProgrammingError at /community/profile/edit/
    Exception Value: can't adapt
    


    do you want this kind of stuff here or at http://code.google.com/p/sct-project/issues/list ?
  • Re: Where is the HTML/CSS going?
    Board >> General
    Actually, it wouldn't be too hard to make a flexible layout, I believe. I myself, i hate fixed layouts.

    But while doing some research I found this article. unfortunately kind of incomplete, but still very insightful:

    http://theartisticoutlaw.com/?s=Anatomy+of+a+Forum

    he goes way further ... a little too far as far as I'm concerned on some points, but one never knows. Since django fails silently, when variables are not fetched by the template (is that right) this could be a chance to have two branches of design templates... one, that is very much complying with the habits, culture and visual/functional idioms we all know and love in forums. and well one, that's just way out there, trying to reinvent the whole world. And maybe a third one in pink with pretty horses etc.

    I personally believe, that the separation from functionality and layout is only helpful, when coding and organization of files for distribution and maintenance. There definitely needs to be some unifying design level to the whole thing. But that's crossing bridges, that are not even built :)

    --- Last Edited by Alexander Ladda at 2008-03-15 12:20:15 ---


Powered by Sphene Community Tools