Bassman Themes
ImpressCMS & XOOPS Themes

Content Menu

Add Me!



Themes


(37 themes)

Headlines


Recent Headlines
responsive GOOGLE adsense design? XOOPS Factory
I just found an article which could be interesting for you, while you are using google adsense and a responsive layout with your xoops-website. Since May 23, 2013, Google now allows you to modificate Google adsense code to be responsive on your website! This was one argument not to use adsense on responsive layouts in [...]
Highlighting non-empty alphabet listing in XoopsT... XOOPS.Org
In XoopsTube we have a visual alphabetical listing of videos, so if you would like to see all videos starting with "B" you would click on the image with "B".

Unfortunately, this is not the most user-friendly feature, because we don't know if there is anything under "B".

So we needed to indicate the existence of videos by a changed background icon, as you can see below:

Original Image

The plan was to:

1) build an array of unique alphabet letters that have videos in the database

2) as we render the alphabet icons, check for each letter/digit if it is also in the above array, and if yes, change the icon image to the green one

XoopsTube renders the images in the function xoopstube_letters() located in /include/functions.php

As first we needed to extract the unique letters from the database and create the array:

$distinctDbLetters_arr = array();
    
$sql 'SELECT DISTINCT (UPPER(LEFT(title, 1))) AS letter FROM ' $xoopsDB->prefix('xoopstube_videos') ;
    if (
$result $xoopsDB->query($sql)) {
        while (
$row $xoopsDB->fetchArray($result)) {
            
$distinctDbLetters_arr[] = $row['letter'];
        }
    }
    unset(
$sql);


As second, we wanted to check for each alphabet letter and digit to see if it is represented in the database:

if (in_array($ltr$distinctDbLetters_arr)) {
            
$letterchoice
                
.= '<a class="xoopstube_letters xoopstube_letters_green" href="';
        } else {
            
$letterchoice
                
.= '<a class="xoopstube_letters" href="';
        }


And we had to create a new class in CSS that would pull the new image:

.xoopstube_letters_green {
    
background-imageurl(images/icon/backgnd_green.png);
}


Things to do in the future:

- cache the array created in (1), so we don't have to read it every time from the database, and updated it only if a new video is added

The main message from this tutorial is to make our modules more user-friendly by visually indicating status of information.

As always, if somebody has a better way to achieve it, please share it with us!
Make effective use of Salesforce CRM with Packt&#... Packt Publishing
About the author :
Paul Goodey: Paul Goodey is a Salesforce.com Certified Developer DEV-401 and has an experience of being a System Administrator, Developer, Business Analyst. He has been building solutions with Salesforce CRM since 2006 and also developing web technology solutions. He is an active member of the salesforce.com administrator and developer online community.
Build effective telephony systems using FreeSWITC... Packt Publishing
About the Authors:
Anthony Minessale is the primary author of FreeSWITCH and Director of Engineering for CudaTEL at Barracuda Networks. He created and continues to run the ClueCon Telephony Developers Conference, held every August in Chicago.
Michael S Collins is a PBX veteran, having worked as a PBX technician for five years and as the head of IT for a call center for more than nine years. He is an active member of the FreeSWITCH community and currently works for Barracuda Networks, Inc.
Python Libraries for Geospatial Development Packt Publishing
This article by Erik Westra the author of Python Geospatial Development - Second Edition, examines a number of libraries and other tools which can be used for geospatial development in Python.
More specifically, we will cover:
Python libraries for reading and writing geospatial data
Python libraries for dealing with map projections
Libraries for analyzing and manipulating geospatial data directly within your Python programs
Tools for visualizing geospatial data
Note that there are two types of geospatial tools which are not discussed in this article: geospatial databases and geospatial web toolkits. Both of these will be examined in detail later in this book.
Explore the new features of Powershell 3.0 using ... Packt Publishing
About the authors: Sherif Talaat : Working in the ICT industry since 2005, Sherif is a young computer science addict. He was one of the early adopters of Windows PowerShell in the Middle East and Asia. Sherif is the founder of the 'Egypt PowertShell User Group' and is the author of the only Arabic Powershell blog. He has been the recipient of the Microsoft Most Valuable Professional award for PowerShell every year since 2009.
Learn to create messaging solutions using Apache ... Packt Publishing
About the Author:
Henryk Konsek is a software engineer who has been working with Java-related technologies for six years. He is the committer for the Apache Camel project. His area of expertise is middleware and integration technologies. In his spare time Henryk enjoys riding downhill bikes. He is a dedicated father of two lovely daughters and husband to their awesome mom.
Apache ServiceMix is a flexible, open-source integration container that unifies the features and functionality of Apache ActiveMQ, Camel, CXF, ODE, Karaf into a powerful runtime platform that can be used to build integration solutions. It provides a complete, enterprise-ready ESB exclusively powered by OSGi.
Use xoops Block-positions like Widget areas? XOOPS Factory
While running WordPress, THEME Designer are used to use Widget Areas to place content of plugins. If the number of Widget Areas of a specific THEME is limited, it’s easy to define a new one. XOOPS uses blocks for the purpose of placing modul-blocks with modul-content. Xoops named it’s block-positions where they are “normaly” displayed [...]
IS YOUR XOOPS site responsive? XOOPS Factory
Did you ever visited your XOOPS-Site with a mobile device? What was your experience? How many of your visitors use mobile devices to access your website? What is their feedback? Did you ever asked your visitors? Did you read google thinking about changes in ranking of smartphone search result pages of sites misconfigured for smartphone [...]
Architecture of FreeSWITCH Packt Publishing
Welcome to FreeSWITCH! If you are reading this, then undoubtedly you are interested in things like telecommunications and Voice over Internet Protocol (VoIP). FreeSWITCH is revolutionary software created during a telephony revolution. Before looking at the architecture of this powerful software, let's take a look at the colorful world of telecommunications. This will help to put FreeSWITCH into perspective. This article is written by
In this article by ,Anthony Minessale,Michael S Collins,Darren Schreiber,Raymond Chandler, authors of IBM Cognos Workspace Advanced we will cover:
A telephony revolution
Advantages of FreeSWITCH
Endpoint and Dialplan modules
How FreeSWITCH simplifies complex applications like voicemail
Using Storyboards Packt Publishing
Getting started with Leaflet Packt Publishing
IBM Cognos Workspace Advanced Packt Publishing
So, what is Play? Packt Publishing
Cover theme ImpressCMS
XOOPS Council adds new members XOOPS.Org
I’m back, xoopsfactory is back XOOPS Factory
no need to use an extra div to clear float anymor... XOOPS Factory
xoops mainmenu in an unordered list with sublinks... XOOPS Factory
WordPress and XOOPS with XPressMe Integration Kit XOOPS Factory
Nominate XOOPS for Critics Choice CMS Awards XOOPS.Org
Theme Factory 7 - My new theme model to XOOPS XOOPS.Org
Xoops Saka Theme Free XOOPS.Org
Free XOOPS - Theme Sd-094-Blue-Print XOOPS.Org
News template Bootstrap FREE for Xoops XOOPS.Org
Splendio ImpressCMS
Retina: free responsive theme ImpressCMS
Xoopspoll v1.40 Beta 1 - Ready for Testing XOOPS.Org
gwiki 1.0 beta XOOPS.Org
YouTube plugin Installation in the TinyMCE editor XOOPS.Org
ImpressCMS 2.0.0 Alpha 2 now available ImpressCMS
imFAQ 1.0 RC ImpressCMS
Nova theme ImpressCMS
ImpressCMS Contributors - Retrospect Part 9 ImpressCMS
ImpressCMS Contributors - Retrospect Part 8 ImpressCMS
Moving the website to a new host ImpressCMS
Short maintenance on April 15th 9:00AM CET ImpressCMS
XOOPS WOX Newsletter (September 2012) XOOPS SourceForge
Presentation: OOP Adventures with XOOPS XOOPS SourceForge
XOOPS in the Press XOOPS SourceForge
XOOPS: 2.4.0 RC release XOOPS SourceForge
XOOPS 2.5.0 Alpha Released XOOPS SourceForge
XOOPS 2.4.4 FINAL Is Released XOOPS SourceForge
XOOPS 2.4.0 FINAL Is Released XOOPS SourceForge
XOOPS: 2.3.3 Final release XOOPS SourceForge
XOOPS 2.4.1 FINAL Is Released XOOPS SourceForge
XOOPS: 2.3.3 RC release XOOPS SourceForge
FTP経由サイト書き換え型ワームGumblar... PEAK XOOPS
Protector 3.4 PEAK XOOPS
人海戦術なSPAMをどう対策するか PEAK XOOPS

Projects