> 1 <
| Author | Message |
..dot..
10 posts
Location: Sweden Occupation: Age: |
#147 2007-11-19 21:28 GMT |
|
Code: $cfg['enablecustomhf'] = TRUE; is a really nice function, nice article about it Custom Header Files Working on a new design and i use this to make the design more flexible, but i miss one big important thing Thougth that i would ask here before i dig my nose to deep into it, maybe some one knows a simple solution This post was edited by Kilandor (2007-11-20 15:32 GMT, ago) |
|
|
:)
|
|
Kilandor
118 posts
http://www.seditioforge.com/ Location: United States TN Occupation: Web Coder - Gamer - Game Devloper(working on it) Age: 26 |
#148 2007-11-20 15:43 GMT |
|
Well, thats because. It uses a very simple process. Its based on the *.php file your at, which sets the location.
It doesn't get down to specific area's. But you could core hack it to do that. To do that you could do something like this. In system/header.php find PHP Code: Change it to this PHP Code: You would just use whatever the vlue of $m in your tpl name. like below. This would allow you to say, use a template such as header.pages.edit.tpl If it does not exist it would just use header.tpl I haven't tested this but you could tell me how it works. |
|
..dot..
10 posts
Location: Sweden Occupation: Age: |
#149 2007-11-21 17:20 GMT |
|
A big thanks for the help
EDIT: Btw thanks for the link edit dont know what i did wrong tryed to change it but it where still wrong.. |
|
|
:)
|
|
..dot..
10 posts
Location: Sweden Occupation: Age: |
#150 2007-11-22 15:48 GMT |
|
Haha now i understand made so much custom changes so i am all dizzy
Still think this is a neat function |
|
|
:)
|
|
Kilandor
118 posts
http://www.seditioforge.com/ Location: United States TN Occupation: Web Coder - Gamer - Game Devloper(working on it) Age: 26 |
#151 2007-11-22 19:40 GMT |
|
np, it was the ( ) some reaosn it screws up seditio's url bbcode. I needa finish filtering the URL's so that won't happen (I mean the URLs that get outputted like the one you copied)
Well I think for one alot of cfg options shoudl be moved to the config file, there are a few misc, cfg options in functions.php and what not, header etc. |
|
> 1 <



