» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 63
0 members and 63 guests
No Members online
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
Web Hosting - web hosting, dedicated servers and web design services
Online Degree - search for 1000+ online degrees, online colleges & online universities.
Tattoo - we are a group of tattoo enthusiasts
Gexa Energy - your absolute best choice in electric service
Texas electricity - save on electric rates
Football Betting - best nfl betting promotions at sportsbook.com.
Oral Chelation - initial cleansing of your veins & arteries
Portatiles - Ofertas en Ordenadores y Portatiles. Increibles Ofertas DELL.

Register Now! Contact Us

About this Page
This is a discussion on News on PHP-Nuke within the Site design forums, part of the General category; Ok...you know how some PHP-Nuke sites have the news layout with the title of the article on top ...


Go Back   Nukemods Forum » General » Site design

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-25-2003, 12:13 AM
Junior Member
 
Join Date: Mar 2003
Posts: 15
News on PHP-Nuke
Ok...you know how some PHP-Nuke sites have the news layout with the title of the article on top and then 'Posted by [user] on [date]'...? I'm just wondering how that's done because most site's have that in the news footer.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 03-25-2003, 03:42 PM
Senior Member
 
Join Date: Sep 2002
Posts: 2,905
You do that by moving that bit of code in your theme story function to where you want it.

Pre-requisites.
You need to know how to modify PHP and html to an exent in order to do it.

mikem
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-25-2003, 04:39 PM
Junior Member
 
Join Date: Mar 2003
Posts: 1
Wow...I wanna know how to do that.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 03-25-2003, 06:28 PM
Member
 
Join Date: Nov 2002
Location: Michigan, USA
Posts: 359
Send a message via AIM to ReNeGaDe
you pretty much learn how to do it by experience. i know how to rearrange lots of PHP code, but i sure as hell dont know PHP. just by messing with it, you can learn alot.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 03-25-2003, 07:12 PM
Junior Member
 
Join Date: Mar 2003
Posts: 15
Er...I think I did it... I took the original forumnewsbody.tpl and replaced the whole thing with this:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{S_CONTENT_DIRECTION}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
<meta http-equiv="Content-Style-Type" content="text/css">
{META}
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<link rel="stylesheet" href="modules/Forums/templates/{THEME_SEL}/{THEME_SEL}.css" type="text/css">
</head>
<body bgcolor="#FFFFFF"  marginwidth="10" marginheight="0" topmargin="0" leftmargin="10" 
rightmargin="10" bottommargin="10">
<a name="top"></a>


<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<th align="left" height="25"><font class="block-title">{fetchpost_row.TITLE}</font></td>
  

  <span class="gensmall">{L_POSTED_BY} {fetchpost_row.POSTER} {L_ON}
  {fetchpost_row.TIME} </span>
</tr>
<tr>
<td class="row1" align="left"><span class="gensmall" 
style="line-height:150%">{fetchpost_row.TEXT}</span></td>
</tr>
<tr>
<td class="catbottom" align="left" height="24"><span class="gensmall">View Comments ({fetchpost_row.REPLIES}) | Post Comments</span></td>
</tr>
</table>
Thanks for your help anyway, people.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Thumbnail image in News post PHP more than Nuke question MurphDog Open topics 0 08-10-2003 12:13 AM
Nuke News Hack XtremeMotocross Open topics 2 08-08-2003 08:08 PM
PHP Nuke News in MIRC KennyWenell Open topics 2 07-05-2003 12:15 AM
NSN-Nuke news item ads nukemods.com 2 06-14-2003 02:22 AM
Group News MOD for PHP-Nuke 6.5 + NSN Groups 650 Locutus Nuke 6.5 to 6.9 - Modules 0 05-19-2003 06:32 AM


All times are GMT -5. The time now is 04:10 AM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.

LinkBacks Enabled by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31