Hi everyone,
I can't find the right syntax to put a link to the member profile page.
It's supposed to be something like http://dolphin/$username, where $username is replaced dynamically with php by the member username. I need to put this kind of link on page_1.html so I can have a link to the profile beside the slider..
Any ideas?
|
Actually you can't put php in a html file and you can use this to get the logged profile link
$iId = getLoggedId();
$sLink = getProfileLink($iId);
echo $sLink;
so much to do.... |
Actually you can't put php in a html file and you can use this to get the logged profile link
$iId = getLoggedId();
$sLink = getProfileLink($iId);
echo $sLink;
Are you sure about this? 
|
He may not be sure. But i am. But to clarify. You cannot use php in any of the dolphin html template files because the dolphin template parser does not process embedded php code. But php can be mixed with html in some areas. It all depends on where your trying to use it.
https://www.deanbassett.com |
Yes, i think so. Unless you have setup your server to execute html, even through right way would be to use template system. Why? so much to do.... |
lol i am sure
He may not be sure. But i am. But to clarify. You cannot use php in any of the dolphin html template files because the dolphin template parser does not process embedded php code. But php can be mixed with html is some areas. It all depends on where your trying to use it.
so much to do.... |
i guess it all comes down to what u are trying do to, since i have some php codes in _sub_footer.html i was asking in general if he was sure about not being able to use php in html and html in php |
You can do that with this mod installed:
http://www.boonex.com/m/page-block-keys
My opinions expressed on this site, in no way represent those of Boonex or Boonex employees. |
RE:
i guess it all comes down to what u are trying do to, since i have some php codes in _sub_footer.html i was asking in general if he was sure about not being able to use php in html and html in php
You're lucky... not all servers will let you add the application handlers to do this... on shared hosting, that is.
My opinions expressed on this site, in no way represent those of Boonex or Boonex employees. |