| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,71 @@ |
| 1 |
+<?php |
|
| 2 |
+/* CATEGORY BLOCK |
|
| 3 |
+ Categories are to show only on the index. |
|
| 4 |
+ I currently have it set to display: |
|
| 5 |
+ The image, then the link, the story count in brackets, and then the description in a div tag. (template) |
|
| 6 |
+ Three columns (columns)*/ |
|
| 7 |
+$blocks["categories"]["status"] = '1'; |
|
| 8 |
+$blocks["categories"]["template"] = "{image} {link} [{count}] <div>{description}</div>";
|
|
| 9 |
+$blocks["categories"]["columns"] = '3'; |
|
| 10 |
+ |
|
| 11 |
+ |
|
| 12 |
+/* FEATURED BLOCK |
|
| 13 |
+ By default, the featured stories is off.*/ |
|
| 14 |
+$blocks["featured"]["status"] = '1'; |
|
| 15 |
+ |
|
| 16 |
+ |
|
| 17 |
+/* INFO BLOCK |
|
| 18 |
+ Info is set to display only on the home page. I don't bother to style it.*/ |
|
| 19 |
+$blocks["info"]["status"] = '1'; |
|
| 20 |
+ |
|
| 21 |
+ |
|
| 22 |
+/* MENU BLOCK |
|
| 23 |
+ The menu is set to display on all pages. |
|
| 24 |
+ Additional styles include: |
|
| 25 |
+ As an inline list. (style=2) |
|
| 26 |
+ Links to home, recent, authors, categories,titles,series,search,top tens, browse by, help, contact us, and the login info. */ |
|
| 27 |
+$blocks["menu"]["status"] = '1'; |
|
| 28 |
+$blocks["menu"]["content"] = array ( |
|
| 29 |
+ 0 => 'home', |
|
| 30 |
+ 1 => 'recent', |
|
| 31 |
+ 2 => 'authors', |
|
| 32 |
+ 3 => 'titles', |
|
| 33 |
+ 4 => 'catslink', |
|
| 34 |
+ 5 => 'browse', |
|
| 35 |
+ 6 => 'help', |
|
| 36 |
+ 7 => 'contact us'); |
|
| 37 |
+$blocks["menu"]["style"] = 0; |
|
| 38 |
+ |
|
| 39 |
+ |
|
| 40 |
+/* LOG-IN BLOCK |
|
| 41 |
+ The login form is set to display on all pages, even though I only actually call it on the index. It can safely be changed to just the index, but I did this to address a possible bug. |
|
| 42 |
+ I currently have it set to display: |
|
| 43 |
+ In long format (form) */ |
|
| 44 |
+$blocks["login"]["status"] = '1'; |
|
| 45 |
+$blocks["login"]["form"] = '1'; |
|
| 46 |
+ |
|
| 47 |
+ |
|
| 48 |
+/* RANDOM STORIES BLOCK |
|
| 49 |
+ Status is set to display on just the index page.*/ |
|
| 50 |
+$blocks["random"]["status"] = '1'; |
|
| 51 |
+ |
|
| 52 |
+ |
|
| 53 |
+/* RECENT STORIES BLOCK |
|
| 54 |
+ By default, the recent stories block is off.*/ |
|
| 55 |
+$blocks["recent"]["status"] = '1'; |
|
| 56 |
+ |
|
| 57 |
+ |
|
| 58 |
+/* SKIN CHANGER |
|
| 59 |
+ Status is set to display on all pages. */ |
|
| 60 |
+$blocks["skinchange"]["status"] = '1'; |
|
| 61 |
+ |
|
| 62 |
+ |
|
| 63 |
+/* NEWS BLOCK |
|
| 64 |
+ Status is set to display on just the index page. */ |
|
| 65 |
+$blocks["news"]["status"] = '1'; |
|
| 66 |
+ |
|
| 67 |
+ |
|
| 68 |
+/* NEW STORY INDICATOR |
|
| 69 |
+ Styled: Plain text surrounded with the superscript HTML tag with font-size set to extra small and italic.*/ |
|
| 70 |
+$new = "<sup style='font-size:small;font-style:bold'>New!</sup>"; |
|
| 71 |
+?> |
|
| 0 | 72 |
\ No newline at end of file |