 | |  | | | ReviewPost Installation & Upgrades If you're having problems getting ReviewPost Pro to work or receiving errors while running RP, seek help here. |
July 26th, 2004, 03:47 AM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Jan 2004 Location: Irving, TX
Posts: 35
| Header problem
I just installed RP version 2.8d from scratch. Everything went fine accept that when I click on a category...my header does not show up right. I am using header.htm. I changed the file to include a few tables that holds some logo and naviagtion images. Thats all.
The header shows up well in all the things I click on just that the categories, in my case, the default main, and a category is not working.
What could be wrong. Example....when I click on "a category" which is my 2nd category, it takes me to the deatails page fine. But the header images do not show up, I checked the properties of the images. It shows the page is looking for the images in "http://www.domainname.com/reviews/showcat.php/cat/2"
NOW my images are located in a different folder. which is working for all the other things.
Please help ASAP
Last edited by hasan2k; July 27th, 2004 at 11:20 PM.
|
| |
July 27th, 2004, 12:14 AM
|
#2 (permalink)
| | Member Verified Customer
Join Date: Jan 2004 Location: Irving, TX
Posts: 35
|
Can I get some help please?
|
| |
July 27th, 2004, 10:45 AM
|
#4 (permalink)
| | Member Verified Customer
Join Date: Jan 2004 Location: Irving, TX
Posts: 35
| Quote: |
Originally Posted by donb | Using header.htm gave me some problem with alighnment, so I went ahead and decided to use the header-inc.php instead. Same problem persists. What I dont understand is if I use the VBULLETIN Header, why do I even have to change anything.
Can you be a little more clear? Please explain in details
The strangest thing is...every page except for category pages dont show the header right.
Last edited by hasan2k; July 27th, 2004 at 10:51 AM.
|
| |
July 27th, 2004, 10:55 AM
|
#5 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,802
|
Don told you how to correct this. You are using relative urls in your header
What happens is your say putting say an image in
photopost/images/header.jpg
well your path in your header is /images/header.jpg instead of http://www.domain.com/photopost/images/header.jpg
so what happens is it may view fine over the main photopost index however if you just to another category etc the path is no longer correct in the url.
Same holds true for VB. They have a bug in their code they refuse to fix. Instead of placing a Global url statement in front of everything like we do $Globals['maindir'] they just use relative urls. Per the VB3 Integration FAQ posted at the top of the forum you must edit several VB templates to correct this issue if you want to run a header from another directory ( your forum ) over another directory ( photopost ) so that all images and url tags parse right.
|
| |
July 27th, 2004, 11:07 AM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Jan 2004 Location: Irving, TX
Posts: 35
| Quote: |
Originally Posted by omegatron Don told you how to correct this. You are using relative urls in your header
What happens is your say putting say an image in
photopost/images/header.jpg
well your path in your header is /images/header.jpg instead of http://www.domain.com/photopost/images/header.jpg
so what happens is it may view fine over the main photopost index however if you just to another category etc the path is no longer correct in the url.
Same holds true for VB. They have a bug in their code they refuse to fix. Instead of placing a Global url statement in front of everything like we do $Globals['maindir'] they just use relative urls. Per the VB3 Integration FAQ posted at the top of the forum you must edit several VB templates to correct this issue if you want to run a header from another directory ( your forum ) over another directory ( photopost ) so that all images and url tags parse right. | OK I did that and it fixed the problem. Thanks
|
| |
July 27th, 2004, 12:46 PM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Jan 2004 Location: Irving, TX
Posts: 35
|
I have to do one more thing. How do I get the header to occupy the whole upper part of the page?
In my webpage there are gaps on the top, left and right side. How do I not have any gaps? Is it a template change?
Please let me know How i can fix it.
Last edited by hasan2k; July 27th, 2004 at 11:20 PM.
|
| |
July 27th, 2004, 01:09 PM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,802
|
Gaps where?
I know your header with no gaps from the sides or top.
Make sure you also set forum integration to yes and also make sure to read the VB3 FAQ as I see you still have not corrected your java paths in the header include template of VB |
| |
July 27th, 2004, 01:19 PM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Jan 2004 Location: Irving, TX
Posts: 35
|
Java path? Where is Java Path in the header-in.php. I dont see any java path.
Also...as you can see from the review page, the footer isnt shoing up correctly
Do I have to change the footer template too. I am gonna try that now anyways. One more thing, I dont want to use VB style sheet...I like the one with RP. Can I use the RP default.css?
Last edited by hasan2k; July 27th, 2004 at 01:22 PM.
|
| |
July 27th, 2004, 01:26 PM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Jan 2004 Location: Irving, TX
Posts: 35
| Quote: |
Originally Posted by hasan2k Java path? Where is Java Path in the header-in.php. I dont see any java path.
Also...as you can see from the review page, the footer isnt shoing up correctly
Do I have to change the footer template too. I am gonna try that now anyways. One more thing, I dont want to use VB style sheet...I like the one with RP. Can I use the RP default.css? |
OK I have changed the footer. Now every image is showing right. Now the remianing question....can i use the deafult css in RP instead of VB Style Sheet
|
| |
July 27th, 2004, 02:29 PM
|
#11 (permalink)
| | Member Verified Customer
Join Date: Jan 2004 Location: Irving, TX
Posts: 35
| Quote: |
Originally Posted by hasan2k OK I have changed the footer. Now every image is showing right. Now the remianing question....can i use the deafult css in RP instead of VB Style Sheet | Any answer... I am still here waiting.
|
| |
July 27th, 2004, 09:16 PM
|
#12 (permalink)
| | Member Verified Customer
Join Date: Jan 2004 Location: Irving, TX
Posts: 35
| Quote: |
Originally Posted by hasan2k OK I have changed the footer. Now every image is showing right. Now the remianing question....can i use the deafult css in RP instead of VB Style Sheet | Can you help? I tried setting the OPTIONS "Use Integrated forum stylesheets?" to NO but it doesnt use any style sheet. I want it to use deafult style sheet that comes with RP.
Thanks
|
| |
July 27th, 2004, 09:25 PM
|
#13 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,802
|
Because the header-inc is designed to be used solely for those wishing to use forum style integration.
The easiest thing to do is to not use the header-inc.php as I do not see the reason behind including a header footer and navbar of a certain style and not using that same style for the main body of the page but if you insist you would need to add a link statement to a stylesheet in there.
In Header-inc.php
find this
<head>
below it add this
<link rel=\"stylesheet\" href=\"/photopost/stylesheets/default.css\" type=\"text/css\" />
Make sure to type the exact photopost directory name instead of photopost if it is different and change the stylesheet if it is not the default.css
|
| |
July 27th, 2004, 11:19 PM
|
#14 (permalink)
| | Member Verified Customer
Join Date: Jan 2004 Location: Irving, TX
Posts: 35
| Quote: |
Originally Posted by omegatron Because the header-inc is designed to be used solely for those wishing to use forum style integration.
The easiest thing to do is to not use the header-inc.php as I do not see the reason behind including a header footer and navbar of a certain style and not using that same style for the main body of the page but if you insist you would need to add a link statement to a stylesheet in there.
In Header-inc.php
find this
<head>
below it add this
<link rel=\"stylesheet\" href=\"/photopost/stylesheets/default.css\" type=\"text/css\" />
Make sure to type the exact photopost directory name instead of photopost if it is different and change the stylesheet if it is not the default.css |
Splendid. It works nicely. Now my RP is very well sync-ed with my whole site.
Thanks for all your help. You guys have been great.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 12:41 PM. | |