RE: [SMARTY] tpl, installation (forgot)

From: Date: Mon, 01 Jul 2002 21:32:34 +0000
Subject: RE: [SMARTY] tpl, installation (forgot)
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-5148@lists.php.net to get a copy of this message
Robert, The template is situated in the directory like this: dir/public_html/..... (open to public view) dir/smarty/templates (public can't reach these) dir/smarty/templates_c Is it wrong to put these folders outside of public_html maybe? Thanks again for responding. I'm determined to get this..... :) -----Original Message----- From: Robert Amos [mailto:bok@ausmac.net] Sent: Monday, July 01, 2002 2:20 PM To: smarty-general@lists.php.net Subject: Re: [SMARTY] tpl, installation (forgot) oh ok, it just looks like that from what you have there the index.tpl file isn't sitting in the 'templates' dir. if the PHP script that you have displaying the file is in public_html/ then the index.tpl file should be in public_html/templates/ with the $smarty->template_dir set to './templates' and simliarly the $compile_dir to './templates_c' -bok On 2/7/02 7:11 AM, Patti Ewanski banged a keyboard and produced the following weird but readable email: > Robert, > It's there. Do you know what permissions I'm supposed to have on > it? I have > -rw-r-r- > > I also have this in a directory called smarty that is above (not > in or under) my public_html folder. I'm wondering if this is the > problem too. My test file that is under public_html seems to be > looking for the file in it's own file. So I copied a copy of > Smarty.class.php and templates and templates_c there but that is > a security risk I believe. I wanted to keep the smarty files off > of the public site.... > > :) Cheers and many thanks to you for replying..... > > > Patricia Ewanski > Support Systems Analyst, Sr. > University of Arizona > Human Resources > > -----Original Message----- > From: Robert Amos [mailto:bok@ausmac.net] > Sent: Monday, July 01, 2002 1:03 PM > To: smarty-general@lists.php.net > Subject: Re: [SMARTY] tpl, installation (forgot) > > Put the index.tpl file there inside your "templates" directory. > > -bok > > On 2/7/02 5:56 AM, Patti Ewanski banged a keyboard and produced > the > following weird but readable email: > >> Sorry, >> Forgot to list that I have these dir's and files set up in the >> directory as well... >> >> drwxr-xr-x configs >> drwxr-xr-x docs >> -rw-r--r-- index.tpl >> drwxr-xr-x misc >> -rw-r--r-- overlib.js >> drwxr-xr-x plugins >> drwxr-xr-x templates >> drwx------ templates_c >> >> :) >> Patti >> > > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.smarty.general (#5148) next »