Home

Forums

Web development

 

 

 

 
     
 
dna88 Web development and Technology Forum
 
Profile   Register   Memberlist   Usergroups   FAQ   Search  Log in
Getting Smarty working

 
Post new topic   Reply to topic    dna88 Forum Index -> Web scripting language Discussion Forum
Author Message
tanveer
User
User


Joined: 21 Jun 2004
Posts: 85
Location: Dhaka,Bangladesh

Post Post subject: Getting Smarty working Reply with quote

Hello all,
Do anyone of u know how to use smarty in linux platform ? I already downloaded it and unzipped it. But have no idea of how to get it working? Need Some help here.
Thanks in advance.
Thu Oct 21, 04 1:19 pm
Back to top
tanveer View user's profile Send private message
quantum
Site Admin
Site Admin


Joined: 07 Mar 2004
Posts: 1048
Location: Dhaka, Bangladesh

Post Post subject: Reply with quote

What is a smarty? A link to this smarty thing would be helpful.
_________________

Dust fills my eyes / Clouds roll by / and I roll with them / Centuries cry / Orders fly / and I fall again
Afford best design, implement best solution. Outsource your web design.
Thu Oct 21, 04 1:28 pm
Back to top
quantum View user's profile Send private message Visit poster's website AIM Address
tanveer
User
User


Joined: 21 Jun 2004
Posts: 85
Location: Dhaka,Bangladesh

Post Post subject: Reply with quote

Quantum, thanks for ur reply.
u will get all the details here [http://smarty.php.net]
Thu Oct 21, 04 10:23 pm
Back to top
tanveer View user's profile Send private message
emm
Power User
Power User


Joined: 13 Jul 2004
Posts: 310

Post Post subject: Reply with quote

This is complex system!
_________________
“You might say reality is the result of complex negotiations between the observer and the observed. But that is simply a point of view…”
Digital Bangladesh
Fri Oct 22, 04 4:34 am
Back to top
emm View user's profile Send private message
hasnut
Expert User
Expert User


Joined: 28 Aug 2004
Posts: 201

Post Post subject: Reply with quote

Smarty is so much popular now a days. Most of the php app now adding smarty with they system.

you can use smary in windows platform, why you need to use it in linux?

If you go with some samples you will get the idea how it works. and its easy to work with it.

IF you need any further help just pm me.
_________________
Sarder Hasnut
MCSD, CIW A

Need Low Cost Prefessional Hosting Contact me
Fri Oct 22, 04 7:45 am
Back to top
hasnut View user's profile Send private message Visit poster's website MSN Messenger
tanveer
User
User


Joined: 21 Jun 2004
Posts: 85
Location: Dhaka,Bangladesh

Post Post subject: Reply with quote

dear hasnut,
All files in www.smarty.php.net/download.php are in linux zip format like smarty-2.6.6.tar.gz. Thats why I choose linux and already got rid of the installation part. but from where will I get the windows format?

I put my lib files in /var/www/smarty dir and templates in /var/www/html/smarty/guestbook

Another question Gentle smile to ask :
in manual it says to use seperate set of those directories for each applications and in my recently seen examples they always used the files index.php,index.tpl. Can I make as many templates as I like in /var/www/html/smarty/guestbook/templates folder and php files in /var/www/html/smarty/guestbook/
Fri Oct 22, 04 2:16 pm
Back to top
tanveer View user's profile Send private message
quantum
Site Admin
Site Admin


Joined: 07 Mar 2004
Posts: 1048
Location: Dhaka, Bangladesh

Post Post subject: Reply with quote

Hi Tanveer,

This actually looks very good! I can't help you with that, since I had'nt worked with it before. But I will most definitely take a thorough look into that soon enough. Thanks for bringing into our attention.
_________________

Dust fills my eyes / Clouds roll by / and I roll with them / Centuries cry / Orders fly / and I fall again
Afford best design, implement best solution. Outsource your web design.
Fri Oct 22, 04 10:07 pm
Back to top
quantum View user's profile Send private message Visit poster's website AIM Address
tanveer
User
User


Joined: 21 Jun 2004
Posts: 85
Location: Dhaka,Bangladesh

Post Post subject: Reply with quote

pleasure is all mine.
Sat Oct 23, 04 1:51 am
Back to top
tanveer View user's profile Send private message
hasnut
Expert User
Expert User


Joined: 28 Aug 2004
Posts: 201

Post Post subject: Reply with quote

Quote:
All files in www.smarty.php.net/download.php are in linux zip format like smarty-2.6.6.tar.gz. Thats why I choose linux and already got rid of the installation part. but from where will I get the windows format?

You can unzip it through winrar. So there is no reason that you can't run it at windows as because of its zipped with tar format.

Quote:
I put my lib files in /var/www/smarty dir and templates in /var/www/html/smarty/guestbook

Yes its ok ITs not a problem you need to set lib path also the template path in your php

Quote:

in manual it says to use seperate set of those directories for each applications and in my recently seen examples they always used the files index.php,index.tpl. Can I make as many templates as I like in /var/www/html/smarty/guestbook/templates folder and php files in /var/www/html/smarty/guestbook/


Yes you can create as many template as you like.
_________________
Sarder Hasnut
MCSD, CIW A

Need Low Cost Prefessional Hosting Contact me
Sun Oct 24, 04 1:22 pm
Back to top
hasnut View user's profile Send private message Visit poster's website MSN Messenger
tanveer
User
User


Joined: 21 Jun 2004
Posts: 85
Location: Dhaka,Bangladesh

Post Post subject: Reply with quote

thanks a lot.
Sun Oct 24, 04 10:44 pm
Back to top
tanveer View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    dna88 Forum Index -> Web scripting language Discussion Forum All times are GMT - 7 Hours
Page 1 of 1

 

Partners and Resources

Bangladesh hosting company

Bangladesh web design

Driven by phpBB © phpBB Group