Posted on: 12/19/12 04:16am
By: ::Ben
To make simpler themes updates, could we build a list of the changes for the themes from geeklog 1.8.1 to 2.0?
Thanks,
Ben
Re: List of changes for themes for Geeklog 2.0
Posted on: 12/19/12 08:53am
By: Laugh
We really should. What's the best way to do this? Add a wiki page for developers to update?
Re: List of changes for themes for Geeklog 2.0
Posted on: 12/19/12 08:55am
By: ::Ben
I just started to update the Purepro theme. Here are some points to make this theme working :
1. breadcrums => copy breadcrums folder from professional, denim or modern_curve in Geeklog 2.0
2. Add on use new functions in mytheme/functions.php file. See professional, denim or modern_curve in Geeklog 2.0 : function theme_config_mytheme(), function theme_css_mytheme(), function theme_js_libs_mytheme(), function theme_js_files_mytheme(), function theme_init_mytheme
3. To edit story => copy /admin/common/edit_topics.thtml from professional, denim or modern_curve in Geeklog 2.0
4. New variable topic_selection to add into /admin/block/blockeditor.thtml, /admin/block/defaultblockeditor.thtml, /admin/story/storyeditor.thtml, /admin/story/ storyeditor_advenced.thtml, /submit/submitstory.thtml, /submit/submitstory_advanced.thtml
5. New css for static pages, stories and blocks editors from professional theme in Geeklog 2.0 :
Text Formatted Code
/* Admin basic form ***********************************************************/
.admin_basic {
padding: 0.5em 2em;
}
.form_block {
margin: 0;
padding: 0;
}
.form_block:after {
content: "";
display: block;
clear: both;
height: 1px;
overflow: hidden;
}
.compact dt {
float: left;
clear: left;
width: 15%;
margin: 0 0 1em 0;
padding: 0 1% 0 0;
font-weight: normal;
text-align: right;
}
.compact dt:after {
content: ":";
}
.compact dt label {
font-weight: normal;
}
.compact dd {
float: left;
width: 84%;
margin: 0 0 1em 0;
padding: 0;
}
.compact dd.description {
margin: -0.5em 0 1em 16%;
padding: 0;
}
.compact p.description {
margin: 0 0 1em 0;
padding: 0;
}
.wide {
width: 98%;
}
.separator {
display: none;
}
.size1 { width: 60px; }
.size2 { width: 120px; }
.size3 { width: 180px; }
.size4 { width: 240px; }
.size5 { width: 300px; }
.size6 { width: 360px; }
.size7 { width: 420px; }
.size8 { width: 480px; }
.size9 { width: 540px; }
.size10 { width: 600px; }
6. Partial rewrite for the new function myrtheme_createHTMLDocument. For now I can't handle the breadcrumbs.
Work in progress...
Re: List of changes for themes for Geeklog 2.0
Posted on: 12/19/12 08:58am
By: ::Ben
What's the best way to do this? Add a wiki page for developers to update?
Usually the information is available
in the documentation[*1] but maybe a wiki page can be usefull too.
Ben
Re: List of changes for themes for Geeklog 2.0
Posted on: 12/19/12 09:59am
By: Laugh
Yeah we need to keep the document updated each time a change is done. We also have to consider now with 2.0.0 changes for the new template engine and the old one since they are not all the same (I believe).
Ben if you can keep this forum post updated with the changes I will update the Geeklog doc once you are finished.
Tom
Re: List of changes for themes for Geeklog 2.0
Posted on: 12/19/12 10:01am
By: ::Ben
if you can keep this forum post updated with the changes
I will try but not sure I will find all changes
Ben
Re: List of changes for themes for Geeklog 2.0
Posted on: 12/19/12 10:09am
By: Laugh
I will add to it as well and we should let Dengen know. Anyone working on themes should add to this post if they have any new info.
Re: List of changes for themes for Geeklog 2.0
Posted on: 12/24/12 12:39pm
By: ::Ben
6. Breadcrumbs: add {breadcrumb_trail} to your header.thtml
7. Comments on same page changed a lot of things. Copy paste the complete comment folder and custom the commentbar.thtml and comment.thtml files if necessary.
Ben
Re: List of changes for themes for Geeklog 2.0
Posted on: 02/25/13 04:48pm
By: Laugh
Did you find any other change Ben? I have updated the docs with your changes and a few others.
Re: List of changes for themes for Geeklog 2.0
Posted on: 02/25/13 05:04pm
By: ::Ben
Did you find any other change Ben?
No. Thanks for the updates.
Ben
Re: List of changes for themes for Geeklog 2.0
Posted on: 02/25/13 05:27pm
By: ::Ben
Today I tryed to create a new topic and I found some more changes
8. Replace topicoption.thtml and topicoption_off.thtml from professional theme
9. Replace admin/topic folder from professional theme
Re: List of changes for themes for Geeklog 2.0
Posted on: 04/30/13 06:54am
By: ::Ben
10. COM_printPageNavigation use a new file page_navigation.thtml. You can found this file in the themes bundled with Geeklog 2.