« QuickrTemplates.com gets its very own server, prep for more freebies | Main| Never thought I could love a pug »

Quickr blog - or QSite - and custom themes

QuickImage Category None

Greetings from sunny Florida

In the past week I've received two questions from IBMers working with clients on either the blog template in Quickr 8, or implementing QSite. Both had the same issue - when you change to a legacy theme or try to apply a custom theme, the "blog stuff" doesn't show up. Fortunately I already had a canned response, so I thought I would share it here. Note that this is not limited to the blog, some other templates have similar "injection" features.

If you want to use another theme, it must have specifically named divs in order for the code to insert the blog-specific elements. The legacy themes don't have these elements, so customer themes are required.

A development requirement was to create the blog template (and qblog inside qsite) without modifying the standard Quickr 8.0 theme.  There are three scripts that insert code into specific places in the theme (without modifying the theme itself).  For instance, look here at the QBlog Preferences Form:

if(!h_isBeingEdited){
                try{
                        var oDiv = dojo.byId("BlogWidgets");
                        var oTable = dojo.byId("Table7");
                        if(oTable){
                                dojo.dom.insertBefore(oDiv, oTable);
                        }else{
                                //This is to account for version 8.0.0.2
                                oTable = dojo.byId("Table4");
                                dojo.dom.insertAfter(oDiv, oTable);
                        }
                        oDiv.style.display = "";
                }catch(e){}
        }

It will work fine with a custom theme, as long as the custom theme has divs called Table7 or Table4, in the places where you would want the blog widgets (calendar and links) to go.  Same with the RSS link which is replaced.

There are several other places in the templates where we had to "inject" or replace standard theme code.


And keep in mind - all this changes with the upcoming release. We're working on it!

Comments

Gravatar Image1 - Hi, just wondering, did you create this blog using QuickR blogging capabilities? If not, do you kinow if QuickR allows you to make public blogs, or is it more for internal company usage?

Gravatar Image2 - No- this blog is BlogSphere from OpenNTF.

Quickr does allow you to have public blogs, there's a placebot to run to allow anonymous access.

Gravatar Image3 - hi Rob!

I'm just starting out in this quickr thing, and i'm wondering if quickr allows anonymous comments although the blog is not public?
hope you can help me out!

thanks!

Gravatar Image4 - Hi Rob - I'm new to Quickr as well. For Quickr Blogs, is there any way we can introduce blog tags for different kinds of posts?

Also, can we embed html codes within blog entries for different widgets, e.g. for short polls?

Thanks!!!

Backstage Pass to Ask

Be With the Band

Follow me on Twitter!


Opt in to receive Rob's semi-regular newsletter about Quickr, Sametime, Free Stuff and Conferences. Just enter your email address below, you can unsubscribe at any time.

Subscribe to my newsletters...
Email:

On With The Show

Here is a list of the SNAPPS templates for Lotus Quickr and other free resources on QuickrTemplates.com:
Templates:
QContacts
QIdeas
QIssues
QMeeting
QPhotos
QPresent
QProject
QSite
QSurvey

Utilities:
AnyPlace SiteMap
AnyPlace ServerMap
AnyPlace Designer for Dreamweaver

Apps:
PandaBear: Cross-Platform File Management
Flippr: Lightweight Quickr Admin Client
SnappFiles: iPhone Client for Quickr, Filenet, ICM...

Downloads: 118,490
Countries: 162
Read about the templates in Intranet Journal
NEW: Some of the templates are now bona-fide products for Quickr 8.5.1! Check out my Sep 23 2011 entry for more!

Search

Googleage

  • No Search Referers