Topics

User Functions

Events

There are no upcoming events

What's New

Stories last 2 weeks

No new stories

Comments last 2 weeks

No new comments

Trackbacks last 2 weeks

No new trackback comments

Links last 2 weeks

No recent new links

NEW FILES last 14 days

No new files

Welcome to Geeklog Wednesday, April 16 2014 @ 08:49 PM EDT


 Forum Index > Support > Theming Support New Topic Post Reply
 List of changes for themes for Geeklog 2.0
   
::Ben
 12/19/12 04:16AM (Read 2949 times)  
+++++
Full Member

Status: offline


Registered: 01/14/05
Posts: 1442
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

We speak french on http://geeklog.fr
 
Profile Email Website
 Quote
Laugh
 12/19/12 08:53AM  
AAAAA
Admin

Status: offline


Registered: 09/27/05
Posts: 998
We really should. What's the best way to do this? Add a wiki page for developers to update?

 
Profile Email Website
 Quote
::Ben
 12/19/12 08:55AM  
+++++
Full Member

Status: offline


Registered: 01/14/05
Posts: 1442
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...

We speak french on http://geeklog.fr
 
Profile Email Website
 Quote
::Ben
 12/19/12 08:58AM  
+++++
Full Member

Status: offline


Registered: 01/14/05
Posts: 1442
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

We speak french on http://geeklog.fr
 
Profile Email Website
 Quote
Laugh
 12/19/12 09:59AM  
AAAAA
Admin

Status: offline


Registered: 09/27/05
Posts: 998
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

 
Profile Email Website
 Quote
::Ben
 12/19/12 10:01AM  
+++++
Full Member

Status: offline


Registered: 01/14/05
Posts: 1442
if you can keep this forum post updated with the changes


I will try but not sure I will find all changes Confused
Ben

We speak french on http://geeklog.fr
 
Profile Email Website
 Quote
Laugh
 12/19/12 10:09AM  
AAAAA
Admin

Status: offline


Registered: 09/27/05
Posts: 998
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.

 
Profile Email Website
 Quote
::Ben
 12/24/12 12:39PM  
+++++
Full Member

Status: offline


Registered: 01/14/05
Posts: 1442
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


We speak french on http://geeklog.fr
 
Profile Email Website
 Quote
Laugh
 02/25/13 04:48PM  
AAAAA
Admin

Status: offline


Registered: 09/27/05
Posts: 998
Did you find any other change Ben? I have updated the docs with your changes and a few others.

 
Profile Email Website
 Quote
::Ben
 02/25/13 05:04PM  
+++++
Full Member

Status: offline


Registered: 01/14/05
Posts: 1442
Did you find any other change Ben?

No. Thanks for the updates.

Ben

We speak french on http://geeklog.fr
 
Profile Email Website
 Quote
::Ben
 02/25/13 05:27PM  
+++++
Full Member

Status: offline


Registered: 01/14/05
Posts: 1442
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

We speak french on http://geeklog.fr
 
Profile Email Website
 Quote
::Ben
 04/30/13 06:54AM  
+++++
Full Member

Status: offline


Registered: 01/14/05
Posts: 1442
10. COM_printPageNavigation use a new file page_navigation.thtml. You can found this file in the themes bundled with Geeklog 2.

We speak french on http://geeklog.fr
 
Profile Email Website
 Quote
Content generated in: 0.66 seconds
New Topic Post Reply

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