TheBigK Well-known member Mar 5, 2015 #1 What exactly is the role of 'profile=1' in this statement I found in the template modification? HTML: data-loadUrl="{xen:link resources/authors, $user, 'profile=1'} Nothing changes if I alter it to profile=2.
What exactly is the role of 'profile=1' in this statement I found in the template modification? HTML: data-loadUrl="{xen:link resources/authors, $user, 'profile=1'} Nothing changes if I alter it to profile=2.
Jake B. Well-known member Mar 5, 2015 #2 TheBigK said: What exactly is the role of 'profile=1' in this statement I found in the template modification? HTML: data-loadUrl="{xen:link resources/authors, $user, 'profile=1'} Nothing changes if I alter it to profile=2. Click to expand... It loads the data to be displayed on the profile. If you change it to profile=0 or remove it then it will likely break
TheBigK said: What exactly is the role of 'profile=1' in this statement I found in the template modification? HTML: data-loadUrl="{xen:link resources/authors, $user, 'profile=1'} Nothing changes if I alter it to profile=2. Click to expand... It loads the data to be displayed on the profile. If you change it to profile=0 or remove it then it will likely break
TheBigK Well-known member Mar 5, 2015 #3 Jake B. said: It loads the data to be displayed on the profile. If you change it to profile=0 or remove it then it will likely break Click to expand... Umm, nothing breaks even if I totally exclude the , 'profile=1' part from the data-loadUrl.
Jake B. said: It loads the data to be displayed on the profile. If you change it to profile=0 or remove it then it will likely break Click to expand... Umm, nothing breaks even if I totally exclude the , 'profile=1' part from the data-loadUrl.
Chris D XenForo developer Staff member Mar 5, 2015 #4 Look in the controller action and template. There will be some sort of conditional in there which references "$profile" most likely.
Look in the controller action and template. There will be some sort of conditional in there which references "$profile" most likely.