» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 47
3 members and 44 guests
asteikuw, daucceems, Duke
Most users ever online was 611, 03-21-2008 at 10: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 Customizing content table within the Open topics forums, part of the General category; Hi all, Im customizing my theme and I cant seem to get my content tables customized. Lemme try to explain ...



Go Back   Nukemods Forum » General » Open topics

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-11-2003, 06:28 PM
Junior Member
 
Join Date: May 2003
Posts: 31
Customizing content table
Hi all, Im customizing my theme and I cant seem to get my content tables customized. Lemme try to explain what Im doing, I want the content table to consist of 3 row (top row- with a image background, middle row solid color and bottom row a background image) Ive done this with no problem for my blocks, story home and story page tables but am having real probs with the content tables Any help would be greatly appreciated. Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 07-12-2003, 05:48 PM
Junior Member
 
Join Date: May 2003
Posts: 31
bumping up in hopes of a reply
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-13-2003, 04:14 AM
Moderator
 
Join Date: Nov 2002
Location: Belgium
Posts: 957
edit the tables.php in your theme folder. It seems you know some html so you wll understand the coding there
__________________
Yannick R. aka Mighty_Y
http://support.code-area51.com
http://www.code-area51.com

Search before asking makes my life easier!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 07-17-2003, 10:14 PM
Junior Member
 
Join Date: May 2003
Posts: 31
yea I understand html but dont understand tables.php it has like 7 tables in there and I cant tell when table contains the content etc. I just need to convert that to a 3 row table can someone make a dummie file with the html code for a 3 row table and Ill customize it from there?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 07-19-2003, 11:17 PM
Junior Member
 
Join Date: May 2003
Posts: 31
:cry:
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 07-20-2003, 03:17 AM
Moderator
 
Join Date: Nov 2002
Location: Belgium
Posts: 957
let me explain, but modifications are for you I don't have time for that
Code:
function OpenTable() {
    global $bgcolor1, $bgcolor2;
    echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"7\">";
  echo "<tr>";
    echo"<td><table width=\"100%\" border=\"0\" cellpadding=\"2\" cellspacing=\"0\" bgcolor=\"363636\">
        <tr>
          <td><table width=\"100%\" border=\"0\" cellpadding=\"1\" cellspacing=\"0\" bgcolor=\"000000\">
              <tr>
                <td><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
                    <tr>
                      <td bgcolor=\"#000000\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"4\">
                          <tr>
                            <td>";
}
after this code you get the content and after the content all the tables get closed by this
Code:
function CloseTable() {
    echo "</td>
                          </tr>
                        </table></td>
                    </tr> 
                  </table></td>
              </tr>
            </table></td>
        </tr>
      </table></td>
  </tr>
</table>";
}
So if you want to mod the table you'll have to adjust these two functions, they are html so it shouldn't be to difficult to adjust it
__________________
Yannick R. aka Mighty_Y
http://support.code-area51.com
http://www.code-area51.com

Search before asking makes my life easier!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 07-20-2003, 10:47 PM
Junior Member
 
Join Date: May 2003
Posts: 31
I tried a million times and just cant get it. heres the html of the content table I want if someone could cut and paste into a working tables.php I would be greatly appreciated.
Code:
<table border="0" cellpadding="0" cellspacing="0" width="100%">
  <tr>
    <td background="http://www.mysite.com/top.gif" height="37"></td>
  </tr>
  <tr>
    <td bgcolor="#B7B7B7">CONTENT TO GO HERE</td>
  </tr>
  <tr>
    <td background="http://www.mysite.com/bottom.gif" height="43"></td>
  </tr>
</table>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 07-21-2003, 12:57 AM
Junior Member
 
Join Date: Apr 2003
Posts: 81
tested and working

Code:
function OpenTable() {
    global $bgcolor1, $bgcolor2;
?>
<table border="0" cellpadding="0" cellspacing="0" width="100%"> 
  <tr> 
    <td background="http://www.mysite.com/top.gif" height="37"></td> 
  </tr> 
  <tr> 
    <td bgcolor="#B7B7B7">
<?
}
Code:
function CloseTable() {
?>
    </td> 
  </tr> 
  <tr> 
    <td background="http://www.mysite.com/bottom.gif" height="43"></td> 
  </tr> 
</table>
<?
}
__________________
Think all nukes look the same?
=) Think again. www.mtechnik.net
Public / commercial themes
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 07-21-2003, 01:54 AM
Junior Member
 
Join Date: May 2003
Posts: 31
thanks Mtechnik
one last q though, sorry to bug but theres no border between the content table and modules (view screenshot) how can I get one there? thanks tons!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 07-21-2003, 02:08 AM
Junior Member
 
Join Date: Apr 2003
Posts: 81
in your style.css you can always add a td class, example

Code:
TD.contentbox {
	border: 1px solid; 
border-color:#FFFFFF #949494 #949494 #FFFFFF; 
}
then in your opentable you would just add the class like

Code:
function OpenTable() { 
    global $bgcolor1, $bgcolor2; 
?> 
<table border="0" cellpadding="0" cellspacing="0" width="100%"> 
  <tr> 
    <td background="http://www.mysite.com/top.gif" height="37"></td> 
  </tr> 
  <tr> 
    <td  class="contenbox" bgcolor="#B7B7B7"> 
<? 
}
__________________
Think all nukes look the same?
=) Think again. www.mtechnik.net
Public / commercial themes
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
Problem with adding content via Content Manager Cypher_489 Nuke 7.x - General 1 10-04-2005 11:39 AM
customizing the news module homotron Nuke 7.x - Modules 2 11-14-2004 11:12 AM
Customizing new user Registration XtraX Site design 1 05-02-2003 12:28 AM
HOw to: Link one content page to another content page? IACOJ Purged Topics 5 02-12-2003 02:58 PM
How to add a table? zlaxzzor Purged Topics 3 11-21-2002 07:59 PM


All times are GMT -5. The time now is 02:11 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