We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 7155
    • 160 Posts
    Hi, I am having a challenge with WebLoginPE for "&type=`users`"

    The user list is generated successfully but when I click on the user link, it just takes me to the home page. I have deliberately pasted the default viewProfileTpl into a chunk...trying to grasp at straws.

    [!WebLoginPE? &type=`users` &customTable=`my_custom_table` &customFields=`website,firstname,surname,interests,address1` 
    &viewProfileTpl=`defaultViewProfileTpl`!]
    


    I still have no luck. Any help will be appreciated
      • 3647
      • 177 Posts
      been working on this today, and had the same issue so help this might help

      There is an error in the defaultUsersTpl (IMHO anyway)

      Copy the default into one of your own and change
      <a href = "[~[*id*]~]?service=viewprofile&username=[+view.username+]">
      to
      <a href = "[~[*id*]~]&service=viewprofile&username=[+view.username+]">

      and then add &usersTpl to your snippet call

      (Or you can edit the default template directly in
      assets/snippets/webloginpe/Default Forms

      Regards

      Mark