» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 51
0 members and 51 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 Changing Layout in blocks Etc.. within the Site design forums, part of the General category; Hello l hope this is a simple task but lm just not able to find any solution to the Queston. ...


Go Back   Nukemods Forum » General » Site design

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-10-2003, 07:28 PM
dds dds is offline
Junior Member
 
Join Date: Feb 2003
Posts: 14
Changing Layout in blocks Etc..
Hello l hope this is a simple task but lm just not able to find any solution to the Queston.

Question 1 have is this l would like to set up some of the blocks with background color's or picture's is this possible and if so where do l add the little timbit of code or what do l need to add for code l have seen a few like allowing html to be included is one and the echo is another .

Question 2 is l would much rather have a title image instead of the FAQ text that shows for example or changing the background l know l can change what it says by altering the lang-file that it is associated with but is there away to draw images or background color's into play for a more customizable Nuke site .

Any help or feed back would be appreciated thanks
dds
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 03-10-2003, 09:34 PM
Senior Member
 
Join Date: Sep 2002
Posts: 2,905
1. Create a custom block using HTML.
Add you own links, images, background image, etc. Go to Nuke Admin, blocks. Theer is a place toward the middle bottom of that page where you add/create blocks. There is a place the paste the HTML, or whatever. You'll see it

2. Learn by example 8)
Ok, you want to add an image to the FAQ instead of the title it displays. hmm...well, you know that the Downloads module showas an image...so let's look at it's index.php file and find where it calls that down-logo.gif image. woot-jackpot..you'll find it if you look. 8)
Use that bit of code.
Look in your index.php for your FAQ module. Find where it calls the title FAQ. Paste your "borrowed" piece of code in there where you think it might work. Using an image in the respective directory of the "path" of course :-)

mikem
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-13-2003, 02:48 PM
Junior Member
 
Join Date: Mar 2003
Posts: 3
And how about in the Forum module?
Could you help me find the code that's setting up the top table in the forum? I'd like to have a graphic instead of SiteName :: Forums. Have SubSilver, of course.

Any help would be greatly appreciated.

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 03-13-2003, 03:04 PM
Senior Member
 
Join Date: Sep 2002
Posts: 2,905
Re: And how about in the Forum module?
Originally Posted by ebizworks
Could you help me find the code that's setting up the top table in the forum? I'd like to have a graphic instead of SiteName :: Forums. Have SubSilver, of course.

Any help would be greatly appreciated.

Thanks
What version of Nuke?

mikem
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 03-13-2003, 03:20 PM
Junior Member
 
Join Date: Mar 2003
Posts: 3
Sorry about that ...
My apologies, thought I included that, duh.... PHP-Nuke-6.5RC2 file
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 03-13-2003, 03:33 PM
Senior Member
 
Join Date: Sep 2002
Posts: 2,905
Well, I know where that title table is called from and how to remove it from the Forums, but I do not know hwo to make it display an image..should be easy enough though.

The code is here

look in includes/page_header.php
Code:
    title("$sitename: $mod_name");

AH HA...
ok try changing that above line to this
Code:
    title("<img src=\"images/logo.gif\"");
change the image to the image you have that you want displayed. Upload the image to your main images folder.

I do know if you remove or comment out that line, the that title table in the Forums in Nuke6.5 will be removed.

mikem
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 03-13-2003, 04:31 PM
Junior Member
 
Join Date: Mar 2003
Posts: 3
To make it module-specific...
To keep page_header a variable though, could I do this:


Code:
title("<img src=\"modules/$nameofmodule/images/whatever.gif\"");
Is includes/page_header used for any other module?

Again, thanks so much for your help!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 03-13-2003, 04:37 PM
Senior Member
 
Join Date: Sep 2002
Posts: 2,905
Yeah that should work. I think the only other modules that have that table displayed above them is the Memberlist and Private messages and the Forums.

mikem
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
xp midnight broken layout - need some assistance please Protos1 Theme packs 24 12-23-2006 08:32 PM
Layout suggestion Recercare Theme packs 4 05-31-2005 02:33 AM
MsTrenches -- Layout [HELP PLEASE] Tiger_2005BR Theme packs 3 03-09-2005 06:45 PM
AA layout Someone Theme pack requests 0 11-20-2004 04:33 AM
Code Hack: Diff Block Layout For Right & Left Blocks Audioslaved Site design 7 07-10-2004 06:50 PM


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