Let me explain. $phpbb_root_path is the relative path to your phpBB installation. One dot means the current directory, two dots means the parent directory. It always needs a slash at the end.
So if your board is in (like we have here), and the file you want to use is in (the webroot), your $phpbb_root_path has to be: .
If your file is in , $phpbb_root_path would have to be: .
If your file is in , $phpbb_root_path has to be: .
I hope you get it.
Advice on site
Forum rules
No phpBB Support in this Forum! If you want support for your forum, go .
No phpBB Support in this Forum! If you want support for your forum, go .
- igorw
- Past Contributor
- Posts: 1967
- Joined: 01 Jun 2006, 20:48
- Real name: Igor [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Advice on site
- we're poor!
Re: Advice on site
Righto, i reckon i should be able to work this out hehe. Fingers crossed.
THinking about it, do i put the html for the navigation in the overall_head.html, and the uniqu CSS for it in the common.css file?
-----
I happen to notice you have a feed on your home page, feeeding topic titles to your homepage. Was this coded by yourself, or was it a mod to export to rss?
thanks again
THinking about it, do i put the html for the navigation in the overall_head.html, and the uniqu CSS for it in the common.css file?
-----
I happen to notice you have a feed on your home page, feeeding topic titles to your homepage. Was this coded by yourself, or was it a mod to export to rss?
thanks again
- igorw
- Past Contributor
- Posts: 1967
- Joined: 01 Jun 2006, 20:48
- Real name: Igor [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Advice on site
The class used to create RSS feeds is custom-coded. It uses phpBB's template system.
- we're poor!
Re: Advice on site
Thats very clever I'm guessing there are no plans for a public realease hehe.
Could you answer my other question, about the html/css of the header please, then i know if i understand it right. :
"do i put the html for the navigation in the overall_head.html, and the uniqu CSS for it in the common.css file?"
Could you answer my other question, about the html/css of the header please, then i know if i understand it right. :
"do i put the html for the navigation in the overall_head.html, and the uniqu CSS for it in the common.css file?"
Re: Advice on site
Keep an eye on us, were back in business..
Re: Advice on site
righto, thats cleared things up for me. cheers.
Re: Advice on site
A little, update. I'm just waiting on a coder to code my header, but this is what i have so far:
[img]http://i35.tinypic.com/rmo9rn.jpg[/img]
OR
[img]http://i34.tinypic.com/fblr9w.jpg[/img]
Haven't decided which yet, properbly the rising sun one.
[img]http://i35.tinypic.com/rmo9rn.jpg[/img]
OR
[img]http://i34.tinypic.com/fblr9w.jpg[/img]
Haven't decided which yet, properbly the rising sun one.
Re: Advice on site
Right, ok. I coded the navigation. But i have two quries.
1) I have a button which displays 'login' and one wich says 'logout' for the navigation, how can i add a <if> variable to it, more to the point, what variable do i need?
2) how can i get arid of the line gap in between the top of the banner, and bottom of the navigation.
Board: http://dsminded.com/community
Cheers. -Clive
1) I have a button which displays 'login' and one wich says 'logout' for the navigation, how can i add a <if> variable to it, more to the point, what variable do i need?
2) how can i get arid of the line gap in between the top of the banner, and bottom of the navigation.
Board: http://dsminded.com/community
Cheers. -Clive
Re: Advice on site
i tried this:
<!-- S_USER_LOGGED_IN --><a href="http://dsminded.com/community/ucp.php?mode=logout"><img src="http://dsminded.com/community/styles/proGrey/imageset/logout.gif" width="104" height="31" border="0" alt=""><!-- ENDIF -->
Brings an error up:
Parse error: syntax error, unexpected '}' in /home/swabru7r/public_html/community/cache/tpl_proGrey_overall_header.html.php on line 108
<!-- S_USER_LOGGED_IN --><a href="http://dsminded.com/community/ucp.php?mode=logout"><img src="http://dsminded.com/community/styles/proGrey/imageset/logout.gif" width="104" height="31" border="0" alt=""><!-- ENDIF -->
Brings an error up:
Parse error: syntax error, unexpected '}' in /home/swabru7r/public_html/community/cache/tpl_proGrey_overall_header.html.php on line 108
-
- Supporter
- Posts: 316
- Joined: 18 Sep 2007, 14:35
- Real name: David
- Contact:
Re: Advice on site
you need to do <!-- IF S_USER_LOGGED_IN -->
That's like, I can't beat my neighbor in an argument, so instead I kill his dog.
-Best English Teacher Ever
Re: Advice on site
Wicked mate, worked a treat. an't belive i forgot the IF.
I done <!-- IF not S_USER_LOGGED_IN --> for the login button, and it worked a treat.
I used {U_LOGIN_LOGOUT} for the logout url fienld so the session data would match up right. -Worked great
Cheers for your help again evil and harmlessgoat22.
I done <!-- IF not S_USER_LOGGED_IN --> for the login button, and it worked a treat.
I used {U_LOGIN_LOGOUT} for the logout url fienld so the session data would match up right. -Worked great
Cheers for your help again evil and harmlessgoat22.
Re: Advice on site
ans:2) add negative css margin to the bottom half.
Keep an eye on us, were back in business..
Who is online
Users browsing this forum: No registered users and 66 guests