Subject: List of changes for themes for Geeklog 2.0

Posted on: 19/12/2012 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: 19/12/2012 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: 19/12/2012 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 :

PHP 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: 19/12/2012 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 but maybe a wiki page can be usefull too.

Ben

Re: List of changes for themes for Geeklog 2.0

Posted on: 19/12/2012 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: 19/12/2012 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 Confused
Ben

Re: List of changes for themes for Geeklog 2.0

Posted on: 19/12/2012 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: 24/12/2012 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: 25/02/2013 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: 25/02/2013 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: 25/02/2013 05:27pm
By: ::Ben

Today I tryed to create a new topic and I found some more changes Smile

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: 30/04/2013 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.

Geeklog - Forum
https://www.geeklog.net/forum/viewtopic.php?showtopic=94607