This article describes Diamanda applications and their relations-dependencies. Most of them can be used without others.
Main url is
/forum/. Does not use any other modules on the code level but has on the post list links to Private Messages (userpanel), and as all apps templates extend from pages/body.html
For admins under
/stats/ - unique entries stats. Data is saved by middleware
statsMiddleware.py - one save for IP per day. Independent.
Main url is
/bgate/. Has links to comments and in vews.py it counts comments. Character files are saved to
/site_media/bgate, and folder
/bgate_av/ has all the avatars (standard and user uploaded).
Dependent on other modules - see models.py. Field "apptype" is used to determine which application entry is commented. Method
__str__ uses models of those apps. To show comments Greybox JS script is used. In HEAD add:
<script type="text/javascript">
var GB_ROOT_DIR = "/site_media/wiki/greybox/";
</script>
<script type="text/javascript" src="/site_media/wiki/greybox/AJS.js"></script>
<script type="text/javascript" src="/site_media/wiki/greybox/AJS_fx.js"></script>
<script type="text/javascript" src="/site_media/wiki/greybox/gb_scripts.js"></script>
<link href="/site_media/wiki/greybox/gb_styles.css" rel="stylesheet" type="text/css" />
To URL add
rel="gb_page_fs[]", example:
<a href="/com/{{ page.id }}/1/" rel="gb_page_fs[]" title="{% trans "Comments" %}">{% trans "Comments" %} ({{ com }})</a>
Has links and calls in views.py comments app. Main url:
/news/
Article with "index" slug is used on the main page. Main page views (
view_index) calls nearly all applications. Article url is
/w/p/SLUG/
Standard comments dependency (links and in views.py). Main url is
/tasks/.
Standard comments dependency (links and in views.py). Main url is
/tra/. Folder
/site_media/lang_icon/ stores language icons, and
/site_media/translations/ *po files.
Independent. Main url is
/user/. It uses
/site_media/bg.jpg and
/site_media/SHERWOOD.TTF, folder
/site_media/captcha is used to store temporary captcha images.
- Added: 14.07.2008 by riklaunim