Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

'Theme Maker' open source program screenshots =]


Go to End
Reply


17 Posts   11399 Views

Avatar
Wojtek

Community Member, 149 Posts

29 January 2008 at 5:54am

Edited: 29/01/2008 5:59am

[url]http://silverstripe.com/extending-hacking-silverstripe-forum/show/28535[/url] <= here is the topic where the whole idea is described.

The program is probably not ready for the presentation yet (it will be open source, of course), but I have got some screenshots to share with you :)

I have tested my program on one of my GHOP sites to check if it is formatting the markup and IDs correctly. Here are two screenshots:

The code before using my script (click the image to view the full size image)
[url=http://silverstripe.pl/screen1.png][/url]

The code after using my script =](click the image to view the full size image)
[url=http://silverstripe.pl/screen2.png][/url]

note that it has corrected the indents and the IDs start with uppercase on the second screenshot, too. It should work all right with all UTF-8 sites.

peak memory usage: 1068kb
CPU time: 0.016s

Cheers,
Wojtek

Avatar
mariocesar

Community Member, 3 Posts

29 January 2008 at 6:12am

Nice work ! :D

Show the code ;)

Avatar
Wojtek

Community Member, 149 Posts

29 January 2008 at 6:23am

I have some optimisation work to do with it, I'll try to post it in a few hours =]

Avatar
Wojtek

Community Member, 149 Posts

29 January 2008 at 8:59am

[url]http://silverstripe.pl/thememaker/[/url] - here is the link. You can download an .exe file, or a .cpp. It's still a pre-alpha verison with a very small amount of features, but if you find it useful, you can use it =] I'll try to develop the program and constantly improve it!

cheers,
Wojtek

Avatar
Wojtek

Community Member, 149 Posts

29 January 2008 at 9:14am

Edited: 29/01/2008 9:24am

Possible problems:
- php code inside files
- tag attributes without values, like "disabled" or sth

if your layout contains the following line:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
you may experiance some problems using the program. I recommend to remove it and paste this line after modifying the layout through the program.

Avatar
mariocesar

Community Member, 3 Posts

29 January 2008 at 9:30am

Edited: 29/01/2008 9:31am

Works great :), Would be nice you put the executable file for Linux, I have to compile it for that.

Once again, Great Work ;D

Avatar
Wojtek

Community Member, 149 Posts

29 January 2008 at 9:40am

Edited: 29/01/2008 10:04am

Linux binary uploaded =] link added

Static linux binary uploaded, too. link added =]

Avatar
Jeff

Community Member, 32 Posts

29 January 2008 at 2:16pm

Nice work!

Wanted to let you know that Creative Commons is actually not [url=http://wiki.creativecommons.org/Frequently_Asked_Questions#Can_I_use_a_Creative_Commons_license_for_software.3F]intended for software[/url], so you might want to go for something like the GPL or BSD licenses.

Go to Top