
usmanmcn
New User
May 27, 2009, 8:36 AM
Post #1 of 4
(2799 views)
Shortcut
|
|
Need help fast please!
|
Can't Post
|
|
Hi, so im really confused on how to use this program, and i have this code which ill paste here, and need to make it my homepage so when i click www.morningcoffeenews.com it goes straight to that, also i dont know how to link the articles to the site itself so it posts on there... ive been trying to figure it out but cant and i really need your help. Heres the code for my index file, its already under the global index in template editor but nothings happening. here it is: --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Morning Coffee News</title> <meta name="keywords" content="" /> <meta name="Premium Series" content="" /> <link href="premiumseries/default.css" rel="stylesheet" type="text/css" media="screen" /> <link rel="stylesheet" href="$settings.webfolder_url$style/stylesheet.css" type="text/css" /> <link rel="alternate" type="application/rss+xml" title="$my.siteName:textOnly:htmlEncoded$ $my.siteDescription:textOnly:htmlEncoded$" href="$published.globalRSS.webpath$" /> <!-- templateComment --><link href="../../../../webroot/artman2/style/stylesheet.css" rel="stylesheet" type="text/css" /><!-- /templateComment --> </head> <body> <!-- wrap starts here --> <div id="wrap"> <!--header --> <!--#include virtual="$published.siteHeader.webpath$" --> <!-- menu --> <div id="breadcrumb"> <span><a href="$published.globalIndex.url$">$my.homepageName$</a></span> </div> <!-- content-wrap starts here --> <div id="content-wrap"> <div id="sidebar"> <!--#include virtual="$published.globalMenu.webpath$" --> </div><!-- ends "sidebar" --> <div id="main"> <!-- template insert : $articleList$ --> <!-- templatecell : articleRow --> <h1><a href="$published.articlePage.url$">$article.title$</a></h1> <div class="post-cats">Posted in: <!-- template insert : $article.categoryList$ --> <!-- templatecell : categoryRow --> <!-- templateIf: $isLastCategory$ != "1" --> <a href="$published.categoryIndex.url$">$category.name$</a>, <!-- /templateIf --> <!-- templateIf: $isLastCategory$ == "1" --> <a href="$published.categoryIndex.url$">$category.name$</a> <!-- /templateIf --> <!-- /templatecell : categoryRow --> </div> <div class="content"> $article.summary$ </div> <!-- templateIf : $article.attachments$ ne "" --> <p> <b style="color: #666666;">Download attachment(s):</b> <!-- template insert : $article.attachments$ --> <!-- templatecell : article.attachments.row --> [ <a href="$file.webUrl$">$file.title$</a> ] <!-- /templatecell : article.attachments.row --></p> <!-- /templateIf --> <br style="clear: both;" /> <p class="post-footer align-right"> <span class="date">$article.date$</span> <a href="$published.articlePage.url$" class="readmore">Read more</a> </p> <!-- /templatecell : articleRow --> <!-- templateIf : $articleList$ eq "" --> <div class="not_found">Sorry, no articles were found.</div> <!-- /templateIf --> <div id="nextlinks"> <!-- templateIf : $articleList.prevPageNumber$ ne "" --> <div class="prev"> <a href="$settings.searchurl$?action=search&page=$articleList.prevPageNumber$&perpage=$articleList.perpage$&template=$articleList.template$&includeSubcats=$articleList.includeSubcats$"><< prev page</a> </div> <!-- /templateIf --> <!-- templateIf : $articleList.nextPageNumber$ > $articleList.thisPageNumber$ --> <div class="next"> <a href="$settings.searchurl$?action=search&page=$articleList.nextPageNumber$&perpage=$articleList.perpage$&template=$articleList.template$&includeSubcats=$articleList.includeSubcats$">next page >></a> </div> <!-- /templateIf --> </div> <!-- main ends here --> </div> <!-- content-wrap ends here --> </div> <!--#include virtual="$published.siteFooter.webpath$" --> <!-- wrap ends here --> </div> <style type="text/css"> <!-- body,td,th { font-size: x-large; color: #900; } --> </style></head> <body> <!-- start header --> <div id="header"> <div id="logo"> <h4><strong><em>Morning Coffee News</em></strong> <strong>Your source for dependable and updated news </strong></h4> <h4><strong>around the world!</strong><strong></strong></h4> </div> <div id="menu"> <ul id="main"> <li class="current_page_item"><a href="#">Homepage</a></li> <li></li> <li><a href="#">Business Sponsors</a></li> <li><a href="#">About Us</a></li> <li><a href="#">Contact Us</a></li> </ul> <ul id="feed"> <li><a href="#">Entries RSS</a></li> <li><a href="#">Comments RSS</a></li> </ul> </div> </div> <!-- end header --> <div id="wrapper"> <!-- start page --> <div id="page"> <div id="sidebar1" class="sidebar"> <ul> <li> <h2>Recent Posts</h2> <ul> <li></li> <li></li> <li></li> <li></li> <li></li> <li></li> <li></li> <li></li> <li></li> <li></li> </ul> </li> <li> <h2>Recent Comments</h2> <ul> <li></li> <li></li> <li></li> <li></li> <li></li> <li></li> </ul> </li> <li> <h2>News Networks</h2> <ul> <li></li> <li><a href="#"><strong>BBC</strong> (British) </a></li> <li><a href="#"><strong>Reuters</strong></a></li> <li><a href="#"><strong>CNN</strong> (American)</a></li> <li><a href="#"><strong>Spiegel</strong></a></li> <li><a href="#"><strong>Al-Jazeera</strong> (Arab news) </a></li> <li><strong>Times Union</strong> (American) </li> <li><strong>New York Times</strong> (American) </li> <li><strong>Daily Jang</strong> (Pakistan news) </li> <li><strong>Geo</strong> (Pakistan news) </li> <li><strong>Jerusalem Post</strong> (Israel) </li> <li><strong>PNN</strong> (Palestine)</li> <li><strong>Wafa</strong> (Palestine) </li> <li><strong>Gulf News</strong> (UAE news) </li> <li><strong>Khaleej News</strong> (Dubai) </li> <li><strong>German News</strong> (Germany) </li> <li><strong>France 24</strong> (France)</li> <li><strong>Egypt Daily News</strong> (Egypt) </li> <li><strong>BahrainNewsAgency</strong> (Bahrain)</li> <li><strong>AllAfrica</strong> (African)</li> <li><strong>Xinhua News</strong> (China)</li> <li><strong>China Daily</strong> (China)</li> <li><strong>The Times Of India</strong> (India)</li> <li><strong>Hindustan Times</strong> (India)</li> <li><strong>The Japan Times</strong> (Japan)</li> <li><strong>Japan Today</strong> (Japan)</li> <li><strong>Iraqi News</strong> (Iraq)</li> <li><strong>AfghanNewsNetwork</strong> (Afghanistan)</li> <li><strong>The Standard</strong> (Hong Kong)</li> <li><strong>Turkey Daily News</strong> (Turkey)</li> <li><strong>Malaysiakini</strong> (Malaysia)</li> <li><strong>NewsFromBangladesh</strong> (Bangladesh)</li> <li><strong>Nine O'Clock</strong> (Romania)</li> <li><strong>Taiwan News</strong> (Taiwan)</li> <li><strong>Zenit News Agency</strong> (Italy)</li> <li><strong>Athens News</strong> (Greece)</li> <li><strong>Typically Spanish</strong> (Spain)</li> <li><strong>CBC</strong> (Canada)</li> <li><strong>TheGuyanaChronicle</strong> (Guyana)</li> <li><strong>LebanonDailyNews</strong> (Lebanon)</li> <li><strong>Sudan Tribune</strong> (Sudan)</li> <li><strong>Korean News Service</strong> (North Korea)</li> <li><strong>Pravda</strong> (Russia)</li> </ul> </li> </ul> <ul> <li> <h2>Archives</h2> <ul> <li></li> <li></li> <li></li> <li></li> <li></li> </ul> </li> </ul> </div> <!-- start content --> <div id="content"> <div class="flower"><img src="../../Downloads/Documents/mohl recordings/MCN/mcnfinal2.jpg" alt="" width="508" height="130" /></div> <div class="post"> <h3 align="center" class="title"><a href="#">Welcome to Morning Coffee News!</a></h3> <p class="byline"> </p> <div class="entry"> <p> </p> <p class="links"> </p> </div> </div> <div class="post"> <h2 class="title"> </h2> <div class="entry"> <h3> </h3> </div> </div> <div class="post"> <h2 class="title"> </h2> <div class="entry"> <p> </p> </div> </div> </div> <!-- end content --> <!-- start sidebars --> <div id="sidebar2" class="sidebar"> <ul> <li> <form id="searchform" method="get" action="#"> <div> <h2>Site Search</h2> <input type="text" name="s" id="s" size="15" value="" /> </div> </form> </li> <li> <h2>Tags</h2> <p class="tag"> </p></li> <li> <h2 align="left">Calendar</h2> <div id="calendar_wrap"> <table summary="Calendar"> <caption> October 2009 </caption> <thead> <tr> <th abbr="Monday" scope="col" title="Monday">M</th> <th abbr="Tuesday" scope="col" title="Tuesday">T</th> <th abbr="Wednesday" scope="col" title="Wednesday">W</th> <th abbr="Thursday" scope="col" title="Thursday">T</th> <th abbr="Friday" scope="col" title="Friday">F</th> <th abbr="Saturday" scope="col" title="Saturday">S</th> <th abbr="Sunday" scope="col" title="Sunday">S</th> </tr> </thead> <tfoot> <tr> <td abbr="September" colspan="3" id="prev"><a href="#" title="View posts for September 2009">« Sep</a></td> <td class="pad"> </td> <td colspan="3" id="next"> </td> </tr> </tfoot> <tbody> <tr> <td>1</td> <td>2</td> <td>3</td> <td id="today">4</td> <td>5</td> <td>6</td> <td>7</td> </tr> <tr> <td>8</td> <td>9</td> <td>10</td> <td>11</td> <td>12</td> <td>13</td> <td>14</td> </tr> <tr> <td>15</td> <td>16</td> <td>17</td> <td>18</td> <td>19</td> <td>20</td> <td>21</td> </tr> <tr> <td>22</td> <td>23</td> <td>24</td> <td>25</td> <td>26</td> <td>27</td> <td>28</td> </tr> <tr> <td>29</td> <td>30</td> <td>31</td> <td class="pad" colspan="4"> </td> </tr> </tbody> </table> </div> </li> <li> <h2>Global News</h2> <ul> <ul> <ul> <ul> <ul> <ul> <li><a href="#">North America</a></li> <li><a href="#">South America</a></li> <li><a href="#">Europe</a></li> <li><a href="#">Asia</a></li> <li><a href="#">Africa</a></li> <li><a href="#">Australia</a></li> <li></li> </ul> </ul> </ul> </ul> </ul> </ul> </li> </ul> </div> <!-- end sidebars --> <div style="clear: both;"> </div> </div> <!-- end page --> </div> <div id="footer"> <p class="copyright">© 2009 All Rights Reserved • Design by <a href="http://www.freecsstemplates.org/">Free CSS Templates</a>.</p> </div> </body> </html> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ All help would be appreciated, thanks
|