desti Posted June 22, 2021 Share Posted June 22, 2021 Tried to make a hook on the \IPS\core\modules\front\members\profile, add button before "Edit profile". Add button code <li>...<a href='{url="app=core&module=members&controller=profile&do=testform&id=...}" ...</li>, with seo template (defined in furlDefinition()), but get broken link, looks like %7Burl=? Ok, replace <li>.. </li> with {template='myProfileButton' group="plugins" location="global" app="core" params='$member'} , move button code to myProfileButton - everything is fine, correct link. I can't use {url=""} template in theme hook? clean IPS 4.6.0 Link to comment Share on other sites More sharing options...
desti Posted June 22, 2021 Author Share Posted June 22, 2021 Link to comment Share on other sites More sharing options...
Recommended Posts