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

Home » FUDforum » How To » create a pathinfo theme
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
create a pathinfo theme [message #164558] Wed, 16 February 2011 22:00 Go to next message
Bradley is currently offline  Bradley
Messages: 41
Registered: February 2011
Karma: 0
Member
add to buddy list
ignore all messages by this user
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] Wed, 16 February 2011 22:11 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
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] Wed, 16 February 2011 22:15 Go to previous messageGo to next message
Bradley is currently offline  Bradley
Messages: 41
Registered: February 2011
Karma: 0
Member
add to buddy list
ignore all messages by this user
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] Wed, 16 February 2011 22:19 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
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] Wed, 16 February 2011 22:24 Go to previous message
Bradley is currently offline  Bradley
Messages: 41
Registered: February 2011
Karma: 0
Member
add to buddy list
ignore all messages by this user
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&
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: User Permissions
Next Topic: import issues
Goto Forum:
  

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

Current Time: Fri Oct 20 06:53:50 EDT 2017

Total time taken to generate the page: 0.00759 seconds