Hello,
I know it's a SH404Sef issue, but someone here may need that too :
I would like to select a custom cb_field to inject into profile URL's.
The new formated URL look like this:
www.mysite.com/profile/cb_custom_field
instead of:
www.mysite.com/profile/username
Expected benefits
Better control of URL helps global website architecture to suits more to websearch engine, and organisation of content.
Possible drawbacks
Same problem with username: needs to add id to avoid double entries of this field...
Comments
The file to modify is located here : \components\com_sh404sef\sef_ext\com_comprofiler.php
There are many entries, and I don't know how to add a new case.
What I tried:
[code:1]
$query = "SELECT ".($sefConfig->shCBUseUserPseudo?'cb_My_Custom_Field':'')."name FROM #__comprofiler" ;
$query .= "\n WHERE id=".$user;[/code:1]
I've done something a bit similar with zakauthor bot :
joomlacode.org/gf/project/zakauthor2cb/tracker/?action=TrackerItemEdit&tracker_item_id=16136
This issue has been submited to SH404Sef forums too:
extensions.siliana.com/forums/index.php?topic=11968.0
Any clue to fix that ??
Thanks !!!
Post edited by: crony, at: 2009/05/23 18:19