![]() |
|
|
Thread Tools |
|
#1
|
||||
|
||||
|
I have tried every possible combination of trying to get this done and have got close, but it still isn't working correctly.
What I want to do is include my auction site, which can be viewed here: http://www.generalaviationonline.com/auction/ into a separate PHP file that I have created that was integrated into the navbar mod & used the How to create your own VB page article. So my file, which is auction.php contains the following code:
While this is the closest code (which is highlighted in red) that I have been able to use to somewhat do what I want, when it outputs the auction site, it doesn't load it in between: vb:raw navbar & vb:raw footer, instead it displays it at the very top of the page (see attachment photo) and it doesn't even load all the images. Any ideas what I need to do? I would even pay someone to help me fix it. Thanks! No members have liked this post.
|
||||
|
#2
|
||||||||
|
||||||||
|
Two things, why not just put the code into the page instead of this line:
And secondly, you cannot use echo when spitting out something to a template. You need to assign the output to a variable and then spit out the variable in the template.
__________________
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools - Online vBulletin Manual If I post some CSS and don't say where it goes, put it in the additional.css template. I will NOT help via PM (you will be directed to post in the forums for help.) No members have liked this post.
|
||||||||
|
#3
|
||||
|
||||
|
I didn't think about placing the code directly in the php file. Where do you feel is a good place for the code? Where I had the echo command?
And the second part is over my skill level. Thanks for the quick input. Here is the code from my index file for the auction site, I know that I will need to add "auction/" in front of most of the directories so that it will be able to find it, but I will probably need a little help combining both php files, if someone could help me, I would be indebted to you! ![]()
No members have liked this post.
Last edited by davis31b : 12 Dec 2011 at 00:06. |
||||
|
#4
|
||||
|
||||
|
I basically wrote the second part of the code for you. Cellarius wrote a really good article that you may be interested in - [vB4] Rendering templates and registering variables - a short guide That will help you understand that part of the code.
I would still not do it your way. I'd just include the code in the php file instead of in an outsite file, but that is up to you.
__________________
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools - Online vBulletin Manual If I post some CSS and don't say where it goes, put it in the additional.css template. I will NOT help via PM (you will be directed to post in the forums for help.) No members have liked this post.
|
|
#5
|
||||
|
||||
|
Originally Posted by Lynne
Okay, I tried this.. not working, I just want to pay someone!
No members have liked this post.
|
||||
|
#6
|
||||
|
||||
|
You are welcome to post in the Requests For Paid Services if that is what you want.
__________________
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools - Online vBulletin Manual If I post some CSS and don't say where it goes, put it in the additional.css template. I will NOT help via PM (you will be directed to post in the forums for help.) No members have liked this post.
|
|
#7
|
|||
|
|||
|
I have posted this in the PAID services area and am looking for a design similar to this screenshot I edited:
![]() No members have liked this post.
|
![]() |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
| Thread Tools | |
|
|
| New To Site? | Need Help? |
All times are GMT. The time now is 10:49.





