Jump to content


Click here to lend your support to: Traq and make a donation at pledgie.com !
Photo

how to get theme of traq.io


  • Please log in to reply
10 replies to this topic

#1 goeck

goeck

    Newbie

  • Members
  • Pip
  • 6 posts

Posted 16 November 2012 - 12: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

#2 Jack

Jack

    Project Founder

  • Administrators
  • 673 posts
  • LocationAustralia

Posted 16 November 2012 - 02:56 PM

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.

#3 goeck

goeck

    Newbie

  • Members
  • Pip
  • 6 posts

Posted 19 November 2012 - 08:37 AM

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

#4 Jack

Jack

    Project Founder

  • Administrators
  • 673 posts
  • LocationAustralia

Posted 19 November 2012 - 08:46 AM

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.

#5 goeck

goeck

    Newbie

  • Members
  • Pip
  • 6 posts

Posted 19 November 2012 - 12:11 PM

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


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?

#6 Jack

Jack

    Project Founder

  • Administrators
  • 673 posts
  • LocationAustralia

Posted 19 November 2012 - 12: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.

#7 goeck

goeck

    Newbie

  • Members
  • Pip
  • 6 posts

Posted 19 November 2012 - 12:48 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.


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?

#8 Jack

Jack

    Project Founder

  • Administrators
  • 673 posts
  • LocationAustralia

Posted 19 November 2012 - 01:11 PM

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.

#9 goeck

goeck

    Newbie

  • Members
  • Pip
  • 6 posts

Posted 19 November 2012 - 01:17 PM

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.


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

#10 Jack

Jack

    Project Founder

  • Administrators
  • 673 posts
  • LocationAustralia

Posted 19 November 2012 - 01:53 PM

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.
return array(
'name' => 'Traq 2.3.7',
'version' => '1.0',
'author' => 'Original: Jack P. / 3.0 Port: {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:
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".

#11 goeck

goeck

    Newbie

  • Members
  • Pip
  • 6 posts

Posted 19 November 2012 - 06:39 PM

Thanks Jack, I'll give it a try tomorrow and let you know what went wrong ;-)

Cheers


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users