Subject: Purepro Theme for Geeklog 1.8.0

Posted on: 06/04/11 10:03am
By: ::Ben

PurePro Base is a theme for geeklog 1.8.0.

You can customize it with the online interface: the PureProTheme Maker. This interface allows you to create, download and share your themes.

Download PurePro Base 1.8.0

View and download all available themes

::Ben


Re: Purepro Theme for Geeklog 1.8.0

Posted on: 06/04/11 12:23pm
By: Laugh

Thanks Ben I have been waiting for this.

I have a quick question for you.

I have setup the layout to have the right blocks at the bottom (layout 16) but when it displays on my site each block is listed vertically and not horizontally. Is their a quick fix for this?

Also if you are taking feature requests I have one. When you create a new theme it would be great if you could base your first theme from an existing theme already listed in Purepro.

Thanks

Tom

Re: Purepro Theme for Geeklog 1.8.0

Posted on: 06/04/11 02:58pm
By: ::Ben

Hi,

When blocks are at bottom blocks are always display verticallly. To display blocks horizontally we need to now how many blocks will be "inline" to set the width of each by % or in px.

So for exemple a quick solution could be for 3 blocks :

Add a my_custom_css.css file with the code below to your data/purepro/1 folder.

PHP Formatted Code

/*  My Custom Styling for PurePro *****************************************************/

.block-box-right {
  float:left;
  width:33%;
}


Clear your cache, reload the page and tada... Smile

base your first theme from an existing theme
is a feature for a next version.

Ben

Re: Purepro Theme for Geeklog 1.8.0

Posted on: 06/04/11 08:11pm
By: Laugh

Thanks Ben,

The only additional thing I added was

PHP Formatted Code
.block-columnpad-right {
    overflow:auto;
}

so that the grey outer box would expand with the blocks.

Tom

Re: Purepro Theme for Geeklog 1.8.0

Posted on: 07/04/11 09:44am
By: ::Ben

A new purepro beta release is available (only for testing)

[fix] Login box issue
[fix] js loading with new script class

Download Purepro base 1.8.0b1.1

Ben

Re: Purepro Theme for Geeklog 1.8.0

Posted on: 21/04/11 10:19am
By: ::Ben

A purepro beta 2 release is now available (only for testing)

[fix] Token issue

Download Purepro 1.8.0 beta 2

::Ben

Re: Purepro Theme for Geeklog 1.8.0

Posted on: 21/04/11 11:44am
By: Laugh

Thanks your fix works for me :chestslam:

I accidently posted this in the other topic. It should have gone here:


I have also been trying to fix the tooltips gettting cut off by their containers (div).

PHP Formatted Code
/* ******************************************************************** */
/* Fix tooltip clipped problem */
div,
#gl_content,
#gl_navigation,
#gl_container {
   overflow:visible !important;
}


This works for the most part except for my right blocks (I have the layout set for right to be bottom blocks). It messes up the grey border box because this needs to be set:

PHP Formatted Code

.block-columnpad-right {
    overflow:auto;
}
 


Do you know of a way to have the grey box surround the right blocks without using overflow since if I do any tooltips in the box will get clipped?

Tom

Re: Purepro Theme for Geeklog 1.8.0

Posted on: 21/04/11 02:06pm
By: ::Ben

To allow nice tooltip display on the story edition page, I needed to add to my test theme data/purepro/1/my_custom_css.css file

#gl_content {
overflow:visible !important;
}


Could this solve your issue too?

Ben

Re: Purepro Theme for Geeklog 1.8.0

Posted on: 22/04/11 11:42am
By: Laugh

To fix my problem I added the following css to custom

PHP Formatted Code
/* ******************************************************************** */
/* Fix tooltip clipped problem */
div {
    overflow:visible !important;
}


along with updating the rightblocks.thtml and adding a

PHP Formatted Code
<br clear="both">


at the bottom of the file so that the grey border box would grow and cover the entire right blocks.


I have a request as well. Currently I have the name of the site as text in the header. It comes out like this:

PHP Formatted Code
<h1><a href="http://www.mysite.com" title="My Site Name" style="text-decoration:none;">My Site Name</a></h1>


I like the look of the text but I do not really want the name of the site to be in an h1 tag. I would rather use it elsewhere on the site (like in a staticpage) but common SEO practices state you should only have only up to one h1 tag per page. Can you change this in your next release so the text site name does not use the h1 tag?

If not, where is this line set in the templates? I don't seem to see it in any of the header0-5.thtml files.

Thanks

Re: Purepro Theme for Geeklog 1.8.0

Posted on: 22/04/11 01:20pm
By: ::Ben

Tom,

You will find the h1 tag in the public-html/layout/purepro/logo-text.thml

I will remove this tag in stable 1.8.0 theme version but users will need to rebuild their themes or add to the my_custom_css.css file
PHP Formatted Code

.header-logo-text {
  padding:0;
  margin:0;
  font:bold 40px Georgia,"Times New Roman",Times,serif;
  letter-spacing:-0.5px;
  line-height:1em;
  color:#FFF;
 text-shadow: #333 2px 2px 5px;
}


Thanks,

::Ben

Re: Purepro Theme for Geeklog 1.8.0

Posted on: 22/04/11 01:53pm
By: Laugh

Thanks Ben.


Re: Purepro Theme for Geeklog 1.8.0

Posted on: 23/04/11 02:51pm
By: Laugh

I just notice this in the htmlheader.html file. The shortcut icon tag for the favicon.ico includes an extra purepro directory which is already supplied by {layout_url}. The line should be:

PHP Formatted Code
<link rel="SHORTCUT ICON" href="{layout_url}/images/favicon.ico"{xhtml}>


Tom

Re: Purepro Theme for Geeklog 1.8.0

Posted on: 23/04/11 04:32pm
By: ::Ben

Yes I don't know why it was change in the beta version. Anyway in the next stable release the favicon should be store in the images folder ($_CONF['path_images']) to allow favicon customisation with Multi plugin.

In htmlheader.thtml:
PHP Formatted Code
<link rel="SHORTCUT ICON" href="{images_url}favicon.ico"{xhtml}>


In purepro_siteHeader function :

PHP Formatted Code
       
//favicon
$images_url = $_CONF['site_url'] . '/' . substr($_CONF['path_images'], -( strlen($_CONF['path_images']) - strlen($_CONF['path_html'])) ) ;


Ben

Re: Purepro Theme for Geeklog 1.8.0

Posted on: 24/04/11 09:27am
By: Laugh

Hey Ben,

A few things:

I notice that the Purepro theme maker doesn't save it's changes anymore. Not sure what happened as it was working the other day. (I tried in IE and FF)

Also how does the custom staticpage footer work? I assume I have to create a staticpage with a specfic id?

Last, in the custom tab I have "Display RSS link in footer" along with Terms and Privacy Policy checked but they do not display in the footer. Do I have to do anything else to activate them? (My Footer type is traditional for this theme)

Thanks

Tom

Re: Purepro Theme for Geeklog 1.8.0

Posted on: 24/04/11 10:46am
By: ::Ben

Tom,
Purepro theme maker doesn't save it's changes anymore
The online theme maker save my values. I was able to change background color and menu on my "Invisble" theme.

how does the custom staticpage footer work?
See the wiki doc

"Display RSS link in footer" along with Terms and Privacy Policy checked but they do not display in the footer.
:doh: I forgot this feature. It will work again in the coming release.

Thanks for the feedback.

::Ben

Re: Purepro Theme for Geeklog 1.8.0

Posted on: 28/04/11 03:30pm
By: Laugh

Hey Ben,

I was working on my staticpage for my footer and I notice a few things in functions.php. You should probably use a few of the plugin api to access the staticpage plugin. Instead of:

PHP Formatted Code

    //Check if a staticpage with id: purepro_footer exists
        $footerpage = DB_query("SELECT sp_id FROM {$_TABLES['staticpage']} WHERE (sp_id='purepro_footer')");
        if (DB_numRows($footerpage) == 1) {
        $footer->set_var( 'purepro_footer', PLG_replaceTags(''));
    } else {
        $footer->set_var( 'purepro_footer', '');
    }
 


I would do something like this so that the draft and template variable would be taken into consideration for the staticpage plus this will make the code future proof if any staticpage table changes happen.

PHP Formatted Code
    $id = 'purepro_footer';
    if (PLG_getItemInfo('staticpages', $id, 'id') == $id) {
        $retval = '';
        $mode = '';
        $args = array(
                    'sp_id' => $id,
                    'mode'  => $mode,
                    'gl_svc' => ''
                     );
        $svc_msg = array();                    
        if (PLG_invokeService('staticpages', 'get', $args, $retval, $svc_msg) == PLG_RET_OK) {
            $footer->set_var( 'purepro_footer', $retval['sp_content']);
        } else {
            $footer->set_var( 'purepro_footer', '');
        }
    } else {
        $footer->set_var( 'purepro_footer', '');
    }  

Re: Purepro Theme for Geeklog 1.8.0

Posted on: 15/05/11 02:38pm
By: Laugh

Ignore the code fix in my last post. A better way to accomplish this would be:

PHP Formatted Code

    $id = 'purepro_footer';
    if (PLG_getItemInfo('staticpages', $id, 'id') == $id) {
        $footer->set_var( 'purepro_footer', PLG_getItemInfo('staticpages', $id, 'excerpt'));
    } else {
        $footer->set_var( 'purepro_footer', '');
    }  
 


You should also apply this to the purepro header staticpage code as well.

Re: Purepro Theme for Geeklog 1.8.0

Posted on: 16/05/11 02:51am
By: ::Ben

I wil use this one. Thanks,

Ben

Re: Purepro Theme for Geeklog 1.8.0

Posted on: 13/06/11 09:46am
By: Laugh

Hey Ben,

When do you think you will release the next version of the Purepro theme? I think the last one I have is Purepro 1.8.0 beta 2.

Thanks

Tom

Re: Purepro Theme for Geeklog 1.8.0

Posted on: 13/06/11 10:56am
By: ::Ben

Hi,

I'm working on it. Maybe a new release could be made next weekend...

Ben

Re: Purepro Theme for Geeklog 1.8.0

Posted on: 16/06/11 06:35am
By: ::Ben

Purepro Theme for Geeklog 1.8.0 is out.

Download Purepro base 1.8.0

Download or make your own customisation

See wiki for more info

Thanks,

Ben

Re: Purepro Theme for Geeklog 1.8.0

Posted on: 16/06/11 02:51pm
By: Laugh

Hey Ben,

Thanks for the update.

I notice a few things that need to get fixed Razz

In htmlheader.thtml you have an extra purepro directory for the favicon. It should be:

PHP Formatted Code
<link rel="SHORTCUT ICON" href="{layout_url}/images/favicon.ico"{xhtml}>


Also you mentioned removing the H1 tag from the logo text. it was still their and the header-logo-text class for the a tag was missing it should be:

PHP Formatted Code
<a href="{site_url}" title="{site_name}" style="text-decoration:none;" class="header-logo-text">{site_name}</a>


The footer also goes all the way across the screen and is missing the rss icon and the footer itself is missing completly from your site when I view my theme (23). Not sure what is happening here ... I will investigate a bit further.

Re: Purepro Theme for Geeklog 1.8.0

Posted on: 16/06/11 05:07pm
By: ::Ben

About the favicon, it must be store in the public_html/images now when using purepro theme
[new] Favicon must be store in the public_html/images folder (multi plugin)


I do not find any h1 tag in the header Confused:

As for the header you can now select diffent type of template for the footer

Header type
No header - No menu element
Header - Menu elements
Menu elements - Header
Header only
Menu elements only
Header outside container

Footer type
No footer
Traditional footer
Footer outside the container
Custom footer (static page)

Ben

Re: Purepro Theme for Geeklog 1.8.0

Posted on: 16/06/11 08:01pm
By: Laugh

I downloaded the new base and the h1 tag is in the logo-text.thml file:

PHP Formatted Code
<div id="header-site-logo-text"  style="display:{display_logo_text}">
        <h1><a href="{site_url}" title="{site_name}" style="text-decoration:none;">{site_name}</a></h1>
        <div id="header-site-slogan2" style="display:{display_site_slogan}">
                {site_slogan}
        </div>
</div>

Re: Purepro Theme for Geeklog 1.8.0

Posted on: 17/06/11 03:30am
By: ::Ben

Oops! something wrong with the archive. I need to check this.

Thanks for the feedback.

Ben

Re: Purepro Theme for Geeklog 1.8.0

Posted on: 17/06/11 06:18am
By: ::Ben

Purepro theme Version 1.8.0.1 is out
* [fix] h1 tag in header
* [fix] Title to id (javascript) comeback
* [fix] Comment layout

Ben

Re: Purepro Theme for Geeklog 1.8.0

Posted on: 17/06/11 10:09am
By: Laugh

Thanks for the quick update Ben.

I also figured out my footer problem. I am using the purepro_footer staticpage and I thought I needed to pick the custom footer option to use it which appears to display a bit differently this version.

I didn't realize that the traditional footer also allows use of a staticpage which fixed my problem. :shakehands:

Thanks

Tom


Re: Purepro Theme for Geeklog 1.8.0

Posted on: 17/06/11 11:02am
By: Laugh

I just notice that the rss icon link in the footer can display the wrong link to the rss file. It is pointing to geeklog.rss which I have changed to a different file name in the Admin Content Syndication page.

This may be a bug in Geeklog as your functions.php file looks like it is working fine. I will have to dig deeper when I get a chance.

Tom




Re: Purepro Theme for Geeklog 1.8.0

Posted on: 18/06/11 10:24am
By: Laugh

Ignore my last message. I had forgotten that there actual is a config option for Syndication Output Folder that contains the a default rss file name. I was thinking the file name would have automatically been grabbed from the Content Syndication Admin form.

Re: Purepro Theme for Geeklog 1.8.0

Posted on: 28/06/11 12:13pm
By: ::Ben

Purepro Version base 1.8.0.2 is out

[fix] story image padding
[fix] purepro css are load after all css files now
[new] mobile.css to allow small screen display. This is not yet perfect but you can get a preview on geeklog.fr with small screen (under 750px)

Ben

Re: Purepro Theme for Geeklog 1.8.0

Posted on: 28/06/11 04:57pm
By: Laugh

Do you just have to update the purepor base or should we download the other theme files as well?

Re: Purepro Theme for Geeklog 1.8.0

Posted on: 28/06/11 07:00pm
By: ::Ben

If you use a custom version it is always better to save and make a new download of your custom files to get all new features from the css.
We could imagine here a global update for all the themes but if the user do not want to upgrade it will be a issue.

Ben

private/data folder.

Posted on: 08/07/11 06:02am
By: Zippo

In the installation manual it says:
Upload the data/purepro folder in your private/data folder.


I do not seem to have a private/data folder...

Can somebody tell me where to put them?
or where that folder should be?


Zippo

Re: Purepro Theme for Geeklog 1.8.0

Posted on: 08/07/11 08:16am
By: ::Ben

Private folder is outside the web root where your backups, data, language, logs, plugins, sql, and system folders reside.

Ben

Re: Purepro Theme for Geeklog 1.8.0

Posted on: 08/07/11 08:21am
By: Anonymous

The private folder is not there...
Just copy to that location?

Re: Purepro Theme for Geeklog 1.8.0

Posted on: 08/07/11 08:50am
By: Laugh

I think Ben is using a little bit different setup.

On a normal Geeklog install look in the Geeklog root directory for the data directory. Upload your data in there. If you download your own custom theme from GeeklogFrance make sure to put the files in the number 1 directory.

Geeklog_Root\data\purepro\1

Re: Purepro Theme for Geeklog 1.8.0

Posted on: 08/07/11 09:24am
By: ::Ben

Yes sorry for the confusion. The "private" folder does not exist. Private is only the name I give to the folder outside the web root.

See pictures on the wiki.

Ben

Re: Purepro Theme for Geeklog 1.8.0

Posted on: 05/09/11 12:14pm
By: ::Ben

Purepro theme update is available. This release fix a bug for 3 columns layouts and was improve for big header.

Download last version

Ben

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