Jump to content

Theme hook with {url=...} issue

Recommended Posts

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...