Author Topic: Pre-Release Testing  (Read 10608 times)

0 Members and 1 Guest are viewing this topic.

Offline aboututila

Pre-Release Testing
« on: 12. July 2009, 02:21:47 »
[Update 20-Aug-2009 - To avoid confustion, I have changed the name of this topic, since this topic is related to pre-release test versions of mod_sobi2simplefeatured which were made available before the first public release of mod_sobi2simplefeatured v2.0.6]

[Update 10-Aug-2009 - mod_sobi2simplefeatured version 2.0.6 stable release is now available for download to Registered and Logged in Forum Members here]

I have almost completed updating (actually a major re-write for Joomla v1.5 native compliance) of the Simple Featured Entries Module.
I just need;
(a) a few people to test the module on their Joomla installations to ensure there are no undiscovered problems
, and,
(b) to update/complete I have now completed the supporting documentation.]

[Update 20-Jul-2009] bug found - SobiSEF URL's not being output with SobiSEF plug-in RC 1.4
[Update 22-Jul-2009] the bug is with SobiSEF plug-in RC 1.4, NOT this module
[Update 1-Aug-2009] SobiSEF plug-in bug fixed with SOBI version RC 2.9.2.2 and SobiSEF plugin RC 1.5

Module Name change
================
Because the original module name 'mod_sobi2featured' was very similar to the commercial SOBI2 Featured Listings plug-in Module name 'mod_sobi2_featured', I have changed the Module name to 'mod_sobi2simplefeatured' to avoid confusion for Administrators with both modules installed.
As a result, this is essentially a 'new' and different module from the original 'mod_sobi2featured'. You can have the two installed together, but you will need to create new CSS to style this module.

Joomla 1.0.x
=========
mod_sobi2simplefeatured is NOT compatible with Joomla 1.0.x.
It is just too much work to compensate for the lack of certain Joomla v1.5.x features in Joomla v1.0.x

Requirements
==========
The module requires Joomla 1.5.x and SOBI2 RC 2.8.x or later

Testing
=====
I have tested the module with Joomla 1.5.11 [UPDATE - 1-Aug-2009, Joomla 1.5.12, 1.5.13, 1.5.14] and SOBI2 RC 2.9.2.1 [UPDATE - 1-Aug-2009, SOBI2 RC 2.9.2.2] [UPDATE - 1-Aug-2009, Firefox 3.5, 3.5.1, IE 6, IE 7, IE 8]
I am inviting you to test this Release Candidate of mod_sobi2simplefeatured downloading it from the post (only available to logged in users) and by posting your feedback to this topic.
If you have any problems can you please provide a CLEAR DESCRIPTION of your system configuration and what the problem was.
Can you please give me some feedback, either positive or negative.

Module Configuration
===============
I have not yet written the documentation, but for those familiar with the original 'mod_sobi2featured' it should not be too difficult to work out how to configure the module. I am also hoping the module configuration is more 'self-evident' than the previous version. I am aware that many people, especially those who did not have English as a first language had difficulty configuring the previous version. This version supports Joomla 1.5.x language translations, so if anybody wants to help out with different language packs, then please contact me.

New Features
==========
New Features that have already been incorporated into this Release Candidate version of the module include;
- Added Module Parameter 'drop down' selection lists
- Added additional Show/Hide Module Output Controls (AlphaIndex View, Tag View, List of TaskViews)
- Added optional display of SOBI2 'Hit Counter' for each displayed entry
- Added optional filtering of selected entries by specified SOBI2 Category Id(s).
- Added Joomla v1.5.x module caching controls
- Added links to Entry Details views use SobiSEF FURL's (if SobiSEF plug-in enabled)

Technical Features
==============
- Compatible with Joomla v1.5.x native mode (no legacy mode plug-in required)
- Compatible with Joomla v1.5.x native SEF URL's
- Compatible with Joomla v1.5.x language files (module language packs possible)
- Compatible with Joomla v1.5.x Template Manager menu assignment
- Compatible with Joomla v1.5.x Module Output Templates (custom Module HTML output possible)
- Compatible with SOBI2 SobiSEF plug-in SEF URL's (output SobiSEF FURL's - if plug-in enabled) (Wow!)
- Compatible with SOBI2 Registry Editor (images_folder)
- Reduce SQL queries from (minimum of 2, maximum of 5) to (minimum of 1, maximum of 4)
- Reduce Module execution time and memory usage
- Module Output validates XHTML 1.0 Strict, CSS level 2.1

[UPDATE - 13-Jul-2009]
Test Release Candidate 2.0.1
======================
Bug fix - Module does not return SobiSEF plug-in URL's when Joomla installed in sub-directory AND .htaccess not configured to RewriteBase sub-directory path

[UPDATE - 14-Jul-2009]
Test Release Candidate 2.0.2
======================
Bug fix -Module does not return SobiSEF plug-in URL's when Joomla installed in sub-directory AND .htaccess not configured to RewriteBase sub-directory path.

[UPDATE - 27-Jul-2009]
Test Release 2.0.3
==============
Bug fix - 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

[UPDATE - 28-Jul-2009]
Test Release 2.0.4
==============
Bug fix - 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.

[UPDATE - 1-Aug-2009]
Test Release 2.0.5
==============
Bug fix - 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

[UPDATE - 4-Aug-2009]
Bug found - '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. Is fixed in release 2.0.6.

Please report any bugs to this posting!

Important
Uninstall previous module version before installing a new version using Joomla Administrator->Extensions->Install/Uninstall->Modules
Install new module version using Joomla Administrator->Extensions->Install/Uninstall->
(Copying/FTPing module installation package files may cause module errors).

Thank you - Mark
Subscribe to Announcements and News to be notified when Version 2.0.6 is released new versions are released.
[Update 10-Aug-2009  mod_sobi2simplefeatured version 2.0.6 stable release is now available for download to Registered and Logged in Forum Members here
(Attached Downloads (below) only available to Registered and Logged On Forum Users)
« Last Edit: 20. August 2009, 16:48:46 by aboututila »
Country: Honduras Honduras |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile


Offline retha

Re: !!New!! Version Test RC 2.0.0 (Joomla 1.5.x only)
« Reply #1 on: 13. July 2009, 11:40:11 »
Hi Mark,

Just installed it on Joomla 1.5.11, with SOBI RC2.9.2 and SOBI SEF RC1.3.  It works well - great enhancements!  Thanks for creating something so perfect for what I need.. :)

What I'd like to be able to do is use the SOBI SEF URLs when linking to the featured listings.  Is this at all possible?

R
Country: South Africa South Africa |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile

Offline aboututila

Re: !!New!! Version Test RC 2.0.0 (Joomla 1.5.x only)
« Reply #2 on: 13. July 2009, 17:04:44 »

What I'd like to be able to do is use the SOBI SEF URLs when linking to the featured listings.  Is this at all possible?

retha,
If the SobiSEF plug-in is installed and enabled, then the new module mod_sobi2simplefeatured should automatically be using the SOBI SEF URL's created by the plug-in for the links to the individual entries. There is nothing to configure to make this happen, it is built in to the module code.
Are you telling me that this is not happening with your installation of mod_sobi2simplefeatured?

Please advise - Mark
Country: Honduras Honduras |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile

Offline retha

Re: !!New!! Version Test RC 2.0.0 (Joomla 1.5.x only)
« Reply #3 on: 13. July 2009, 17:17:58 »
Hi Mark,

Thanks for your reply.  I've PM'd you a link - yes, the featured listings on the home (left and centre) and other pages (left) are using the standard SOBI urls, even though the SOBI SEF urls are used in the category pages.

R
Country: South Africa South Africa |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile

Offline aboututila

retha,

OK, I think I can see the problem.
In your test/development system you have Joomla installed in a subdirectory and your URL's are are output with the form
http://{my-domain.com}/{sub-directory-name}/index.php/etc,etc
and your template is setting the base URL to http://{my-domain.com}/{sub-directory-name}/

I have tested the module with Joomla installed in a sub-directory, but I have used .htaccess to 'hide' the sub-directory.
I am guessing it is an issue with the way SobiSEF works if Joomla is installed in a sub-directory path, and the name of the sub-directory path is exposed in the URL.

Can you please PM me a sample URL pair from your SOBI2 Administrator, SEF URL Manager, that points to one of your Entry Details Views.
I think I know how to fix the problem, but I would just like to look at your SobiSEF configuration data to have a higher degree of confidence.

Then, give me a little time to do some investigation and let me get back to you.

Regards - Mark
« Last Edit: 13. July 2009, 20:27:49 by aboututila »
Country: Honduras Honduras |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile

Offline aboututila

retha,

OK, I have worked through the SOBI2 sobi2Config code and found the cause of the problem.
The attached update of the module Test Release Candidate 2.0.0 (updated to 2.0.1) will hopefully fix the problem.
Can you please uninstall mod_sobi2simplefeatured Test Release Candidate 2.0.0 and install the attached Test Release Candidate 2.0.1

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

[UPDATE - 14-Jul-2009]
Test Release Candidate 2.0.2
======================
bugfix - Previous attempt to fix problem - Module does not return SobiSEF plug-in URL's when Joomla installed in sub-directory AND .htaccess not configured to RewriteBase sub-directory path, was not successful. Another attempt is incorporated in Test Release Candidate 2.0.2

Regards - Mark
« Last Edit: 14. July 2009, 16:31:28 by aboututila »
Country: Honduras Honduras |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile

Offline kenpachi01

hello firstable thank you for your good job , man you rock ( sincerly...)

i have a little problem with your great module and because my english is bad i make a little shema in attached file....( see below)


   
i would like to know if it's  possible to display only the fields that returns a value 1 and does not display at all the fields that have a value of 0

more I would like to know if there is a way to remove the value 1 when a field is visible. for more details just see the picture attached

thank you



« Last Edit: 14. July 2009, 01:26:52 by kenpachi01 »
Country: France France |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile

Offline aboututila

Conditional Output Display
« Reply #7 on: 14. July 2009, 01:20:29 »
kenpachi01,

What you describe is possible with the new mod_sobisimplefeatured, as the module is compatible with Joomla v1.5.x Module Output Templates (and therefore custom Module HTML output possible) .

(1) You would need to make a copy of the files;
{MyJoomlaInstallation}/modules/mod_sobi2simplefeatured/tmpl/default.php, and
{MyJoomlaInstallation}/modules/mod_sobi2simplefeatured/tmp/default.helper.php

save the copies in
{MyJoomlaInstallation}/modules/mod_sobi2simplefeatured/tmpl/

giving the copies a new Template name, such as 'my_custom_template'
so that in addition to the files;
{MyJoomlaInstallation}/modules/mod_sobi2simplefeatured/tmpl/default.php, and
{MyJoomlaInstallation}/modules/mod_sobi2simplefeatured/tmpl/default.helper.php

you now have the files
{MyJoomlaInstallation}/modules/mod_sobi2simplefeatured/tmpl/my_custom_template.php, and
{MyJoomlaInstallation}/modules/mod_sobi2simplefeatured/tmpl/my_custom_template.helper.php

(2) In the Module Parameters, go to Advanced Parameters and select Template 'my_custom_template' and save.

(3) Then edit {MyJoomlaInstallation}/modules/mod_sobi2simplefeatured/tmpl/my_custom_template.helper.php and make the necessary changes to the php code there.

If you do not understand PHP, give me a couple of days and I will make a Template for you which does what you want.
Do you understand?

Regards - Mark
Country: Honduras Honduras |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile

Offline kenpachi01

thanks for your reply!!!

i followed your tutorial but i don't understand enought php code to make the necessary changes ( my knowledge is really limited )


but i think i have understand some part of the code :




unction getHTML_CustomFields($params,$entry){

	
# Build Custom Fields HTML, if needed

	
 
# return html or NULL

	
	
if (!
$this->custom_field_ids){return NULL;}

	
	
$html="\n&#160; <div class='customfields'>"# Start Custom Fields wrapper division

	
	
foreach (
$this->custom_field_ids as $custom_field){

	
	
	
	
if (
$params->get('displayCustomFieldLabels')=='TRUE'){

	
	
	
	
 
$html.="\n&#160;&#160; <div class='C".$custom_field."'><span class='label'>".$entry['fieldLabel'.$custom_field]."</span><span class='separator'>".$params->get('LabelSeparator')."</span><span class='data'>".$entry['fieldId'.$custom_field]."</span></div>";

	
	
	
	
}

	
	
	
	
else

	
	
	
	
	
$html.="\n&#160;&#160; <div class='C".$custom_field."'>".$entry['fieldId'.$custom_field]."</div>";

	
 }

	
	
$html.="\n&#160; </div>"# End Custom Fields wrapper division

&#160; return $html;

	
}






I think I should handle the following code:


<span class='data'>".$entry['fieldId'.$custom_field]."</span







i tried to do something with "data' ( $database)


but i saw that ''data'' call SQL function (data_txt) and its for that i failed to find myself a solution.


If your module  display 1 ( true ) or 0 ( false) for checkbox field its because sobi2simplefeatured pick up informations directly in the sobi2 sql database where checkbox field are register with this values ( 1 = yes, 0=no)


anyaway i cant make this changes myself and  if you have some free time to make me this special template, i will appreciate your help very much.

thank you for all!!!


« Last Edit: 14. July 2009, 08:57:11 by kenpachi01 »
Country: France France |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile

Offline retha

retha,

OK, I have worked through the SOBI2 sobi2Config code and found the cause of the problem.
The attached update of the module Test Release Candidate 2.0.0 (updated to 2.0.1) will hopefully fix the problem.
Can you please uninstall mod_sobi2simplefeatured Test Release Candidate 2.0.0 and install the attached Test Release Candidate 2.0.1

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

Regards - Mark

Hi Mark,

Thank you so much for your answers and changes.  I have uninstalled the previous version of the module and installed the new one.  Firstly, it's in Debug mode (how do I get rid of that?) and then then URLs now miss a slash "/" before the sub-directory.  They are still not relating to my SOBI SEF URLs.  I have most entries in the SOBI listings as belonging to more than one category, for eg. they could be accommodation but also self-catering, etc.  I have left the SOBI SEF urls to have urls for all categories. I will PM you the SOBI SEF plugin config, URLs, and mod_sobi2simplefeatured setup in case that helps?

R
Country: South Africa South Africa |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile

Tags: