Help customizing.

gmohr

Joined: 2002-08-15
Posts: 1
Posted: Thu, 2002-08-15 16:58

I am trying to customize the look/feel of Gallery. What I am trying to do is use tables or frames(yuck) to allow me to have our nav bar on the left hand side so that users can jump back and forth from our forums to the galleries... I know it can be done I just haven't figured it out yet.. any sample code would be greatly appreciated..

Gene

 
scottyman
scottyman's picture

Joined: 2002-08-15
Posts: 30
Posted: Thu, 2002-08-15 19:09

which forums are you using? if you're using phpBB 2.x you can use Websnail's module loader so gallery is formatted exactly the same as your forums... if not... then postnuke will probably be the answer! :wink:

 
bigbear

Joined: 2002-08-16
Posts: 11
Posted: Fri, 2002-08-16 05:49

If you are not using phpBB 2.x, then you can just modify the files in the html-wrap folder. Look for files that has the word 'header' (I think) and make a copy of it. Remove the .default extension, modify the HTML code in there and upload it to the same folder on your server. Hope this helps.

 
drewish

Joined: 2002-08-19
Posts: 16
Posted: Mon, 2002-08-19 21:01

Be aware that you won't be able to modify the headers in this manner. It only matters if you're trying to do mouseovers or something similar and need javascript in the headers. I have a template created in DreamWeaver by a friend that looks great and don't want to mess with phpDB or postNuke. I'm going to modify Gallery to use includeHtmlWrap with files (that i'll create) named ./html_wrap/*.head or something similar since Gallery's names conflict (*.header and *.footer would be better as *.top and *.bottom). It'll make including arbitary HTML in the header easier.

Quote:
If you are not using phpBB 2.x, then you can just modify the files in the html-wrap folder. Look for files that has the word 'header' (I think) and make a copy of it. Remove the .default extension, modify the HTML code in there and upload it to the same folder on your server. Hope this helps.

 
WebSnail

Joined: 2002-08-15
Posts: 34
Posted: Fri, 2002-08-23 08:41
Quote:
Be aware that you won't be able to modify the headers in this manner. It only matters if you're trying to do mouseovers or something similar and need javascript in the headers.

I'm curious about this response as the original post request is possible but as I'm guessing you're trying to point out, only if you're not wanting to include anything that needs to be in the header.

Javascript does not need to exist in the header to work as it'll survive quite nicely in the body of the text. There are issues if you're using a browser that qualifies as ancient however so you do need to use comment tags to protect against that issue.

Hope that helps

 
drewish

Joined: 2002-08-19
Posts: 16
Posted: Fri, 2002-08-23 21:52
Quote:
Javascript does not need to exist in the header to work as it'll survive quite nicely in the body of the text. There are issues if you're using a browser that qualifies as ancient however so you do need to use comment tags to protect against that issue.

You're correct. I should have been more specific that it should work with newer browsers but commented in the headers seems to give the most compatible code.

One other thing I later discovered is that if you need javascript in the onload event in the <body> tag you'll have to edit the php by hand. You can't do that in html_wrap files.