PHP-GTK2 Cookbook Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Problem - mosloadposition for section descripti (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Problem - mosloadposition for section descripti


#270
Quan (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Problem - mosloadposition for section description 4 Years, 11 Months ago Karma: 0  
I have a problem with mosloadposition for Section/Category Description. I follow the instructions but don't function.

I can load a module in an article and it function perfect.

Then, I installed the plugin mosloadposition_for_category_description_v1.0.zip, I active it and add the trigger for Joomla 1.0.x in the content.html.php file (I have installed the Joomla_1.0.15 Spanish premium) and follow the instructions, but only appears the next in the test published ("dentro" is the new position that I created and asigned for it):
This is a test to include a module inside a content item.


Another problem is that I can load a module in an article, but it don't obey the Module Class Suffix.

Thanks for your attention and help.

Quan
 
  The administrator has disabled public write access.

#271
kksou (Admin)
Admin
Posts: 1680
graph
User Online Now Click here to see the profile of this user
Re:Problem - mosloadposition for section descripti 4 Years, 11 Months ago Karma: 27  
Hi Quan,

Can you please try the following and let me know what's the result:

1) Go to the folder: your_joomla_root_folder/mambots/content.

2) You will see a file called "mosloadposition_for_category_description.php". Open this file in your favorite editor.

3) In line 36, add a "echo 'bp101';" as follows:

Code:
function botMosLoadPosition_BeforeDisplayTitle( &$title ) {
	echo 'bp101';
	global $database, $_MAMBOTS;

	// simple performance check to determine 
whether bot should process further
	if ( strpos( $title->description, 'mosloadposition' ) 
=== false ) {
		return true;
	}
4) In line 88, add a "echo 'bp102';" as follows:
Code:
function processPositions_BeforeDisplayTitle 
( &$title, &$matches, $count, $regex, $style ) {
	echo 'bp201';
	global $database;

	$query = "SELECT position"
	. "\n FROM #__template_positions"
5) Now reload your joomla page. 6) Please let me know if you see bp101 and bp201 somewhere on your page. Regards, /kksou
 
 
Last Edit: 2008/06/07 16:29 By kksou.
  The administrator has disabled public write access.

#277
Quan (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:Problem - mosloadposition for section descripti 4 Years, 11 Months ago Karma: 0  
kksou:

I follow your last instructions and I can't see bp101 and bp201 somewhere on my page reloaded.

Thank you.

Quan
 
  The administrator has disabled public write access.
#278
kksou (Admin)
Admin
Posts: 1680
graph
User Online Now Click here to see the profile of this user
Re:Problem - mosloadposition for section descripti 4 Years, 11 Months ago Karma: 27  
Hi Quan,

This means the plugin is not called at all.

Please email me the content.html.php that you have modified. Let me take a look to see if the trigger has been added at the right place.

Regards,
/kksou

p.s. did you publish the plugin?
 
  The administrator has disabled public write access.
#288
kksou (Admin)
Admin
Posts: 1680
graph
User Online Now Click here to see the profile of this user
Re:Problem - mosloadposition for section descripti 4 Years, 11 Months ago Karma: 27  
Hi Quan,

I've received the content.html.php you emailed me.

This file looks ok.

Could you also email me 2 more files:

1) The original mosloadposition_for_category_description.zip file you downloaded

2) The mosloadposition_for_category_description.php file in the folder [joomla_root_folder]/mambots/content

Regards,
/kksou
 
 
Last Edit: 2008/06/10 02:09 By kksou.
  The administrator has disabled public write access.
#290
kksou (Admin)
Admin
Posts: 1680
graph
User Online Now Click here to see the profile of this user
Re:Problem - mosloadposition for section descripti 4 Years, 11 Months ago Karma: 27  
Quan wrote:
I installed the plugin mosloadposition_for_category_description_v1.0.zip, I active it and add the trigger for Joomla 1.0.x in the content.html.php file (I have installed the Joomla_1.0.15 Spanish premium)
Quan


Hi Quan,

Would you mind install a standard Joomla 1.0 and test if the plugin works?

If it works, at least we will know that they have changed some codes in Joomla core for the Spanish premium version.

Regards,
/kksou
 
 
Last Edit: 2008/06/10 02:43 By kksou.
  The administrator has disabled public write access.
#363
pSouper (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:Problem - mosloadposition for section descripti 4 Years, 10 Months ago Karma: 0  
Hi guys,
I have the same problem too. I followed the two echo statements and again did not have any echo's in the content.

I am using the latest download of the plugin and joomla version 1.0.15 english - any ideas what may be wrong or how to fix it?

thanks in advance,
pSouper

-ps: thanks for the plugin - it's silly that it's not in the release too :)
 
 
Last Edit: 2008/07/02 14:20 By pSouper.
  The administrator has disabled public write access.
#364
kksou (Admin)
Admin
Posts: 1680
graph
User Online Now Click here to see the profile of this user
Re:Problem - mosloadposition for section descripti 4 Years, 10 Months ago Karma: 27  
pSouper wrote:
Hi guys,
I have the same problem too. I followed the two echo statements and again did not have any echo's in the content.


This means your plugin has not been called at all.

I am using the latest download of the plugin and joomla version 1.0.15 english - any ideas what may be wrong or how to fix it?

1. Could you please double check that you have the plugin published?

2. Have you tried it on a fresh install of Joomla 1.0.15?

3. Is your host running php4?

Regards,
/kksou
 
  The administrator has disabled public write access.
#365
pSouper (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:Problem - mosloadposition for section descripti 4 Years, 10 Months ago Karma: 0  
Hi kksou,

Thanks for the very fast reply :)

1: I had published the module
2: It is a fresh install without any other modules.
3: I have used it on php 5.2.5 & 4.3.9 without success.
 
  The administrator has disabled public write access.
#366
kksou (Admin)
Admin
Posts: 1680
graph
User Online Now Click here to see the profile of this user
Re:Problem - mosloadposition for section descripti 4 Years, 10 Months ago Karma: 27  
In that case, please email me the content.html.php that you have modified. Let me take a look to see if the trigger has been added at the right place.

You can find my email from extensions.joomla.org

http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,4680/Itemid,35/

Regards,
/kksou
 
 
Last Edit: 2008/07/06 22:32 By kksou.
  The administrator has disabled public write access.



Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Blog - Forum - Privacy Policy - Contact Us
Links - Classes - Social Business - BPM - Web - General
Copyright © 2006-2013. kksou.com. All Rights Reserved