FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » create a pathinfo theme
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
create a pathinfo theme [message #164558] Thu, 17 February 2011 03:00 Go to next message
Bradley is currently offline  Bradley
Messages: 41
Registered: February 2011
Karma: 0
Member
how do i create a custom pathinfo theme? i see no html in the path_info tmpl files. do i have to merge by hand the default templates with the path_info templates? i'm wanting to make some fairly large changes, so i'm assuming i'm going to copy a lot of the files rather than the odd one.

that'd become REALLY messy!
Re: create a pathinfo theme [message #164560 is a reply to message #164558] Thu, 17 February 2011 03:11 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Default inheritance is
path_info -> default
or
my_theme -> default.

Touch ".path_info" will change the inheritance to
my_theme -> path_info -> default.
Re: create a pathinfo theme [message #164561 is a reply to message #164560] Thu, 17 February 2011 03:15 Go to previous messageGo to next message
Bradley is currently offline  Bradley
Messages: 41
Registered: February 2011
Karma: 0
Member
ok, but i still don't understand. what files do i copy and put into a new template directory so that i can edit the html? and .path_info goes into the root of the template directory or in the tmpl directory?
Re: create a pathinfo theme [message #164563 is a reply to message #164561] Thu, 17 February 2011 03:19 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Copy .path_info from the path_info theme into your theme's directory.

You also need to copy the files you want to change (override) into your theme's directory.

I think this is documented somewhere on the wiki (will try to find the URL).

Re: create a pathinfo theme [message #164564 is a reply to message #164563] Thu, 17 February 2011 03:24 Go to previous message
Bradley is currently offline  Bradley
Messages: 41
Registered: February 2011
Karma: 0
Member
ah ok thanks.and i copy the tmpl files from the default directory, not the path_info theme as the latter doesn't contain html right?

i didn't find anything in the wiki, i found this but i think it's a little out of date: http://fudforum.org/forum/index.php?t=msg&th=4222&start=0&
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: User Permissions
Next Topic: import issues
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 10:22:04 GMT 2024

Total time taken to generate the page: 0.02712 seconds