Gossamer Forum
Home : Products : Others : Gossamer Community :

SiteHTML ?

Quote Reply
SiteHTML ?
Hi. I'm just wondering how GTComm handles templates? In the core .pm files, I see stuff like;

return ('user_home.html', $user);

.. but what does that reference? I'm confused how this calls the template (i.e how it knows what routine to use).

Can anyone shed any light on this? I'm used to just using Links::SiteHTML::display Unsure

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] SiteHTML ? In reply to
Return just returns to where the function was called from.

Community::Web::User::user_page is used to display a user template.

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] SiteHTML ? In reply to
Thanks :)

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!