exclamation-circle ERROR: helppagesHelper

More
1 year 7 months ago #10915 by carsten888
Replied by carsten888 on topic ERROR: helppagesHelper
Thank you. I addedd that.

The update is available for download now.

Please Log in or Create an account to join the conversation.

More
1 year 7 months ago #10917 by RogerD
Replied by RogerD on topic ERROR: helppagesHelper
Working great, thank you very much.

Please Log in or Create an account to join the conversation.

More
1 year 7 months ago #10924 by RogerD
Replied by RogerD on topic ERROR: helppagesHelper
Just notice one small nuisance, the comment time stamp shown in bottom right corner of message isn't Joomla time zone aware. seems to use the host's time zone. My site is set to Phoenix -7, but comment time stamps are New York EST.

Roger

Please Log in or Create an account to join the conversation.

More
1 year 7 months ago #10925 by carsten888
Replied by carsten888 on topic ERROR: helppagesHelper
will look into this.

Please Log in or Create an account to join the conversation.

More
1 year 7 months ago #10926 by RogerD
Replied by RogerD on topic ERROR: helppagesHelper
I think I found another glitch (but, please confirm because it either wasn't doing this before, or I just didn't notice). When a user leaves a comment, after pressing submit they are not returned to the page they were on, they end up on:
yourdomain.com/index.php?option=com_user...tepage&view=userpage
---- instead of what was / should return to:
yourdomain.com/MenuItem/SubMenuItem/
Of course this means any banners, modules, etc that were on /MenuItem/SubmenuItem/ are lost, essentially they are now on a blank page with just UPP comments. I believe the correct way to say what I'm describing is UPP is not retaining / returning to the original Menu ItemID

Thanks again, Roger

Please Log in or Create an account to join the conversation.

More
1 year 7 months ago #10927 by carsten888
Replied by carsten888 on topic ERROR: helppagesHelper
You are right! That should not be like that. On a default Joomla install, thats easy to overlook. :blush:

I will release this in the next version.
But if you can't wait, here is the fix:

file: components/com_userprivatepage/views/userpage/tmpl/default.php
line: 153
<input type="hidden" name="task" id="task" value="" />
change to
<input type="hidden" name="task" id="task" value="" />
						<input type="hidden" name="menu_item_id" id="menu_item_id" value="<?php echo JRequest::getVar('Itemid', ''); ?>" />

...and...

file: components/com_userprivatepage/controller.php
line: 141
$url = 'index.php?option=com_userprivatepage&view=userpage';
change to
$url = 'index.php?option=com_userprivatepage&view=userpage';
		$menu_item_id = JRequest::getVar('menu_item_id', 0);
		if($menu_item_id){
			$url = 'index.php?Itemid='.$menu_item_id;
		}

Please Log in or Create an account to join the conversation.

Time to create page: 0.162 seconds
Powered by Kunena Forum
 
spicy-sacerdotal