[ PHPXref.com ] [ Generated: Sun Jul 20 17:08:59 2008 ] [ CuteNews 1.4.1 ]
[ Index ]     [ Variables ]     [ Functions ]     [ Classes ]     [ Constants ]     [ Statistics ]

title

Body

[close]

/ -> README.htm (source)

   1  <html><head><title>CuteNews README</title>
   2  <meta content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
   3  <style type=text/css>
   4  A:link    { color:#3E749F; text-decoration:none}
   5  A:visited { color:#3E749F; text-decoration:none}
   6  A:hover   { color:#3E749F; text-decoration:underline}
   7  A:active  { color:#3E749F; text-decoration:underline}
   8  
   9  A.menu:hover, A.menu:active{ color:black; text-decoration:none}
  10  A.menu:link, A.menu:visited{ color:#305367; text-decoration:none}
  11  
  12  BODY, P, LI, TD {
  13          COLOR: #000000; FONT-FAMILY: verdana; FONT-SIZE: 11px; LINE-HEIGHT: 16px
  14  }
  15  </STYLE>
  16  </head>
  17  <body aLink=#cccccc bgColor=lightsteelblue link=#333333 vLink=#555555>
  18  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  19  <table align=center border=0 cellPadding=1 cellSpacing=0 width=733 height="1">
  20    <tbody>
  21    <tr>
  22      <td bgColor=#000000 width="744" height="1">
  23  
  24        <table border=0 cellSpacing=0 width="735" height="1">
  25          <tbody>
  26          <tr>
  27            <td bgColor=#ffffff width="731" colspan="4" align="center" valign="top" height="18">
  28              <b><font size="4" color="#7BA0DD">CuteNews README</font></b></td></tr>
  29          <tr>
  30            <td bgColor=#ffffff width="731" valign="top" align="center" height="4" colspan="4">
  31  
  32  
  33  &nbsp;
  34  
  35              </td>
  36          </tr>
  37          <tr>
  38            <td bgColor=#C2E4DB width="731" valign="top" align="center" height="6" colspan="4">
  39  
  40  
  41  <p align="left">&nbsp;<font size="2"><b>Information About The Script</b></font>
  42  
  43              </td>
  44          </tr>
  45          <tr>
  46            <td bgColor=#ffffff width="10" valign="top" align="center" height="9">
  47  
  48  
  49  &nbsp;
  50  
  51              </td>
  52            <td bgColor=#ffffff width="721" valign="top" align="center" height="9" colspan="3">
  53  
  54  
  55  <p align="left">CuteNews v1.4.1 by <a href="http://cutephp.com">CutePHP</a>
  56  Team.<br />
  57  <br />
  58  Cute news is a powerful and easy for using news management system that use flat files to store its database. It supports<br />
  59  &nbsp;comments and archives that can be organized by months.<br />
  60  Please read the provided license.txt file to get familiar with the legal usage
  61  of this script.<br>
  62  &nbsp;<a href="http://cutephp.com/cutenews/register/">Registered</a> Customers can seek support on at <a href="mailto:support%20[at]%20cutephp.com">our support mail</a> (technichal issues are discussed in our <a href="http://cutephp.com/forum">Forums</a>!)
  63  
  64              </td>
  65          </tr>
  66          <tr>
  67            <td bgColor=#ffffff width="731" valign="top" align="center" height="8" colspan="4">
  68  
  69  
  70  &nbsp;
  71  
  72              </td>
  73          </tr>
  74          <tr>
  75            <td bgColor=#C2E4DB width="731" valign="top" align="center" height="8" colspan="4">
  76  
  77  
  78  <p align="left"><font size="2">&nbsp;<b>Installing CuteNews</b></font>
  79  
  80              </td>
  81          </tr>
  82          <tr>
  83            <td bgColor=#ffffff width="12" valign="top" align="center" height="7">
  84  
  85  
  86  &nbsp;
  87  
  88              </td>
  89            <td bgColor=#ffffff width="719" valign="top" align="center" height="7" colspan="3">
  90  
  91  
  92  <p align="left">The installation of CuteNews is really easy and you should do it
  93  without any problems if you fallow these steps:</p>
  94  <p align="left">&nbsp;<b>1</b>) Create a directory on your server ( e.g.
  95  cutenews )<br />
  96  &nbsp;<b>2</b>) Upload the content of the cutenews.1.4.1.zip to the directory you
  97  created in step 1<br />
  98  &nbsp;<b>3</b>) Now You must
  99  <a title="How do I CHMOD?" target="_blank" href="http://cutephp.com/forum/index.php?showtopic=81">CHMOD</a> the the directory cutenews/data/ and all files and&nbsp;<br>
 100  &nbsp;&nbsp;&nbsp;&nbsp; folders under the data/&nbsp;directory must be also
 101  chmod'ed to 777.<br>
 102  <b>4</b>) Finally, go to http://yoursite.com/cutenews/index.php
 103  with you favorite browser and fallow the instructions.
 104  
 105              </td>
 106          </tr>
 107          <tr>
 108            <td bgColor=#ffffff width="731" valign="top" align="center" height="5" colspan="4">
 109  
 110  
 111  &nbsp;
 112  
 113              </td>
 114          </tr>
 115          <tr>
 116            <td bgColor=#C2E4DB width="731" valign="top" align="center" height="13" colspan="4">
 117  
 118  
 119  <p align="left"><font size="2"><b>&nbsp;Getting The News On Your Page...</b></font>
 120  
 121              </td>
 122          </tr>
 123          <tr>
 124            <td bgColor=#ffffff width="14" valign="top" align="center" height="1" rowspan="17">
 125  
 126  
 127  &nbsp;
 128  
 129              </td>
 130            <td bgColor=#ffffff width="717" valign="top" align="center" height="7" colspan="3">
 131  
 132  
 133  <p align="left">You can show the news,&nbsp; archives on your page by using
 134  some of the following php codes in your page.&nbsp;<br />
 135  The page where you include news, should be with extension .php <br>
 136  If you want these codes to be auto-generated for you, login into CuteNews and go
 137  to Options &gt; <b>Integration Wizards</b></td>
 138          </tr>
 139          <tr>
 140            <td bgColor=#ffffff width="717" valign="top" align="center" height="9" colspan="3">
 141  
 142  
 143  <hr width="70%">
 144  
 145              </td>
 146          </tr>
 147          <tr>
 148            <td bgColor=#ffffff width="717" valign="top" align="center" height="10" colspan="3">
 149  
 150  
 151  <p align="center"><b>General</b>
 152  
 153              </td>
 154          </tr>
 155          <tr>
 156            <td bgColor=#ffffff width="717" valign="top" align="center" height="10" colspan="3">
 157  
 158  
 159  when showing news, archives you can use <font color="#993300">$number =
 160  <i>x</i>; </font>to limit the to <i>x</i> the number of maximum showed news on
 161  one page. If you use $number, &quot;next &gt;&gt;&quot; link to remaining news
 162  will be displayed.&nbsp;<br>
 163  <br>
 164  if you want to show news, archives from certain category you can use <font color="#993300">$category
 165  = &quot;ID&quot;; </font>where ID is the id of the category, you can choose and more that
 166  one category like this: <font color="#993300">$category =
 167  &quot;ID1,ID2,ID3&quot;;</font><br />
 168  <br />
 169  when you want to display news and headlines on one page for example, and want when a headline
 170  is clicked, the article to be displayed on the place of the news you must use <font color="#993300">$static
 171  = TRUE; </font>before including headlines.
 172  
 173              </td>
 174          </tr>
 175          <tr>
 176            <td bgColor=#ffffff width="717" valign="top" align="center" height="10" colspan="3">
 177  
 178  
 179  &nbsp;
 180  <p><b>Showing Active News</b>
 181  
 182              </td>
 183          </tr>
 184          <tr>
 185            <td bgColor=#ffffff width="20%" valign="top" align="center" height="10">
 186  
 187  
 188  &nbsp;
 189  
 190              </td>
 191            <td bgColor=#EDF1F8 width="326" valign="top" align="center" height="10">
 192  
 193  
 194  <p align="left">&lt;?PHP<br />
 195  &nbsp;include(&quot;path/to/show_news.php&quot;);<br />
 196  ?&gt;
 197  
 198              </td>
 199            <td bgColor=#ffffff width="20%" valign="top" align="center" height="10">
 200  
 201  
 202  &nbsp;
 203  
 204              </td>
 205          </tr>
 206          <tr>
 207            <td bgColor=#ffffff width="717" valign="top" align="left" height="6" colspan="3">
 208  
 209  
 210  &nbsp;
 211  <p align="center"><b>Showing with Different Template</b>
 212  
 213              </td>
 214          </tr>
 215          <tr>
 216            <td bgColor=#ffffff valign="top" align="center" height="8">
 217  
 218  
 219  &nbsp;
 220  
 221              </td>
 222            <td bgColor=#EDF1F8 width="329" valign="top" align="left" height="8">
 223  
 224  
 225  &lt;?PHP<br>
 226  &nbsp;$template = &quot;YOUR_TEMPLATE_NAME&quot;;<br />
 227  &nbsp;include(&quot;path/to/show_news.php&quot;);<br />
 228  ?&gt;
 229  
 230              </td>
 231            <td bgColor=#ffffff valign="top" align="left" height="8">
 232  
 233  
 234  &nbsp;
 235  
 236              </td>
 237          </tr>
 238          <tr>
 239            <td bgColor=#ffffff width="717" valign="top" align="left" height="7" colspan="3">
 240  
 241  
 242  &nbsp;
 243  <p align="center"><b>Showing Archives</b>
 244  
 245              </td>
 246          </tr>
 247          <tr>
 248            <td bgColor=#ffffff valign="top" align="center" height="6">
 249  
 250  
 251  &nbsp;
 252  
 253              </td>
 254            <td bgColor=#EDF1F8 width="330" valign="top" align="left" height="6">
 255  
 256  
 257  &lt;?PHP<br />
 258  &nbsp;include(&quot;path/to/show_archives.php&quot;);<br />
 259  ?&gt;
 260  
 261              </td>
 262            <td bgColor=#ffffff valign="top" align="left" height="6">
 263  
 264  
 265  &nbsp;
 266  
 267              </td>
 268          </tr>
 269          <tr>
 270            <td bgColor=#ffffff width="717" valign="top" align="left" height="10" colspan="3">
 271  
 272  
 273  &nbsp;
 274  <p align="center"><b>Showing 5 Latest News</b>
 275  
 276              </td>
 277          </tr>
 278          <tr>
 279            <td bgColor=#ffffff valign="top" align="center" height="6">
 280  
 281  
 282  &nbsp;
 283  
 284              </td>
 285            <td bgColor=#EDF1F8 width="330" valign="top" align="left" height="6">
 286  
 287  
 288  &lt;?PHP<br />
 289  &nbsp;$number = &quot;5&quot;;<br />
 290  &nbsp;include(&quot;path/to/show_news.php&quot;);<br />
 291  ?&gt;
 292  
 293              </td>
 294            <td bgColor=#ffffff valign="top" align="left" height="6">
 295  
 296  
 297  &nbsp;
 298  
 299              </td>
 300          </tr>
 301          <tr>
 302            <td bgColor=#ffffff width="717" valign="top" align="left" height="6" colspan="3">
 303  
 304  
 305  &nbsp;
 306  <p align="center"><b>Showing 5 News from Category with ID 2&nbsp;</b>
 307  
 308              </td>
 309          </tr>
 310          <tr>
 311            <td bgColor=#ffffff valign="top" align="center" height="4">
 312  
 313  
 314  &nbsp;
 315  
 316              </td>
 317            <td bgColor=#EDF1F8 width="330" valign="top" align="left" height="4">
 318  
 319  
 320  &lt;?PHP<br />
 321  &nbsp;$number = &quot;5&quot;;<br>
 322  &nbsp;$category = &quot;2&quot;;<br />
 323  &nbsp;include(&quot;path/to/show_news.php&quot;);<br />
 324  ?&gt;
 325  
 326              </td>
 327            <td bgColor=#ffffff valign="top" align="left" height="4">
 328  
 329  
 330  &nbsp;
 331  
 332              </td>
 333          </tr>
 334          <tr>
 335            <td bgColor=#ffffff width="717" valign="top" align="left" height="2" colspan="3">
 336  
 337  
 338  &nbsp;
 339  
 340  <p align="center"><b>Showing All Headlines And The 1 Latest News Article&nbsp; On
 341  One Page</b>
 342  
 343              </td>
 344          </tr>
 345          <tr>
 346            <td bgColor=#ffffff valign="top" align="center" height="7">
 347  
 348  
 349  &nbsp;
 350  
 351              </td>
 352            <td bgColor=#EDF1F8 width="330" valign="top" align="center" height="7">
 353  
 354  
 355  <p align="left">
 356  
 357  
 358  &lt;?PHP<br />
 359  &nbsp;$static = TRUE;<br>
 360  &nbsp;$template = &quot;Headlines&quot;;<br />
 361  &nbsp;include(&quot;path/to/show_news.php&quot;);<br />
 362  <br />
 363  &nbsp;$number = &quot;1&quot;;<br />
 364  &nbsp;include(&quot;path/to/show_news.php&quot;);<br />
 365  ?&gt;
 366  
 367              </td>
 368            <td bgColor=#ffffff valign="top" align="center" height="7">
 369  
 370  
 371  &nbsp;
 372  
 373              </td>
 374          </tr>
 375          <tr>
 376            <td bgColor=#ffffff width="711" valign="top" align="center" height="9" colspan="3">
 377  
 378  
 379  &nbsp;
 380  
 381              </td>
 382          </tr>
 383          <tr>
 384            <td bgColor=#ffffff width="731" valign="top" align="center" height="12" colspan="4">
 385  
 386  
 387  <hr width="70%">
 388  
 389  <p><b>Remember that:</b></p>
 390  <ul>
 391    <li>in all of the above examples you must replace path/to/... to with your
 392      path where you installed CuteNews<br>
 393      and not to use the URL but the path<br>
 394      <font color="#FF0000">WRONG</font>: include(&quot;http://site.com/cutenews/show_news.php);<br>
 395      <font color="#008000">CORRECT</font>: include(&quot;cutenews/show_news.php);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</li>
 396    <li>in most cases when you include news and headlines in one page, you must
 397      use <font color="#993300">$static = TRUE; </font>.</li>
 398    <li>when you use $number, $category, $template or any other variable, it must
 399      be BEFORE include(&quot;show_news.php&quot;);</li>
 400    <li>if you have any problems, you can always go to our support forums and
 401      we'll be more than glad to help you<br />
 402      &nbsp;</li>
 403  </ul>
 404  
 405              </td>
 406          </tr>
 407          <tr>
 408            <td bgColor=#C2E4DB width="731" valign="top" align="center" height="4" colspan="4">
 409  
 410  
 411  <p align="left"><b><font size="2">&nbsp;Help &amp; Support</font></b>
 412  
 413              </td>
 414          </tr>
 415          <tr>
 416            <td bgColor=#ffffff width="16" valign="top" align="center" height="9">
 417  
 418  
 419  &nbsp;
 420  
 421              </td>
 422            <td bgColor=#ffffff width="715" valign="top" align="center" height="9" colspan="3">
 423  
 424  
 425  <p align="left">If you have some problems with CuteNews you can go to our<a href="http://cutephp.com/forum/" target="_blank">
 426  support forum</a>.<br>
 427  But before posting your problem on our forums, please look at the included Help
 428  Documentation with CuteNews. You can access it through CuteNews &gt; Help &gt; CuteNews internal Help Documentation
 429  
 430              </td>
 431          </tr>
 432          </tbody></table></td></tr></tbody></table>
 433  </body></html>


[ Powered by PHPXref - Served by Debian GNU/Linux ]