Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 11:22 am EDT

Geeklog Forums

List of changes for themes for Geeklog 2.0


Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
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
I'm available to customise your themes or plugins for your Geeklog CMS
 Quote

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1468
Location:Canada
We really should. What's the best way to do this? Add a wiki page for developers to update?
One of the Geeklog Core Developers.
 Quote

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
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...
I'm available to customise your themes or plugins for your Geeklog CMS
 Quote

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
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
I'm available to customise your themes or plugins for your Geeklog CMS
 Quote

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1468
Location:Canada
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
One of the Geeklog Core Developers.
 Quote

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
if you can keep this forum post updated with the changes


I will try but not sure I will find all changes Confused
Ben
I'm available to customise your themes or plugins for your Geeklog CMS
 Quote

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1468
Location:Canada
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.
One of the Geeklog Core Developers.
 Quote

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
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


I'm available to customise your themes or plugins for your Geeklog CMS
 Quote

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1468
Location:Canada
Did you find any other change Ben? I have updated the docs with your changes and a few others.
One of the Geeklog Core Developers.
 Quote

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
Did you find any other change Ben?

No. Thanks for the updates.

Ben
I'm available to customise your themes or plugins for your Geeklog CMS
 Quote

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
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
I'm available to customise your themes or plugins for your Geeklog CMS
 Quote

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
10. COM_printPageNavigation use a new file page_navigation.thtml. You can found this file in the themes bundled with Geeklog 2.
I'm available to customise your themes or plugins for your Geeklog CMS
 Quote

All times are EDT. The time is now 11:22 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content