Discussion:
[Wt-interest] Wordpress Themes
John Robson
2015-09-28 15:51:22 UTC
Permalink
I realized that Wordpress has excellent themes and is very easy to
change the website theme.

https://wordpress.org/themes/browse/popular/

I wondering if someone already tried to create a type of
"scaffold/framework" in Wt that work with the worpress templates?!

John


------------------------------------------------------------------------------
Matthew Sherborne
2016-01-16 22:48:47 UTC
Permalink
Hi John,

Use the Wt bootstrap theme:
http://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1WTheme.html

Then download / buy some bootstrap templates:
http://startbootstrap.com/template-categories/all/

Then design your gui using the WTemplate container for each page:
http://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1WTemplate.html

So you'd copy the dynamic parts of the theme into your 'approot' and load
them as templates:

http://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1WApplication.html#a88b082dadadd3fb7dbe10887e7d89c91

eg. you name the file: mainpage.xml, but you code:
messageResourceBundle
<http://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1WApplication.html#a4f304244f6bc75be6cd5f41798ea5e2e>
().use
<http://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1WMessageResourceBundle.html#a01368946b2a2aaceab3a64cddb1cb1e2>
(appRoot
<http://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1WApplication.html#a88b082dadadd3fb7dbe10887e7d89c91>()
+ "mainpage"); // without the .xml because you can have like
mainpage-es.xml for the spanish version

...and the static parts are copied into your 'docroot' and load the CSS:
http://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1WApplication.html#a8dcc025cd58968e087de8e90e6a4f547

Blessings
Matthew Sherborne
Post by John Robson
I realized that Wordpress has excellent themes and is very easy to
change the website theme.
https://wordpress.org/themes/browse/popular/
I wondering if someone already tried to create a type of
"scaffold/framework" in Wt that work with the worpress templates?!
John
------------------------------------------------------------------------------
_______________________________________________
witty-interest mailing list
https://lists.sourceforge.net/lists/listinfo/witty-interest
Matthew Sherborne
2016-01-17 23:45:46 UTC
Permalink
Also I found more site templates here:
https://www.freshdesignweb.com/free-bootstrap-templates/
Post by Matthew Sherborne
Hi John,
http://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1WTheme.html
http://startbootstrap.com/template-categories/all/
http://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1WTemplate.html
So you'd copy the dynamic parts of the theme into your 'approot' and load
http://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1WApplication.html#a88b082dadadd3fb7dbe10887e7d89c91
messageResourceBundle
<http://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1WApplication.html#a4f304244f6bc75be6cd5f41798ea5e2e>
().use
<http://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1WMessageResourceBundle.html#a01368946b2a2aaceab3a64cddb1cb1e2>
(appRoot
<http://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1WApplication.html#a88b082dadadd3fb7dbe10887e7d89c91>()
+ "mainpage"); // without the .xml because you can have like
mainpage-es.xml for the spanish version
http://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1WApplication.html#a8dcc025cd58968e087de8e90e6a4f547
Blessings
Matthew Sherborne
Post by John Robson
I realized that Wordpress has excellent themes and is very easy to
change the website theme.
https://wordpress.org/themes/browse/popular/
I wondering if someone already tried to create a type of
"scaffold/framework" in Wt that work with the worpress templates?!
John
------------------------------------------------------------------------------
_______________________________________________
witty-interest mailing list
https://lists.sourceforge.net/lists/listinfo/witty-interest
John Robson
2016-02-15 02:51:34 UTC
Permalink
Thank you Mattew, I'll check this out.
Continue reading on narkive:
Loading...