You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 86 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - simple question.. [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.printer-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
New guest
Guest






PostPosted: Sun Jun 08, 2003 5:19 am Reply with quoteBack to top

How, can I on the main page get this--

Posted by admin on Saturday, May 17 @ 14:33:16 EDT (4 reads)
(Read More... | 1 comment | | Score: 0)

to line up in the center of news topics rather than line up on the right? I know how to fix just don't know what file to edit.

Thanks,
Mark
Find all posts by Anonymous
Cyberclark
Elite Nuker
Elite Nuker


Joined: Nov 20, 2002
Posts: 237


PostPosted: Sun Jun 08, 2003 7:46 am Reply with quoteBack to top

This is controlled by your theme, really just depends on what theme you are using.

In themes folder look for story_home.html

Then look for code that looks like:

Code:

<tr>
  <td nowrap><div>
       <font class="content">$posted</font><br>
       <font class="content">$morelink</font></div></td>
</tr>


In-line find
Code:

<div


In-line add
Code:

align="center"


Final code should look like
Code:

<tr>
    <td nowrap><div align="center">
           <font class="content">$posted</font><br>
           <font class="content">$morelink</font></div></td>
</tr>


At least that is what mine looks like and all that info is centered

Hope that helps.
Make sure to make a backup of any files before editing them just in case!! Wink
Find all posts by CyberclarkView user's profileSend private message
New guest
Guest






PostPosted: Sun Jun 08, 2003 10:51 am Reply with quoteBack to top

This is what I have inside my theme.php This is a NSN_Theme. I don't know if it matters. If any one has time could they please take a look.

Thanks,
Mark
Code:
 echo "<!-- START STORY_HOME.HTML -->\n";
        echo "<table border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=\"$bgcolor6\" width=\"100%\">\n";
        echo "<tr bgcolor=\"$bgcolor2\"><td align=\"left\"><font class=\"option\" color=\"$textcolor1\"><b>$title</b></font></td></tr>\n";
        echo "<tr bgcolor=\"$textcolor4\"><td align=\"left\"><font class=\"content\"><a href=\"modules.php?name=News&file=topics&op=newindex&topic=$topic\"><img src=\"$tipath$topicimage\" border=\"0\" Alt=\"$topictext\" align=\"right\" hspace=\"10\" vspace=\"10\"></a>$content</font></td></tr>\n";
        echo "<tr bgcolor=\"$bgcolor1\"><td align=\"right\"><font class=\"content\">$posted</font><br>\n";
        echo "<font class=\"content\">$morelink</font></td></tr>\n";
        echo "</table><br>\n";
        echo "<!-- END STORY_HOME.HTML -->\n";
Find all posts by Anonymous
Cyberclark
Elite Nuker
Elite Nuker


Joined: Nov 20, 2002
Posts: 237


PostPosted: Sun Jun 08, 2003 11:20 am Reply with quoteBack to top

See this part

Code:

 echo "<tr bgcolor=\"$bgcolor1\"><td align=\"right\"><font class=\"content\">$posted</font><br>\n";
        echo "<font class=\"content\">$morelink</font></td></tr>\n";
        echo "</table><br>\n";
        echo "<!-- END STORY_HOME.HTML -->\n";


Change the
Code:

align=\"right\"

to
Code:

align=\"center\"


That should do it
Find all posts by CyberclarkView user's profileSend private message
New guest
Guest






PostPosted: Sun Jun 08, 2003 11:37 am Reply with quoteBack to top

Thanks! That did it! Thanks for your time.. I was looking at this screen for too long!

Tahnks,
Mark
Find all posts by Anonymous
Display posts from previous:      
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.printer-friendly view
View previous topic Log in to check your private messages View next topic
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.435 Seconds - 267 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::