Forums / Developer / Template file

Template file

Author Message

ez man

Friday 04 May 2007 12:20:15 am

Can you tell in which template file the contents of the following url may be present in ezpublish 3.x?
http://xyz.com/index.php/news_site/content/view/full/77

Pascal von Büren

Friday 04 May 2007 12:48:30 am

Hi,

that'd be design/standard/templates/node/view/full.tpl

unless you have some kind of override-rule defined for the specific content class.

Maybe you can turn on Template Debug Mode, so you'd be able to see it for yourself.

Edit (or create if not exists) your site.ini.append in /settings/override and add the following code:

[TemplateSettings]
# Use either enabled to see which template files are loaded or disabled to supress debug
Debug=enabled

Maybe you'll have to clear the cache to see the results.

ez man

Friday 04 May 2007 3:40:54 am

Thanks a lot!
Now I am able to display
Firstname Lastname
Firstname
Lastname
User ID: 3100
Username: xyz
Email:[email protected]
Account status: enable
Configure user account settings
Administator user
in the url
http://www.xyz.com/index.php/news_site/content/view/full/1222

I want to display 'Administrator user' alone as
"Type of user:" Administrator user

Any suggestion on where i can add "Type of user:" Text?