Welcome, Guest. Please Login or Register.
November 06, 2024, 07:39:06 AM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  English User Help  |  English Help  |  Yabbse inserting into my url in template? « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Yabbse inserting into my url in template?  (Read 595 times)
Mike H.
Noobie
*
Posts: 18


I'm a llama!

Yabbse inserting into my url in template?
« on: April 14, 2003, 05:21:07 PM »
Reply with quote

Hi, I've added some HTML to the template to match the layout of our site and when you click on the links on the navigation bar, yabbse gets automatically added to the url and which in turn brings up a The page cannot be found

I can not figure out how to get YaBBSE to stop doing this ???


TIA

MH
« Last Edit: April 15, 2003, 06:14:59 PM by Mike H. » Logged
TheJkWhoSaysNi
YaBB God
*****
Posts: 1025


I dont know what to put here, i'll leave it blank.

ICQ - 122821095TheJkWhoSaysNi@evilemail.com WWW
Re:Yabbse inserting into my url in template?
« Reply #1 on: April 14, 2003, 05:31:04 PM »
Reply with quote

its because you've linked to "HTML/page.html" link to "../HTML/page.html".
Logged

WARNING: THIS POST MAY CONTAIN TRACES OF PEANUT!!!
I'm listening to....
Mike H.
Noobie
*
Posts: 18


I'm a llama!

Re:Yabbse inserting into my url in template?
« Reply #2 on: April 14, 2003, 05:38:03 PM »
Reply with quote

Still pretty new to this, so where do I go to change that?

TIA
Logged
TheJkWhoSaysNi
YaBB God
*****
Posts: 1025


I dont know what to put here, i'll leave it blank.

ICQ - 122821095TheJkWhoSaysNi@evilemail.com WWW
Re:Yabbse inserting into my url in template?
« Reply #3 on: April 14, 2003, 05:54:52 PM »
Reply with quote

in your template where the link is "HTML/Whatever.html" change it to "../HTML/Whatever.html"
Logged

WARNING: THIS POST MAY CONTAIN TRACES OF PEANUT!!!
I'm listening to....
Mike H.
Noobie
*
Posts: 18


I'm a llama!

Re:Yabbse inserting into my url in template?
« Reply #4 on: April 15, 2003, 06:15:56 PM »
Reply with quote

Thank  you, not sure why doing that fixes it but thank you, thank you.

Mike H.
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Yabbse inserting into my url in template?
« Reply #5 on: April 15, 2003, 06:24:30 PM »
Reply with quote

Quote from: Mike H. on April 15, 2003, 06:15:56 PM
Thank  you, not sure why doing that fixes it but thank you, thank you.

Mike H.

Because using HTML/etc is using a relative URL.  Since YaBB SE resides in the yabbse folder, it's RELATIVE to that.

Basically, it adds that on to the current URL... so, on your site it was: http://www.mydomain.com/ + HTML/dsf... but on the forum it is http://www.mydomain.com/yabbse/ + HTML/dsf.

See?  This is actually something your web browser does.

-[Unknown]
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  Yabbse inserting into my url in template? « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.048 seconds with 20 queries.