[ Index ]
 

Code source de GeekLog 1.4.1

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/public_html/layout/professional/ -> README (source)

   1  Theme: Professional_139 AKA Professional
   2  ========================================
   3  Major thanks to Matt Jones at http://geeksta.com for his work on the
   4  XSilver theme for the Geeklog.net CMSystem. I really enjoy modifying
   5  XSilver and this theme "Professional_139" is proof of that. Thanks
   6  goes to Squatty at http://squatty.com for his support and the entire
   7  Geeklog.net staff.
   8  
   9  TOC
  10  ===
  11  -- IMPORTANT
  12  -- License
  13  -- README
  14  -- Installation
  15  -- General USE
  16  -- Things to DO
  17  -- BUGS
  18  
  19  IMPORTANT
  20  =========
  21  This theme doesn't provide page menu elements. Basically I never liked the
  22  idea of having navigational elements spread about on a page. It not only
  23  contributes to poor design but it definitely aids in confusing a user. To
  24  address this problem and give users the power of Page menu elements I am
  25  enclosing code in which was provided to me by Dirk from http://geeklog.net
  26  
  27  ========================================
  28  function phpblock_plugin_menu()
  29  {
  30      $retval = '';
  31      $plugin_menu = PLG_getMenuItems();
  32      for( $i = 1; $i <= count($plugin_menu); $i++ )
  33      {
  34          $url = current($plugin_menu);
  35          $plg = key($plugin_menu);
  36          $retval .= '<a href="' . $url . '">' . $plg . '</a><br>';
  37          next( $plugin_menu );
  38      }
  39      return $retval;
  40  }
  41  ========================================
  42  
  43  The above code will give you back your page menu elements but this time
  44  it'll go into a block instead of being found within the header as a third
  45  navigational element.
  46  
  47  To apply the above code, simply copy the code between the seperators above
  48  and open the following file for Geeklog: geeklog\system\lib-custom.php
  49  
  50  Scroll to the bottom of the file and paste it directly above ?>. Go into
  51  Geeklog and create a new block. You can call the block anything you want
  52  but it is the Block Function field you need to pay attention too. please 
  53  paste the following into block Function: phpblock_plugin_menu .
  54  
  55  Now I know you didn't paste the period so choose Block Type: PHP Block.
  56  Save and exit the block editor and check out your new block :)
  57  
  58  Tip: you might wish to position the block directly above or beneath your
  59  other navigational elements so keep your users focused than confused.
  60  
  61  License
  62  =======
  63  http://www.gnu.org
  64  
  65  This program is free software; you can redistribute it and/or modify it under
  66  the terms of the GNU General Public License as published by the Free Software
  67  Foundation; either version 2 of the License, or (at your option) any later
  68  version.
  69  
  70  This program is distributed in the hope that it will be useful, but WITHOUT ANY
  71  WARRANTY; without even the implied warranty of  MERCHANTABILITY or FITNESS FOR A
  72  PARTICULAR PURPOSE.  See the  GNU General Public License for more details.
  73  
  74  README
  75  ======
  76     There are a few things about this theme which you should be aware
  77     of.
  78  
  79     1. This has a new block which isn't really a block. It is
  80     hard-coded. When a user is logged-out, they'll see the regular
  81     login block + register fields directly beneath it.
  82  
  83       1. Two links within this hard-coded block. One points to forgot
  84       password whereas the other for register points to a privacy
  85       policy. This will most likely not make it into the final build. I
  86       currently have it implemented for myself.
  87  
  88     2. All links have been underlined and retain the original web
  89     standard link colors. Links change color when visited, hovered over
  90     and active. This has been done so to comply with some web
  91     standards.
  92  
  93     3. Unlike most themes, you can hold control and scroll with your
  94     mouses wheel (if you have one), and the text will change size. This
  95     has also been done so to comply with some web standards. Otherwise
  96     you can increase or decrease size through your browser.
  97  
  98     4. One look at the stylesheet and you'll see something so sweet.
  99     Mostly all tags have been alphabetized and renamed so to make
 100     editing any thing much easier. This required some changes
 101     throughout the entire theme but was well worth it.
 102  
 103     5. Incredibly the theme is based around 5 colors and that's it.
 104     This has been done so colorize a theme on a global scale in seconds
 105     rather than minutes. Trust me, this is the easiest theme ever to
 106     color!
 107  
 108     #F7F7F7 is the color of the left block background.
 109     #E7E7E7 is the color of the right block background.
 110     #CCCCCC colors borders which need to be darker than #E7E7E7.
 111     #1A3955 is the color of block titles, header and footer background.
 112     #000000 (black) is the color of text.
 113     #FFFFFF (white) is the color of most backgrounds.
 114  
 115     To be honest, the entire theme revolves around the above colors. In
 116     theory this has been done so to easily color it. All other colors
 117     found within the sytlesheet should not be touched. In theory, this
 118     is how you would most likely change the color in a global swoop...
 119  
 120     Pretend you wanted a green theme...
 121  
 122     #F7F7F7 is your lightest green.
 123     #E7E7E7 is a bit darker than #F7F7F7.
 124     #CCCCCC is a bit more darker than #E7E7E7.
 125     #1A3955 (block titles) have to contrast well against your greens.
 126     #000000 (black) is the color of text (should be left alone).
 127     #FFFFFF (white) is the color of most backgrounds (should be left alone).
 128  
 129     Don't play with any other colors and do not remove the link
 130     underlines and I would be more than happy to accept your stylesheet
 131     if you would like to share it with others.
 132  
 133        If you must change the link colors which is acceptable as long
 134        as it definitely compliements the theme is cool *but* please do
 135        not remove the underlined links. Some people are colorblind and
 136        though underlines might not appeal to some I simply prefer
 137        leaving them in this theme for more reasons than colorblindness.
 138  
 139     6. The new Geeklog 1.3.9 automatically contains the required code
 140     within the index.php file so to achieve the Splash Block.
 141     Basically, if a certain template exist within the themes root
 142     (topcenterblock-span.thtml) and a static page is made to appear on
 143     the homepage above everything else, the block will span across the
 144     center and right side blocks. To remove this feature, simply remove
 145     the topcenterblock-span.thtml file.
 146  
 147     7. If you wish to use other themes along with this theme, here a
 148     few things which you'll need to know.
 149  
 150        7a. Do not disable your login block to Guest (User Functions).
 151        7b. Add a login link to the header of your other themes if you
 152            wish to remove the User Functions block for Guest.
 153        7c. Notice anything necessary not mentioned here, notify me.
 154  
 155     8. One thing which I use to not pay much attention to before but am
 156     a bit proud of lately is the calendar on this mod. The month is
 157     certainly impressive and so is the week view. The day is a little
 158     itchy but it fits. I really hope the calendar looks cool!
 159  
 160     9. The search function is hardcoded into the left block of the
 161     theme. This has been done as I've always liked it like that :)
 162  
 163     Thats it. I will not work on any other themes except for this one
 164     and for quite some time. It should be fully compatible with Geeklog
 165     1.3.9.
 166  
 167  -- 
 168  Best regards,
 169   Victor B. Gonzalez                          
 170   aeonserv-sf@vbgunz.com
 171   
 172  Installation
 173  ============
 174  Simply unzip all of the contents of this theme into your
 175  public_html/layout directory. Only one folder "Professional" should end
 176  up going into the layout directory.
 177  
 178  
 179  General Use
 180  ===========
 181  If you would like to change the theme for your self alone, go into your
 182  preferences and change the look. If you would like to make the entire
 183  site pick up on the change go into your Geeklog/config.php and change
 184  the default theme to the name of the theme "professional".
 185  
 186  Things to Do
 187  ============
 188     Things to do:
 189            ---------
 190     Convert the table based layout into <div> and make it truly user
 191     disability friendly (left and right blocks are done) for the next
 192     version.
 193  
 194     Get the code for the hard-coded block to appear within the User
 195     Functions Guest Mode block.
 196  
 197     Have fun and let me know what you think. Good luck!
 198     
 199  BUGS
 200  ====
 201  Please report bugs to http://aeonserv.com
 202  
 203  
 204  Thank you for choosing Professional_139 AKA Professional


Généré le : Wed Nov 21 12:27:40 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics