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   11333 Views

Avatar
Wojtek

29 January 2008 at 5:54am (Last edited: 29 January 2008 5:59am), Community Member, 149 Posts

[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

29 January 2008 at 6:12am Community Member, 3 Posts

Nice work ! :D

Show the code ;)

Avatar
Wojtek

29 January 2008 at 6:23am Community Member, 149 Posts

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

Avatar
Wojtek

29 January 2008 at 8:59am Community Member, 149 Posts

[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

29 January 2008 at 9:14am (Last edited: 29 January 2008 9:24am), Community Member, 149 Posts

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

29 January 2008 at 9:30am (Last edited: 29 January 2008 9:31am), Community Member, 3 Posts

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

29 January 2008 at 9:40am (Last edited: 29 January 2008 10:04am), Community Member, 149 Posts

Linux binary uploaded =] link added

Static linux binary uploaded, too. link added =]

Avatar
Jeff

29 January 2008 at 2:16pm Community Member, 32 Posts

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