| 1 |
Week module |
Weekly Archive by Node Type |
| 2 |
------------------------------------------------------------------------------- |
--------------------------------------------------------------------- |
| 3 |
|
week.module generates weekly archive pages and a block with links to the pages. You can specify the node types that will be included in the archive pages. |
|
week.module generates weekly archive pages and a block with links to the pages. You can specify the node types that will be included in the archive pages. |
|
| 4 |
|
|
| 5 |
Links are generated only for those week that actually have posts. The text of the links is created using the token module. |
Links are generated only for those week that actually have posts. The text of the links is created using the token module. |
| 6 |
|
|
| 7 |
The page is generated using the year and week number embedded in the URL. |
The page is generated using the year and week number embedded in the URL. |
| 8 |
|
|
| 9 |
<b>NOTE:</b> This module is NOT PostgreSQL-compatible, due to the use of MySQL's FROM_UNIXTIME() and WEEK() functions. |
NOTE: This module is NOT PostgreSQL-compatible, due to the use of MySQL's FROM_UNIXTIME() and YEARWEEK() functions. |
| 10 |
|
|
| 11 |
Options: |
Options: |
| 12 |
Select node type that will be included in the overall archive pages |
Select node type that will be included in the overall archive pages |
| 13 |
|
|
| 14 |
Select node types that will have their own block |
Select node types that will have their own block |
| 15 |
|
|
| 16 |
Set number of links in block: If greater than zero, limits the number of links in |
Set number of links in block: If greater than zero, limits the number of links in |
| 17 |
the block and adds a link to a page listing all available weekly links. |
the block and adds a link to a page listing all available weekly links. |
| 18 |
|
|
| 19 |
Sort links in chronological order: If checked the list of archive links will be |
Sort links in chronological order: If checked the list of archive links will be |
| 20 |
sorted from oldest to newest. Otherwise it will be sorted from newest to oldest |
sorted from oldest to newest. Otherwise it will be sorted from newest to oldest |
| 21 |
|
|
| 22 |
Sort archive page in chronological order: If checked the list of archive links |
Sort archive page in chronological order: If checked the list of archive links |
| 23 |
will be sorted from oldest to newest. Otherwise it will be sorted from newest to |
will be sorted from oldest to newest. Otherwise it will be sorted from newest to |
| 24 |
oldest |
oldest |
| 25 |
|
|
| 26 |
Paginate archive page: If checked the output will be split into pages. The number |
Paginate archive page: If checked the output will be split into pages. The number |
| 27 |
of posts will respect the global nodes per page setting. |
of posts will respect the global nodes per page setting. |
| 28 |
|
|
| 29 |
|
Archive path: User defined root path to archives (/your_root/year/weekno). Node type archive can be either (/your_root/node_type/year/weekno) or (/node_type/your_root/year/weekno). |
| 30 |
|
|
| 31 |
|
Archive page title and block link definitions |