Author Topic: Documentation - mod_sobi2simplefeatured (Joomla 1.5.x only)  (Read 46364 times)

0 Members and 1 Guest are viewing this topic.

Offline aboututila

Also See
Introduction
Module Description
Module Features
Quick Start Guide
Compatibility
Module Installation
Module Configuration
Downloads
Change History
CSS Styling
JavaScript Effects
SOBI Clones
Warranty & Support
Sample Screen Shots
Demo Sites
Upgrading
Languages
Tips and Tricks
Module Template


Sehen Sie diese Informationen mit Google Translate (experimentell)
Voir cette information avec Google Translate (expérimental)
Ver esta información con Google Translate (experimental)

Module Type Name: mod_sobi2simplefeatured
Latest Version: 2.0.6

Introduction
This Module is a further development of mod_sobi2featured (Joomla 1.0.x) which was initially developed before the SOBI2 'Official' Featured Listings Plugin was released. The SOBI2 'Official' Featured Listings Plugin has since been released under a Commercial License (you have to pay for it). The 'Official' Plugin has the added benefits of being able to manage Featured Listings impression counts, number of hits, days to display Featured Listings, can position Featured Listings Vcard's above non-Featured entries on the SOBI2 Frontpage, etc.

mod_sobi2simplefeatured (Joomla 1.5.x only) is a upgrade of mod_sobi2featured (Joomla 1.0.x) and represents a major redevelopment of the original module with a complete re-write of the module code using more efficient and compact PHP coding, performance improvements, and features and functions that are only available in Joomla 1.5.x.

mod_sobi2simplefeatured (Joomla 1.5.x only) is available in two versions;
(i) mod_sobi2simplefeatured (Non-Commercial License) 'free-ware', and
(ii) mod_sobi2simplefeatured PRO (Commercial License) you have to pay for it.

The two versions are essentially identical, except the 'freeware' Non-Commercial version has the JavaScript effects disabled. The PRO version is not yet released (I need to work on an on-line payments system), but a 'sneak preview' of the PRO version can be seen at http://test.aboututila.com/sobi2

« Last Edit: 23. January 2010, 17:52:11 by aboututila »
Country: Honduras Honduras |  OS: Windows XP Windows XP |  Browser: Firefox 3.5.1 Firefox 3.5.1 | View Profile


Offline aboututila

Re: mod_sobi2simplefeatured - Module Description
« Reply #1 on: 06. August 2009, 16:43:19 »

Also See
Introduction
Module Description
Module Features
Quick Start Guide
Compatibility
Module Installation
Module Configuration
Downloads
Change History
CSS Styling
JavaScript Effects
SOBI Clones
Warranty & Support
Sample Screen Shots
Demo Sites
Upgrading
Languages
Tips and Tricks
Module Template

Module Description

A Module to display selected SOBI2 Entries in a Module.

SOBI2 Entries are selected by specifying SOBI2 Entry Selection criteria in the Module Parameters. The SOBI2 Entry Selection criteria is used to select those SOBI2 Entries where a user-specified SOBI2 Custom Field content match a user-specified Value.
If no matching Entries are found, no module content is displayed.
For each Entry selected, the SOBI2 standard fields 'Title', 'Icon', 'Image', 'Hits' can optionally be displayed together with an unlimited number of user-specified Custom Field data values, and an optional link to each Entry 'Details' View.

This Module is highly flexible. For basic operation of the Module only 2 Parameters need to be specified in the Module initial configuration, but over 50 other Parameters are available to further customize SOBI2 Entry selection and Module display.

« Last Edit: 10. August 2009, 20:37:18 by aboututila »
Country: Honduras Honduras |  OS: Windows XP Windows XP |  Browser: Firefox 3.5.2 Firefox 3.5.2 | View Profile

Offline aboututila

mod_sobi2simplefeatured (Joomla 1.5.x only) - Module Features
« Reply #2 on: 06. August 2009, 17:00:38 »

Also See
Introduction
Module Description
Module Features
Quick Start Guide
Compatibility
Module Installation
Module Configuration
Downloads
Change History
CSS Styling
JavaScript Effects
SOBI Clones
Warranty & Support
Sample Screen Shots
Demo Sites
Upgrading
Languages
Tips and Tricks
Module Template

Module Features

  • A user-specified value of a user-specified SOBI2 Custom Field is used to select which SOBI2 entries are eligible for display by this Module.
  • This Module does not create or modify any SOBI2 or Joomla Database tables.
  • This Module makes a minimum of 1, maximum of 3, database queries every time the module generates output (when Joomla caching is disabled).
  • Optional use of SQL 'LIKE' Operator (default is SQL '=' Operator) for Entry selection.
  • The maximum number of Entries to be displayed is specified in the Module configuration.
  • User-specified Sort Order of Entries displayed - Random, Date Created, Title, Hits, or User-specified Custom Field.
  • Optional display of module in SOBI Details, Category, Search, AlphaIndex, Tag, and/or other sobi2Task Views.
  • Optional display of the standard SOBI2 fields; 'Title', 'Icon', 'Image' and 'Hits'.
  • Optional display of an unlimited number of user-specified SOBI2 Custom Data fields.
    (The order in which the Custom Data fields are output is specified in the Module configuration)
  • Optional display of Custom Data Field Labels.
  • Optional linking of Title, and/or Icon, and/or Image, to the Details view of each SOBI2 entry.
  • Optional display of a text link, with user-specified 'link text', to the Details view of each SOBI2 entry.
  • Links to Details View are output as Joomla SEF URL's, (if Joomla 'Search Engine Friendly URLs' are enabled in Joomla Global Configuration)
  • Links to Details Views are output as SobiSEF FURL's, (if SobiSEF plugin is installed and enabled)
  • Optional 'Current Category Filter' - displays only those selected Entries which 'belong' to the category being displayed in the current SOBI2 'Category View'.
  • Optional 'Category ID(s) Filter' - displays only those selected Entries which 'belong' to user-specified SOBI2 Category(s).
  • Optional 'Filter Override' - if Filter(s) result in no Entries to display, Filter(s) are ignored.
  • Optional user-specified custom code (text, HTML, Javascript, etc) output before and/or after 'standard' module output.
  • Optional caching of Module output for improved Site performance, (if caching enabled in Joomla Global Configuration)
  • Module output is 'tableless', (module HTML is output in <div>'s, no <table>'s used).
  • Module output validates to XHTML 1.0 Strict, CSS level 2.1
  • Use user-specified styling in site Template(s) to style module output.
  • PRO version only - Optional and customizable JavaScript (Fader and Slider) effects. (Each selected Entry either 'fades' or 'slides' into view in the Module.

As with all Modules;
  • The Module can be copied with the Joomla Module Manager to enable different SOBI2 entries with different user-specified SOBI2 entry selection criteria to be displayed in different Module positions, and with different display configurations
  • A user-specified Module Class suffix allows user-specified CSS styling in the Site Template(s) for each instance of the Module.
  • The Module can be 'cloned' to work with SOBI2 clones.

« Last Edit: 10. August 2009, 20:38:21 by aboututila »
Country: Honduras Honduras |  OS: Windows XP Windows XP |  Browser: Firefox 3.5.2 Firefox 3.5.2 | View Profile

Offline aboututila

mod_sobi2simplefeatured (Joomla 1.5.x only) - Compatibility
« Reply #3 on: 06. August 2009, 18:29:54 »

Also See
Introduction
Module Description
Module Features
Quick Start Guide
Compatibility
Module Installation
Module Configuration
Downloads
Change History
CSS Styling
JavaScript Effects
SOBI Clones
Warranty & Support
Sample Screen Shots
Demo Sites
Upgrading
Languages
Tips and Tricks
Module Template

Compatibility

Joomla 1.5.x (Joomla! 1.5.11 or later recommended)
SOBI RC 2.8.x or later (SOBI2 RC 2.9.2.3 or later recommended)
If you can not meet these requirements, then use mod_sobi2featured (Joomla 1.0.x)


« Last Edit: 09. February 2010, 16:21:48 by aboututila »
Country: Honduras Honduras |  OS: Windows XP Windows XP |  Browser: Firefox 3.5.2 Firefox 3.5.2 | View Profile

Offline aboututila

« Last Edit: 11. August 2009, 01:12:29 by aboututila »
Country: Honduras Honduras |  OS: Windows XP Windows XP |  Browser: Firefox 3.5.2 Firefox 3.5.2 | View Profile

Offline aboututila

mod_sobi2simplefeatured (Joomla 1.5.x only) - Change History
« Reply #5 on: 06. August 2009, 19:08:30 »

Also See
Introduction
Module Description
Module Features
Quick Start Guide
Compatibility
Module Installation
Module Configuration
Downloads
Change History
CSS Styling
JavaScript Effects
SOBI Clones
Warranty & Support
Sample Screen Shots
Demo Sites
Upgrading
Languages
Tips and Tricks
Module Template

Change History

  • Version 2.0.6 - First Public Release
    Bugfix - 'Sort by Custom Field' list in module configuration parameters shows multiple/duplicate custom fields if more than one SOBI Language pack is/had been installed.
    Change - SOBI Entry Selection Algorithim. All entry selection, filtering, and sorting now done in a single SQL statement.
    Change - Reduce Number of SQL statements from 4 maximum to 3 maximum.
                 One SQL statement used for all Entry selection, filtering and sorting.
                 One SQL statement used if Filtering returns ZERO results, but Filter Override=Yes.
                 One SQL statement used if displaying Custom Fields data.
    Change - 'Sort by Custom Field' no longer needs to be a displayed Custom Field.
                 Can use any Custom Field in current SOBI2 Language to sort selected Entries.
    Added - Sort Order - Hits Counter ascending and descending
    Added - Sort Order - Date Edited ascending and descending
  • Test Release 2.0.5
    Bugfix - in Test Release 2.0.4 (and maybe older versions). If there are Custom Fields to display, Module ignores 'Display it?=No' setting for the third Custom Field set in 'Output Controls - SOBI2 custom data fields' and displays third Custom Field in Module Output.
    Added - improve performance and reduce memory usage
    Added - tested with SOBI version RC 2.9.2.2 and SobiSEF plugin RC 1.5
  • Test Release 2.0.4
    Bugfix - Custom Field lists in module configuration parameters showed multiple/duplicate custom fields if more than one SOBI Language pack is/had been installed.
    Added - Custom Field lists in module configuration parameters only show custom fields from language currently selected in SOBI2->Configuration->General Configuration->SOBI2 Language.
  • Test Release 2.0.3
    Bugfix - database query error (not passing variables as strings), caused database error message if 'the Value' parameter was anything other than a number.
    Added - correct module and helper version information
    Added - 'improved' Parameter configuration layout
    Added - JavaScript Effects configuration (PRO version Only)
                Note: PRO version of module is not yet available for Public Testing
  • Test Release Candidate 2.0.2
    Bugfix -Module does not return SobiSEF plug-in URL's when Joomla installed in sub-directory AND .htaccess not configured to RewriteBase sub-directory path.
  • Test Release Candidate 2.0.1
    Bugfix - Module does not return SobiSEF plug-in URL's when Joomla installed in sub-directory AND .htaccess not configured to RewriteBase sub-directory path

« Last Edit: 11. November 2010, 19:47:45 by aboututila »
Country: Honduras Honduras |  OS: Windows XP Windows XP |  Browser: Firefox 3.5.2 Firefox 3.5.2 | View Profile

Offline aboututila

mod_sobi2simplefeatured (Joomla 1.5.x only) - Module Installation
« Reply #6 on: 06. August 2009, 19:43:35 »

Also See
Introduction
Module Description
Module Features
Quick Start Guide
Compatibility
Module Installation
Module Configuration
Downloads
Change History
CSS Styling
JavaScript Effects
SOBI Clones
Warranty & Support
Sample Screen Shots
Demo Sites
Upgrading
Languages
Tips and Tricks
Module Template

Module Installation

Install the Module in the usual manner
(Refer Joomla Documentation - Installing an Extension).

1.0 In the Joomla Administrator->Extensions->Install/Uninstall
     Download and install the module package mod_sobi2simplefeatured zip file in the normal manner.

1.1 In Joomla Administrator->Extensions->Module Manager
     Find the module mod_sobi2simplefeatured 'sobi2 Simple Featured Listings'
     Open the module for editting

2.0 Now read the Module Configuration Instructions
     Note: The module cannot display any output until the Module Parameters;
     (i) 'Select Entries where Custom Field'
     (ii) 'the Value'
     have been configured.

« Last Edit: 10. August 2009, 20:52:01 by aboututila »
Country: Honduras Honduras |  OS: Windows XP Windows XP |  Browser: Firefox 3.5.2 Firefox 3.5.2 | View Profile

Offline aboututila

mod_sobi2simplefeatured (Joomla 1.5.x only) - Module Configuration
« Reply #7 on: 06. August 2009, 19:53:25 »

Also See
Introduction
Module Description
Module Features
Quick Start Guide
Compatibility
Module Installation
Module Configuration
Downloads
Change History
CSS Styling
JavaScript Effects
SOBI Clones
Warranty & Support
Sample Screen Shots
Demo Sites
Upgrading
Languages
Tips and Tricks
Module Template

Module Configuration

In this Section
Parameters List
Module Parameters
SOBI2 Entry Selection (Note: Important! - These Parameters must be configured for the Module to produce any output.)
Output Controls - Module Title
Output Controls - Module Output in SOBI2 Views
Output Controls - SOBI2 standard data fields
Output Controls - SOBI2 custom data fields
Output Controls - Text Link to Details View
Output Controls - Limit and Filters
Output Controls - Sorting Order
Output Controls - JavaScript Effects (PRO version Only)
Advanced Parameters

The module is configured by the Joomla Administrator
(a) In Joomla Administrator->Extensions->Module Manager
(b) Find the module mod_sobi2simplefeatured 'sobi2 Simple Featured Listings'
    Open the module for editing

Module configuration parameters are divided into a number of sections.

Note: The sections; Details, and Menu Assignment, are standard Joomla module configuration parameters and will not be discussed in these instructions. (At the time of writing the Joomla 1.5.x Administrator's Manual does not contain instructions on configuring standard Joomla module parameters. The Joomla 1.0.x Administrator's Manual for the Module Manager may provide useful advice.)

The section, Parameters, and highlighted in red above, are module configuration parameters specific to mod_sobi2simplefeatured.

[Parameters List]
Module Parameters

  • Module Class Suffix
    This suffix is appended to the class name of the HTML element containing the entire module and allows individual CSS styling of the entire module.
    The class name of the HTML Element containing the entire module varies according to the module chrome.
    Note: Joomla 1.0.x strips leading spaces from module parameters, resulting in class='ModuleChromeClassNameModuleClassSuffix', however Joomla 1.5.x allows leading spaces in module parameters, and therefore enables more flexible CSS styling (ie: class='ModuleChromeClassName ModuleClassSuffix')

  • Contents Wrapper Suffix
    This additional class is added to the class name (class='mod_sobi2simplefeatured') of the HTML div containing the displayed entries, allowing individual module contents CSS styling.
    Note: Joomla 1.0.x strips leading spaces from module parameters, resulting in class='mod_sobi2simplefeaturedContentsWrapperClass', however Joomla 1.5.x allows leading spaces in module parameters, and therefore enables more flexible CSS styling (ie: class='mod_sobi2simplefeatured ContentsWrapperClass')


[Parameters List]
SOBI2 Entry Selection

Note: Important! - The following Parameters must be configured for the Module to produce any output.

  • Select Entries where Custom Field
    Select the Custom Field you want to use for Entry selection from the 'drop-down' list.
    Note: The Custom Fields shown in the 'drop-down' list are those that belong to the English Language
    Administrator->Extensions->SOBI2->Configuration->Custom Fields Manager->Language
    (Refer Languages Configuring mod_sobi2simplefeatured when using a SOBI2 language other than English if you are using a language other than English)

  • contains a value
    If set to 'Equal to', Module selects Entries with Custom Field exactly equal to the Value specified in the module Parameter 'the Value' (see below).
    If set to 'Like (SQL LIKE)', Module selects Entries using SQL 'LIKE' Operator and 'the Value' for simple pattern matching.
    Note: Refer SQL LIKE Operator for simple pattern matching syntax.

  • the Value
    Enter the value used to select entries.
    This Value will be used to select all SOBI2 Entries, where the contents of the Custom Field specified above is either, (depending on the Parameter 'contains a value') 'Equal to' or 'Like (SQL LIKE)' this Value.

        For Example:
        if Custom Field = field_country AND 'contains a value' = 'Equal to' AND 'the Value' = France,
          then all Entries with field_country=France will be selected.

        if Custom Field = field_country AND 'contains a value' = 'Like (SQL LIKE)' AND 'the Value' = F%,
          then all Entries with field_country=Fiji and field_country=France and field_country=Finland will be selected.

Also see: Tips and Tricks: Using Module Parameter - SOBI2 Entry Selection

[Parameters List]
Output Controls - Module Title

  • Show Module Title if no Entries output
    Select 'No' if the Module Title should not be shown when there are no Entries to be output.
    Select 'Yes' and the Module Title will be output according to the Details - 'Show Title:' setting.
    Note: This control only overrides the Details - 'Show Title:' setting when there are no Entries to be output or when the 'Module Output in SOBI2 Views' = No.


[Parameters List]
Output Controls - Module Output in SOBI2 Views

Note: About SOBI Views
The SOBI2 Component generates output in different SOBI2 Views.
The most common views are;
 (a) Main/FrontPage View - the SOBI2 Main/Frontpage(s),(not Joomla FrontPage), (where the SOBI V-Card Template is output.)
 (b) Details View - show the details of one entry, (where the SOBI Details View Template is output)
 (c) Search View - specify searches and view search results,
 (d) Category View - browsing through categories and sub-categories of entries, (where the Category Dependent Overwrite Templates are output)
 (e) Alpha Index View - show entries titles and category names beginning with a specific letter,
 (f) Tag View - show entries and categories with Meta Info matching a meta keyword value,
 (g) addNew View - show Add New Entry Form, (where the SOBI Add/Edit Entry Form Template is output.)
 (h) editSobi View - Show Edit Entry Form, (where the SOBI Add/Edit Entry Form Template is output.)
 but other Views are possible.

  • SOBI Main/FrontPage
    When SOBI2 is displaying this View,
    Select 'Yes' and the Module will produce output.
    Select 'No" and the Module will produce no output.

  • Details View
    When SOBI2 is displaying this View,
    Select 'Yes' and the Module will produce output.
    Select 'No" and the Module will produce no output.

  • Category View
    When SOBI2 is displaying this View,
    Select 'Yes' and the Module will produce output.
    Select 'No" and the Module will produce no output.

  • Alpha Index View
    When SOBI2 is displaying this View,
    Select 'Yes' and the Module will produce output.
    Select 'No" and the Module will produce no output.

  • Tag View
    When SOBI2 is displaying this View,
    Select 'Yes' and the Module will produce output.
    Select 'No" and the Module will produce no output.

  • Search View
    When SOBI2 is displaying this View,
    Select 'Yes' and the Module will produce output.
    Select 'No" and the Module will produce no output.

  • Output in Task View(s)
    Enter a comma separated list of additional SOBI2 task names where the Module will produce output (For Example; sobi2Tasks associated with Special Links.)
    Note: If sobi2Tasks; sobi2Details, search, axSearch, are specified here they will override the corresponding Details and Search View settings above.

Note: For more sophisticated methods of outputting the module depending on the SOBI2 information currently being displayed, refer;
http://www.metamodpro.com/
http://www.metamodpro.com/support/recipes/36-component-specific/96-control-modules-on-sobi2-pages

[Parameters List]
Output Controls - SOBI2 standard data fields

  • Title
    Select 'No' to not display the Title field of each Entry.
    Select 'Yes' to display the Title field of each Entry.
    Select 'and link to Details View' to display the Title field of each Entry and link it to the Details View for that Entry.

  • Icon
    Select 'No' to not display the Icon of each Entry.
    Select 'Yes' to display the Icon of each Entry.
    Select 'and link to Details View' to display the Icon of each Entry and link it to the Details View for that Entry.
    Note: For mod_sobi2simplefeatured v2.0.6 refer Bug and Error Reports - Default Image or Icon not displayed for Selected Entries

  • Image
    Select 'No' to not display the Image of each Entry.
    Select 'Yes' to display the Image of each Entry.
    Select 'and link to Details View' to display the Image of each Entry and link it to the Details View for that Entry.
    Note: For mod_sobi2simplefeatured v2.0.6 refer Bug and Error Reports - Default Image or Icon not displayed for Selected Entries

  • Hits Counter
    Select 'Yes' to display the SOBI Hits Counter of each entry.

  • Hits Counter Text
    The text entered here will be displayed before the Hits Counter value.
    Note: Only active if 'Display Hits Counter = Yes'.
    Note: Joomla strips trailing 'blanks' or 'spaces' from content entered here, so if you need text with a trailing 'blank' or 'space' enter your text wrapped with HTML <span> tags.
    Note: The default value for this parameter is set to <span>Hits : </span>.

[Parameters List]
Output Controls - SOBI2 custom data fields

  • Custom Field
    Select a Custom Field to display from the drop-down list.
    Note: Selected Custom Field is only displayed if 'Display it?'= 'Yes' (see below)
    Note: The order in which Custom Fields are selected in the three 'Custom Field' parameters is the order they will be displayed in the Module output.

  • Display it?
    Select 'Yes' to display the Custom Field data of the Custom Field specified in 'Custom Field' parameter (see above).

Additional Custom Field(s) to Display
  • Custom Field ID(s)
    Enter a list of comma separated Custom Field ID values (a CSV list).
    Note: The Custom Fields with these ID's will be displayed after the Custom Fields specified in 'Custom Field' (see above).
    Note: The order in which you enter the Custom Field ID's is the order in which they will be displayed in the module output.

  • Display Custom Field Labels
    Select 'Yes' to Display the Custom Field Labels.
    Note: Custom Field Labels will only be displayed if there are Custom Fields to be displayed.
    Important: Administrator->Extensions->SOBI2->Configuration->General Configuration->SOBI2 Language

    and Joomla Administrator->Components->SOBI2->Configuration->Custom Fields Manager

    must be set to the same language.

  • Label Separator
    Enter the text characters and/or HTML entities used to separate the Label text from the Custom Field data.
    Note: Custom Field Label Separator will only be displayed if there are Custom Fields to be displayed and 'Display Custom Field Labels = Yes'.
    Note: Joomla strips trailing 'blanks' or 'spaces' from content entered here, so if you need text with a trailing 'blank' or 'space' enter your text wrapped with HTML <span> tags.
    Note: The default value for this parameter is set to <span> : </span>.

[Parameters List]
Output Controls - Text Link to Details View

  • Text Link
    Select 'Yes' to display the text entered in parameter 'Link Text' (see below) as a link to the Details View of each Entry.

  • Link Text
    The text (or HTML) entered here will be displayed as a Link to the Details View of each Entry.
    Note: Only active if 'Text Link = Yes' (see above).
    Note: The default value for this parameter is set to 'More Information'.

« Last Edit: 17. August 2011, 19:49:22 by aboututila »
Country: Honduras Honduras |  OS: Windows XP Windows XP |  Browser: Firefox 3.5.2 Firefox 3.5.2 | View Profile

Offline aboututila


Also See
Introduction
Module Description
Module Features
Quick Start Guide
Compatibility
Module Installation
Module Configuration
Downloads
Change History
CSS Styling
JavaScript Effects
SOBI Clones
Warranty & Support
Sample Screen Shots
Demo Sites
Upgrading
Languages
Tips and Tricks
Module Template

Module Configuration - (continued)
This Forum restricts the number of attachments for each post to a maximum of 10 attachments, so the Module Configuration instructions have been continued in this posting.

[Parameters List]
Output Controls - Limit and Filters

Limit Number of Entries to be output
  • Limit
    Limit for the maximum number of Entries to be output.
    If value is a positive integer, the Module will limit the number of Entries output to that value.
    If value is '0', then Module will produce no Output.
    Note: The default value for this parameter is set to 10.

Filters
  • Current Category Filter
    Select 'Yes' and only those Selected Entries belonging to the currently viewed Category will be output.
    Note: Only active when SOBI Component is displaying a Category View.

  • Category ID(s) Filter
    Enter a list of comma separated Category ID values (a CSV list).
    Only Selected Entries belonging to Categories with these ID's will be output.
    Note: This filter is in addition to the 'Current Category Filter' (if active).

  • Filter Override
    If Filtering results in ZERO Selected Entries to display, then ignore the Filters.
    Note: Only active if Filtering is active.

[Parameters List]
Output Controls - Sorting Order

  • Output Entries sorted by
    Select the order in which each Entry should be output from the drop-down list.

    Note: The default value for this parameter is set to 'Random'.
    Note: For 'Random' sorting, the module is using the standard SQL ORDER BY RAND() function.
    This function is known to be inefficient on large databases (10,000 or more SOBI entries) and a large number of selected Entries (say 100 or more). If you suspect the module is performing slowly when 'Output Entries sorted by'=Random, can I please request you do four things;
    (i) Enable the module parameter 'Display Module Execution Statistics'.
    (ii) Note the Module Execution Time.
    (iii) Set 'Output Entries sorted by' to anything other than Random and Note the Module Execution Time.
    (iv) If there is a significant difference between the two Module Execution Times, (say by a factor of 10 or more), then please PM me so I can work with you to implement higher performance SQL 'Random' sorting.

  • Sort by Custom Field
    Select the Custom Field which will used to sort the Entries.
    Note: Ignored if 'Custom Field: ascending' or 'Custom Field: descending' is not selected in parameter 'Output Entries sorted by' (see above) .

[Parameters List]
Output Controls - JavaScript Effects (PRO version Only)

Screen shot from version 2.0.7 shown above
  • Enable Effect
    Select which JavaScript Effect to enable, or Select 'None' for no effects.

  • Window Height (px)
    Enter an integer value for the height in pixels (px) of the 'viewing window' sufficient to display the 'largest' entry output.
    Note:  The number entered here will be applied as a pixel height to 'viewing window' through which each entry is displayed. If the display of your entries are being 'clipped' then increase the value of this parameter.
    Note: You can set this value in your Site Template(s), but if a value is entered here it will override your Site Template(s). Refer Module documention for CSS styling of Javascript effects.

  • Background color (v2.0.6 only)
    Enter any value that can be used with the CSS property 'background-color'. This color will be applied to the background the 'viewing window' and each Entry displayed.
    Note: Version 2.0.6 JavaScript Effects require a background color other than 'transparent' be used, otherwise previous Entries will be visible.

  • Slider Direction
    Select a Direction from the drop-down list for the 'Slider' Effect.
    Note: Only active when the 'Slider' Effect is selected.

  • Auto Transition
    Select 'Yes' for each Entry to automatically transition into the 'viewing window'. If 'No', the next Entry will not transition into the 'viewing window' until an Entry number in the 'Entry Selector' controls is click on.

  • Transition Speed
    Select a speed from the drop-down list. This will be the speed of the transition between the display of one Entry and the next Entry.

  • Transition Pause
    Select the amount of time to Pause before beginning the transition of the next Entry into the 'viewing window'.
    Note: Only active when 'Auto Transition = Yes'.

  • Transition Type (v2.0.7 and later)
    Select Mootools Fx.Transition Type.
    Note: Refer http://www.mootorial.com/wiki/mootorial/06-fx/03-fx.transitions for details and demos of each transition type

  • Pause Transition on mouse-over  (v2.0.7 and later)
    If Yes, then if the mouse pointer enters the 'viewing window' area the Transitions between entries are paused. When the mouse pointer leaves the 'viewing window' area the Transitions continue.
    Note: Only active when 'Auto Transition = Yes'.

  • Display Controller (v2.0.7 and later)
    If Yes, A 'Controller' with NEXT and PREVIOUS 'Buttons' is displayed below the Entry 'viewing window'. When either Controller 'Button' is clicked on, Auto Transition is halted. If Controller NEXT 'Button' is clicked on, the next Entry is transitioned into 'viewing window'. If Controller PREVIOUS 'Button' is clicked on, the previous Entry is transitioned into 'viewing window'.
    Note: If 'Auto Transition = Yes' and 'Pause Transition on mouse-over = Yes', then Auto Transition will be restarted if mouse pointer enters and then leaves the 'viewing window' area.

  • Use Text 'Buttons' (v2.0.7 and later)
    If Yes, the NEXT and PREVIOUS 'Buttons' will be displayed using the text defined in the parameters described below. If No, then 'Buttons' will not be visible until appropriate CSS styling has been added to Module effects.css file.
    Note: NEXT and PREVIOUS 'Buttons' are each output as an HTML anchor with the 'Button' text being the text between the anchor start and end tags.
    Note: This feature is provided so that background images can be used for 'textless' NEXT and PREVIOUS 'Buttons'.
    Note: Refer JavaScript Effects - CSS Styling for CSS Styling of Controller NEXT and PREVIOUS 'Buttons'.

  • Next 'Button' (v2.0.7 and later)
    Enter Text or HTML to be displayed as Controller NEXT 'Button'.
    Note: Controller NEXT 'Button' is output as an HTML anchor with the 'Button' text being the text between the anchor <a> and </a> tags.

  • Previous 'Button' (v2.0.7 and later)
    Enter Text or HTML to be displayed as Controller PREVIOUS 'Button'.
    Note: Controller PREVIOUS 'Button' is output as an HTML anchor with the 'Button' text being the text between the anchor <a> and </a> tags.


Also see JavaScript Effects - Description
Also see JavaScript Effects - CSS Styling

[Parameters List]
Advanced Parameters

Custom Code
  • Pre-Text
    The content entered here (Text, HTML, JavaScript) is output before the 'normal' module content and is enclosed by the HTML division <div class="PreText"></div>
    Note: The contents of this parameter can be plain text, HTML or JavaScript.
    Note: If there is no 'normal' module output, the contents of this parameter will not be output.

  • Post-Text
    The content entered here (Text, HTML, JavaScript) is output after the 'normal' module content and is enclosed by the HTML division <div class="PostText"></div>.
    Note: The contents of this parameter can be plain text, HTML or JavaScript.
    Note: If there is no 'normal' module output, the contents of this parameter will not be output.

Module Cache Control
  • Caching
    Select whether to cache the content of this module from the drop-down list.
    Note: 'Use global' setting uses Joomla - Global Configuration - Cache Settings.
    Note: Module content is ALWAYS cached when Joomla plugin 'System - Cache' is enabled.
    Important: If you are using Joomla Global Caching with JavaScript Effects enabled, read Joomla Caching Issues.

  • Cache Time
    The period of time (in minutes) before the module is re-cached.
    Note: Overrides Joomla - Global Configuration - Cache Settings - Cache Time

Module Output Template
  • Template
    Select HTML output template.
    Note: The default value for this parameter is set 'default', which is the default template provided with the module installation package.
    Note:  For Developers - this module uses JModuleHelper::getLayoutPath to get custom Templates from the module's tmpl Folder. This parameter will display a list of all php files in the mod_sobi2simplefeatured module folder /tmpl that do not have the string '.helper' in the file name. Refer Module Documentation - Custom Templates, for more information about customizing mod_sobi2simplefeatured layouts.

Debug and Performance
  • Display Module Execution Statistics
    Select 'Yes' to display Module Execution Statistics.
    Note: Module Execution Statistics are output after the last Entry displayed and after the contents (if any) of the parameter 'Post-Text'.
    Note: If there is no 'normal' module output, Module Execution Statistics will not be displayed.

« Last Edit: 11. November 2010, 19:32:23 by aboututila »
Country: Honduras Honduras |  OS: Windows XP Windows XP |  Browser: Firefox 3.5.2 Firefox 3.5.2 | View Profile

Offline aboututila

mod_sobi2simplefeatured (Joomla 1.5.x only) - CSS Styling
« Reply #9 on: 07. August 2009, 18:23:39 »

Also See
Introduction
Module Description
Module Features
Quick Start Guide
Compatibility
Module Installation
Module Configuration
Downloads
Change History
CSS Styling
JavaScript Effects
SOBI Clones
Warranty & Support
Sample Screen Shots
Demo Sites
Upgrading
Languages
Tips and Tricks
Module Template

CSS Styling

You will need a basic understanding of CSS to proceed.
w3schools.com CSS provides an excellent introduction to CSS.
Refer CSS Reference for more information.
CSS styling for mod_sobi2simplefeatured assumes the reader has a basic understanding of how to modify the CSS in the Joomla site Template(s), usually located in {myJoomlaSite}/templates/{templateName}/css/template_css.css
Refer Joomla Template Tutorial for more information.

mod_sobi2simplefeatured has been designed so that all HTML output by the module is readily accessible for CSS styling via the site Template(s). (The module outputs almost all HTML elements with 'class= ' in the tags).

In order to determine how to specify/design the module CSS for your site Template(s), it is probable easiest to install the module and then view the resulting HTML from the Joomla front-end in your browser using your Browser 'View Source' command. This is because the form of the HTML output by the module is variable (dependent on several of the module configuration settings) and the Joomla module chrome.

When viewing the resulting HTML, the mod_sobi2simplefeatured output can be located by looking for the HTML between the HTML comments;
<!-- Start Module mod_sobi2simplefeatured version information-->
<!-- End Module mod_sobi2simplefeatured -->

Example Module HTML Output
The following is an attempt to document the form of the HTML output by the module with Javascript effects not enabled.

Note: The output of the entire module is dependent on the Site Template and Module Chrome
Note: The following assumes a Module Chrome consistent with style='xhtml' then the entire module output will be of the following form;

<!-- comments to explain the Module CSS styling -->
<!-- these comments are not in the output HTML-->

<div class="moduletableModuleClassSuffix"> <!-- depends on module chrome -->
<!--where ModuleClassSuffix=Module Parameter 'Module Class Suffix' value-->

  <h3>Joomla Module Title</h3> <!-- depends on module chrome -->
  <!--where Joomla Module Title=display of Joomla Module Title-->
  <!--output depends on 'Output Controls - Module Title' parameter configuration-->

  <!--The mod_sobi2simplefeatured Module contents are then output in a 'tableless' format-->

  <div class="mod_sobi2simplefeaturedContentsWrapperSuffix">
  <!--where ContentsWrapperClass=Module Parameter 'Contents Wrapper Suffix' value-->

  <div class="Pre-Text">Parameter - Pre-Text content</div>
  <!-- Not output if Module Parameter 'Pre-Text' has no content -->

    <div class="entry"> <!--Start repeated for each Selected Entry-->

      <div class="title"><a>title</a></div>
      <!--where title=display of Entry Title-->
      <!--where <a></a> depends on Module Parameter 'and link to Details View'-->
      <!--Not output if Module Parameter Output Controls - SOBI2 standard data fields 'Title=No'-->

      <div class="icon"><a>icon</a></div>
      <!--where icon=display of Entry Icon image-->
      <!--where <a></a> depends on Module Parameter 'and link to Details View'-->
      <!--Not output if Module Parameter Output Controls - SOBI2 standard data fields 'Icon=No'-->
      <!--or-->
      <div class="noicon"></div>
      <!-- if Module Parameter Output Controls - SOBI2 standard data fields 'Icon=Yes', but no Icon exists for this entry-->

      <div class="image"><a>image</a></div>
      <!--where image=display of Entry Image image-->
      <!--where <a></a> depends on Module Parameter 'and link to Details View'-->
      <!--Not output if Module Parameter Output Controls - SOBI2 standard data fields 'Image=No'-->
      <!--or-->
      <div class="noimage"></div>
      <!-- if Module Parameter Output Controls - SOBI2 standard data fields 'Image=Yes', but no Image exists for this entry-->

      <div class="customfields"> <!-- Start custom data fields output for this entry-->
      <!--Not Output if no custom data fields to output-->

        <div class="CCustomFieldId"> <!-- Start individual custom data field output-->
        <!-- Repeated for each Custom Field -->
           <span class="Label">LabelData</span>
           <!-- Not output if Module Parameter 'Display Custom Field Labels=No'-->

           <span class="separator">LabelSeparatorText</span>
           <!-- Not output if Module Parameter 'Display Custom Field Labels=No' -->

           <span class="data">CustomFieldData</span>
        </div> <!-- End individual custom data field output-->
      </div> <!-- End custom data fields output for this entry-->

      <div class="link"><a class="link">LinkText</a></div>
      <!--where LinkText is Module Parameter 'Link Text'-->
      <!--Not output if Module Parameter 'Text Link=No'-->

      <div class="hits">
        <span class="text">
HitsCounterText</span>
        <span class="value">
HitsCounter<span>
      </div>

      <!--where HitsCounterText is Module Parameter 'Hits Counter Text'-->
      <!--where HitsCounter = Entry 'Hits Counter' value-->
      <!--Not output if Module Parameter 'Hits Counter=No'-->

    </div> <!--End repeated for each Selected Entry-->

  <div class="Post-Text">Parameter - Post-Text content</div>
  <!-- Not output if Module Parameter 'Post-Text' has no content -->

  <div class="statistics">Module Performance Statistics data</div>
  <!-- Not output if Module Parameter 'Display Module Execution Statistics=No' -->

  </div> <!--End class="sobi2simplefeaturedContentsWrapperSuffix"-->
</div> <!-- End class="moduletableModuleClassSuffix"-->

Define your own CSS styling in your site Template(s) based on the above HTML model
Also refer - CSS styling of JavaScript Effects
Also refer - Tips and Tricks: CSS Styling - Displaying Entries 'side-by-side'

« Last Edit: 14. August 2009, 18:10:24 by aboututila »
Country: Honduras Honduras |  OS: Windows XP Windows XP |  Browser: Firefox 3.5.2 Firefox 3.5.2 | View Profile

Tags: