Forum Index > Help > Thèmes New Topic Post Reply
 Theme update for Geeklog 2.0
   
Ben
 19 décembre 2012 - 14:55 (Read 8426 times)  
AAAAA
Admin

Status: offline


Registered: 18/10/2006
Posts: 129
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...

 
Profile Email Website
 Quote
Ben
 08 avril 2013 - 08:20  
AAAAA
Admin

Status: offline


Registered: 18/10/2006
Posts: 129
See complete list on this article.

 
Profile Email Website
 Quote
Content generated in: 0,29 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 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content