|
|
|
Re:itemID issue after editing profile
|
|
Date: 2007/08/05 02:24
|
By: mbajames
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 8 |   | |
|
|
Can anyone share how to do it in the currently released version? My homepage has plenty of information that gets overwritten and I would rather be able to tell it to go to a static page.
|
|
The administrator has disabled public write access. |
|
|
|
|
Re:itemID issue after editing profile
|
|
Date: 2007/08/05 02:25
|
By: mbajames
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 8 |   | |
|
I have figured out how to do part of it. If I modify line 750 in comprofiler.php I can get redirection to a set page upon a user "saving" changes to the profile. Still nothing with regards to how to stop going to Itemid=1 when cancel is used.
For anyone who may want to know the first part, I replaced | Code: | "index.php?option=option=com_comprofiler".getCBprofileItemid()
|
with | Code: | index.php?option=com_content&task=view&id=61&Itemid=123
|
the new page it references was a static content page I made to provide a different location to say all changes were made without it overwriting my maincontent on the front page.
Any help available with the cancel button sending to itemid=1 is greatly appreciated.
Post edited by: mbajames, at: 2007/08/05 02:57
|
|
The administrator has disabled public write access. |
|
|
|
|
Re:itemID issue after editing profile
|
|
Date: 2007/08/05 02:25
|
By: mbajames
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 8 |   | |
|
OK..I figured out the rest. For anyone who wants to know, to get the "cancel" button to redirect to a set page rather than itemid=1, there is a change that can be made on line 263 of comprofiler.html.php.
Change:
| Code: | index.php?option=".htmlspecialchars($_REQUEST['option']).getCBprofileItemid()
|
to
| Code: | "index.php?option=com_content&task=view&id=62&Itemid=123"
|
Again, this is a direct link to the static content page I had created to show the profiles.
So, between the last two posts I made two static pages. One for "update" and one for "cancel". The cancel one does not show the profile, but for the business I am using CB for (mainly for integration with Account Expiration Control) it works. So long as the | Code: | .getCBprofileItemid()
| is removed and not put back in it will work. If that code is placed back in it will reset it.
If anyone has a better fix, please share. Regardless, maybe this will help someone.
Post edited by: mbajames, at: 2007/08/05 03:20
|
|
The administrator has disabled public write access. |
|
|
|
|
Re:itemID issue after editing profile
|
|
Date: 2007/11/18 09:37
|
By: goodman123
|
Status: User
|
|
|
Karma: -3  
|
|
Junior Joomlapolitan  | Posts: 35 |   | |
|
|
cb 1.1 is still having the problem onjoomla 1.0.13. that is, when a user is editing the profile, everyhting comes to the frontpage.
|
|
The administrator has disabled public write access. |
|
|
|
|
Re:itemID issue after editing profile
|
|
Date: 2007/12/14 13:10
|
By: Folkbear
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 1 |   | |
|
|
it seems that this problem only arises when accessing the profile through firefox, coz with IE 7 this problem does not arise...
|
|
The administrator has disabled public write access. |
|
|