|
Stylo v2
|
| Falcon |
Posted on 19-04-2012 23:03
|

Admin

Posts: 124
Joined: 24/02/2008
|
Hello, i would like to present Stylo v2 for PHP-Fusion v7.02.05.
This version was the next step in the making of Stylo, many of you don't know but Stylo is a learning theme, in every version of PHP-Fusion i put something new in this theme so people can learn how to use CSS3, or HTML5, or how to custom your theme in a way that you never saw.
Even though IE doesen't like Stylo, we still fight and make it look nice on IE and all the other browsers.
Whats new in Stylo v2 ?
Well i will start with this line:
Codedefine("THEME_WIDTH", "100%");
We had this problem in the first versions where people had to edit the css, well now you don't have to do that, just this line and the theme will center itself automatically and will get the width you like.
Now this is something old but lets just remember how it works:
Code$colour_switcher = new Switcher("select", "colour", "png", "blue", "switcherbutton");
You see on that line we have "blue" defined as the default color, change the default color in this 5 colors: Green, Grey, Lilac, Orange and Red, now we have 6 colors to choose from.
You don't like the color switcher, but you love the green color ?
No problem just set the default color as green and comment this line:
Code///echo "<div style='padding: 15px 0 6px 0;'>".$colour_switcher->makeForm("flright")."</div>\n";
Like that and you have a green Stylo and no switcher, but lets not leave that switcher space empty, uncomment this line:
Codeecho "<div class='flright' style='padding: 15px 0 6px 0;'>".showsubdate()."</div>\n";
And now the time is back you will see this line commented above the switcher form in the theme.php file.
If you guys want to see more awesome tricks just open the css or see how the new comments look, have fun.
P.S.
Stylo is a theme in development in every version of PHP-Fusion i will try to surprise you all, just wait. :P You never know how the final version will look.
Download the latest version of PHP-Fusion and change to Stylo. |
| |
|
|
| gh0st2k |
Posted on 19-04-2012 23:21
|

Member

Posts: 134
Joined: 23/11/2008
|
Thanks Falcon 
The admin message doesn't change it's color, I think this is a small bug or?
Ex Senior Dev.
|
| |
|
|
| HaYaLeT |
Posted on 20-04-2012 02:10
|

Senior Member

Posts: 276
Joined: 31/10/2008
|
Great,really very nice..
|
| |
|
|
| Gillette |
Posted on 20-04-2012 02:14
|

Admin

Posts: 291
Joined: 09/04/2012
|
Thanks for the new version,i like this! |
| |
|
|
| Mehmet |
Posted on 20-04-2012 02:24
|

Member

Posts: 53
Joined: 13/11/2009
|
Good works. I'm waiting share
Mehmet ( PHP Fusion Turkish Support Site Moderator)
|
| |
|
|
| PHPar |
Posted on 20-04-2012 03:55
|

Admin

Posts: 88
Joined: 03/03/2010
|
nice work
i liked new changes |
| |
|
|
| jikaka |
Posted on 20-04-2012 06:18
|

Admin

Posts: 743
Joined: 28/01/2010
|
great!
|
| |
|
|
| er1kazd |
Posted on 20-04-2012 16:36
|

Newbie

Posts: 9
Joined: 31/03/2012
|
very cool theme, it's my favourite of the default ones |
| |
|
|
| fjennehav |
Posted on 01-05-2012 17:08
|

Newbie

Posts: 4
Joined: 26/01/2006
|
i just love it.... can't wait for more...
But i have a ? - where to put code 3, the one that removes the switcher ? |
| |
|
|
| Falcon |
Posted on 01-05-2012 17:25
|

Admin

Posts: 124
Joined: 24/02/2008
|
It is there in theme.php, you will see a commented line, uncomment that line, then comment or remove the switcher line, read my first post. |
| |
|
|
| oudenoord |
Posted on 15-05-2012 19:20
|

Newbie

Posts: 8
Joined: 15/05/2012
|
I gave up on the other theme I was working with and have now moved on to Stylo and wonder where in the Style sheet I can change the with of the whole page.
I've changed the right hand panel to fit my needs of 320 pxl but can not figure out to change the rest to become 1280px wide. Anybody who can help me out?:)
Edit:
[define("THEME_WIDTH", "100%");
This is apparantly the answer I've been looking for the last couple of hours how to change the with of the site.
However changing this does nothing of the sort on the actual website why is that? I've tried 75% and I've tried using pixels. Changing colors for i.e. using Lilac as default works flawless though but not changing the with of my template which is what I'd really like to do
|
| |
|
|
| Falcon |
Posted on 15-05-2012 21:07
|

Admin

Posts: 124
Joined: 24/02/2008
|
Hello oudenoord,
From what i know the defined theme width should work perfectly.
The problem here could be a image or an ads that you set to center, and doesen't let you make the width smaller.
If that is not the problem try to press F5 after you made the changes.
And again, if that doesen't work, upload the theme again, remove the panels that you think they make problems and try again.
Good luck! |
| |
|
|
| oudenoord |
Posted on 15-05-2012 21:34
|

Newbie

Posts: 8
Joined: 15/05/2012
|
Thanks but nothing helps, i removed the panels I've done changes and there's no reaction. Where can I download the theme? It's a 24h old phpfusion installment so I don't believe there should be any problems  |
| |
|
|
| oudenoord |
Posted on 15-05-2012 21:39
|

Newbie

Posts: 8
Joined: 15/05/2012
|
forget my final question of where to find it i guess i'm a little bit tired and confused  |
| |
|
|
| Falcon |
Posted on 15-05-2012 21:45
|

Admin

Posts: 124
Joined: 24/02/2008
|
From the PHP-Fusion v7.02.05 pack.
Good luck! |
| |
|
|
| oudenoord |
Posted on 15-05-2012 21:49
|

Newbie

Posts: 8
Joined: 15/05/2012
|
HEUREKA!!!!
Problem solved, THANKS!! |
| |
|
|
| jmonroe |
Posted on 15-05-2012 22:50
|

Junior Member

Posts: 23
Joined: 27/04/2011
|
To disable the switcher...you could change this value instead as well
$enable_colour_switcher = true;
to
$enable_colour_switcher = false;
Nice theme. For some reason though, I cannot change the logo. It's greyed out and when I type in the new image name, it reverts back to php-fusion-logo.png even before I can press the save button. Any idea? |
| |
|
|
| Falcon |
Posted on 15-05-2012 22:56
|

Admin

Posts: 124
Joined: 24/02/2008
|
It's not from the theme, it must be something from db settings, you should create a thread, and we will look into this problem.
Good luck! |
| |
|
|
| jmonroe |
Posted on 15-05-2012 23:02
|

Junior Member

Posts: 23
Joined: 27/04/2011
|
Falcon...thanks for the prompt reply. Hopefully what I commented on will help someone too. In regards to the logo issue, I am going to look at it a little bit and see if I can figure it out. If not, I will post up a thread.
Thanks again. |
| |
|
|
| jmonroe |
Posted on 16-05-2012 14:44
|

Junior Member

Posts: 23
Joined: 27/04/2011
|
I did get the logo and all to work. Strange...I logged out when I left my office last night...came in this morning and logged in to the site and was able to successfully make the changes. Glad it works now. |
| |
|