how to get theme of traq.io

Development related discussion.
User avatar
goeck
Newbie
Posts: 6
Joined: Fri Nov 16, 2012 9:30 pm

how to get theme of traq.io

Post by goeck » Fri Nov 16, 2012 11:19 pm

Hey,



I just installed latest version from github. All I now want is a german localization for this version. I found one, but tzhat needs to be ported over to 3.x from 2.x.

The other thing I really want is the theme that is used in the traq installation under www.traq.io. I got myself the css files, but that's not the whole theme. Can you please give me a hint, how I can to such a layout?



Thanks so much.



I love having tra[c] in PHP, hopefully it gets pushed further.



Keep it up

Goeck

User avatar
Jack
Advanced Member
Posts: 666
Joined: Fri Mar 27, 2009 7:37 pm
Location: Australia

Re: how to get theme of traq.io

Post by Jack » Sat Nov 17, 2012 1:56 am

The theme from the Traq 3.0 installer?



I was going to use that as the theme for 2.4 and probably as an extra theme for 3.0, still might do that.



While Traq has been no development for quite a while, it's still alive and there is some development going on in the background.



Right now I'm dealing with some stuff in my life, but by the end of the year development will have started up again.

User avatar
goeck
Newbie
Posts: 6
Joined: Fri Nov 16, 2012 9:30 pm

Re: how to get theme of traq.io

Post by goeck » Mon Nov 19, 2012 7:37 pm

Actually I just wanted to apply the same theme that bugs.traq.io has, at the moment, to my installation. I don't mind the installer.



Nice to hear that something is going on here.. :-)

Cheers

User avatar
Jack
Advanced Member
Posts: 666
Joined: Fri Mar 27, 2009 7:37 pm
Location: Australia

Re: how to get theme of traq.io

Post by Jack » Mon Nov 19, 2012 7:46 pm

Oh, the theme running on the Traq installation here is the theme added in 2.3.7.



Not sure if I will port it to 3.0 yet, will know once 3.0 is in beta.

User avatar
goeck
Newbie
Posts: 6
Joined: Fri Nov 16, 2012 9:30 pm

Re: how to get theme of traq.io

Post by goeck » Mon Nov 19, 2012 11:11 pm

[quote='Jack' pid='1052' dateline='1353314776']

Not sure if I will port it to 3.0 yet, will know once 3.0 is in beta.

[/quote]



So the question for me would be to migrate back to stable 2.3.8 or to copy the theme over to 3.x on my own...Maybe with a little help...

Is there a save way to migrate back to 2.3.8 from 3.0GIT?
Last edited by goeck on Mon Nov 19, 2012 11:29 pm, edited 1 time in total.

User avatar
Jack
Advanced Member
Posts: 666
Joined: Fri Mar 27, 2009 7:37 pm
Location: Australia

Re: how to get theme of traq.io

Post by Jack » Mon Nov 19, 2012 11:35 pm

Not without doing some database changes.



Some columns need to be renamed and others have to be changed from one type to another (datetime to integer).



If you don't have a lot of data in the 3.0 installation you could re-enter it.

User avatar
goeck
Newbie
Posts: 6
Joined: Fri Nov 16, 2012 9:30 pm

Re: how to get theme of traq.io

Post by goeck » Mon Nov 19, 2012 11:48 pm

[quote='Jack' pid='1054' dateline='1353328512']

Not without doing some database changes.



Some columns need to be renamed and others have to be changed from one type to another (datetime to integer).



If you don't have a lot of data in the 3.0 installation you could re-enter it.

[/quote]



Hm...thanks fot the answer...I could actually do that

But what about applying the theme on 3.x right now? Are there lots of things about to change until beta?

User avatar
Jack
Advanced Member
Posts: 666
Joined: Fri Mar 27, 2009 7:37 pm
Location: Australia

Re: how to get theme of traq.io

Post by Jack » Tue Nov 20, 2012 12:11 am

I'm trying not to change too much about the interface/theme. There are a few things that still need to be done though, like the ticket filters, they're almost done though.

User avatar
goeck
Newbie
Posts: 6
Joined: Fri Nov 16, 2012 9:30 pm

Re: how to get theme of traq.io

Post by goeck » Tue Nov 20, 2012 12:17 am

[quote='Jack' pid='1056' dateline='1353330690']

I'm trying not to change too much about the interface/theme. There are a few things that still need to be done though, like the ticket filters, they're almost done though.

[/quote]



For the most part, it could be done then. Could you send me the theme, and I will try to port it. I'd like to have it the new way asap. Would appreciate it!.

Cheers

User avatar
Jack
Advanced Member
Posts: 666
Joined: Fri Mar 27, 2009 7:37 pm
Location: Australia

Re: how to get theme of traq.io

Post by Jack » Tue Nov 20, 2012 12:53 am

The CSS file for the theme can be found here.



What you'll need to do to get 3.0 to see the ported one is in the "vendor/traq/views" directory, create a directory for the theme, "2.3.7" for example and create a file named "_theme.php".



Inside "_theme.php" place the following PHP code and save.

Code: Select all

<?php

return array(

    'name' => 'Traq 2.3.7',

    'version' => '1.0',

    'author' => '[b]Original[/b]: Jack P. / [b]3.0 Port[/b]: {your name here}'

);

 


You'll also need to create a directory named "css" inside this same directory and save the CSS file as "2.3.7.css" inside it.



So the structure should be:

Code: Select all


views

-- 2.3.7

---- _theme.php

---- css/

------ 2.3.7.css



Node: The CSS filename should match the directory name, so if you change "2.3.7" to "2.3.7port" the CSS file should be "2.3.7port.css".

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest