/[drupal]/contributions/modules/sections/README.txt
ViewVC logotype

Contents of /contributions/modules/sections/README.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations) (download)
Sun Jun 1 13:03:53 2008 UTC (17 months, 4 weeks ago) by hass
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +12 -0 lines
File MIME type: text/plain
Sync D6 to HEAD
1 README.txt
2 ==========
3 This module allows you to create sections. Each section has an installed theme, theme or style
4 attached to it. Each section also contains a path setting similar to the new blocks admin.
5 You can then assign themes to a list (regexp'ed) paths.
6
7 For example, if you want another style for your "example" path, all you have to do, is create a section with:
8 name: Example Section
9 path: example*
10 and assign (a customade) theme like "example_theme" to that section.
11
12 Template suggestion
13 ===================
14 This module provide page template suggestion based on section id and section name. You are
15 able to create section based page templates. All characters not in [A-Za-z0-9] will be truncated
16 to a hyphen. The suggested page template names are:
17
18 sections-page-[section id].tpl.php
19 sections-page-[section name].tpl.php
20
21 Examples:
22 Section has the id 5 -> suggested page template is "sections-page-5.tpl.php".
23 Section is named "My blue forum" -> suggested page template is "sections-page-my-blue-forum.tpl.php".
24
25 Notes
26 =====
27 This module is currently under development and I am still figuring out how to make it perform better.
28 Also, the logic inside sections_in_section($section = NULL) is suboptimal. Anyone with good preg_match
29 knowledge is welcome to improve it, so that we can avoid to pull all sections out of the DB every call.
30
31 Ber Kessels [Drupal Services http://www.webschuur.com]
32
33 Feedback
34 ========
35 Will be welcomed, but for support, please create an 'issue' of type 'support request' for the project -sections-.

  ViewVC Help
Powered by ViewVC 1.1.2