Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Search found 79 matches
Smarty Forum Index
Author Message
  Topic: Very wierd...Change name of template everthing fails....
Enquest

Replies: 12
Views: 10245

PostForum: General   Posted: Fri Dec 05, 2003 9:13 pm   Subject: Very wierd...Change name of template everthing fails....
I don't now Sun but it seems a user permission problem. You should check the users status of templates_c and check if the user has permission!

Onno
  Topic: Very wierd...Change name of template everthing fails....
Enquest

Replies: 12
Views: 10245

PostForum: General   Posted: Fri Dec 05, 2003 9:11 pm   Subject: Very wierd...Change name of template everthing fails....
I don't now Sun but it seems a user permission problem. You should check the users status of templates_c and check if the user has permission!

Onno
  Topic: Very wierd...Change name of template everthing fails....
Enquest

Replies: 12
Views: 10245

PostForum: General   Posted: Fri Dec 05, 2003 9:10 pm   Subject: Very wierd...Change name of template everthing fails....
I don't now Sun but it seems a user permission problem. You should check the users status of templates_c and check if the user has permission!

Onno
  Topic: Very wierd...Change name of template everthing fails....
Enquest

Replies: 12
Views: 10245

PostForum: General   Posted: Fri Dec 05, 2003 8:53 am   Subject: Very wierd...Change name of template everthing fails....
Do you use GNU/Linux?

If so check owner ship. ls -l
  Topic: Two languages
Enquest

Replies: 3
Views: 4467

PostForum: General   Posted: Mon Nov 24, 2003 9:39 pm   Subject: Two languages
I think I needed the last remarkt but then I already ditched the two column style and went over to one column for one language.

Any way to switch the date format of time. It would be correct to put ...
  Topic: Variable in variable
Enquest

Replies: 1
Views: 2730

PostForum: General   Posted: Sun Nov 23, 2003 6:47 pm   Subject: Variable in variable
I want to use a variable in a variable to avoid IF statements is this possible
like

{menu[men].men{$WEB.lang}}

Or do I need to write the whole thing
{if $WEB.lang = fr}fr{else}en{/if}

Mayb ...
  Topic: Very wierd...Change name of template everthing fails....
Enquest

Replies: 12
Views: 10245

PostForum: General   Posted: Fri Nov 21, 2003 1:52 pm   Subject: Very wierd...Change name of template everthing fails....
Actualy I think Smarty has almost no quircks and works excelent. Provided you have a little patience in the beginnen.
If you on a GNU/Linux box (wich you should) then you can chown -R user.user temp ...
  Topic: 3-dimensional array
Enquest

Replies: 9
Views: 8257

PostForum: General   Posted: Fri Nov 21, 2003 12:48 pm   Subject: 3-dimensional array
I could swear I read some where on this forum that its beter to use assign_by_ref then assign because then the var isn't copyied and you had some speed advancment. It did take less memory of the serve ...
  Topic: 3-dimensional array
Enquest

Replies: 9
Views: 8257

PostForum: General   Posted: Fri Nov 21, 2003 12:09 pm   Subject: 3-dimensional array
Can you explain me then exactly when to use $smarty->assign_by_ref

Because now I'm confused!

Onno
  Topic: Export static html files from php/mysql driven pagetemplates
Enquest

Replies: 1
Views: 3418

PostForum: General   Posted: Fri Nov 21, 2003 9:58 am   Subject: Export static html files from php/mysql driven pagetemplates
I'm not sure but maybe this will help
http://smarty.php.net/manual/en/language.builtin.functions.php#LANGUAGE.FUNCTION.CAPTURE

its the capture function off smarty
  Topic: Very wierd...Change name of template everthing fails....
Enquest

Replies: 12
Views: 10245

PostForum: General   Posted: Fri Nov 21, 2003 9:56 am   Subject: Very wierd...Change name of template everthing fails....
When it happens to me I'm also clueless. However empty your templates_c dir and check if you have the permissions to overwrith and set it to chmod 777

It could do the trick!
  Topic: 3-dimensional array
Enquest

Replies: 9
Views: 8257

PostForum: General   Posted: Fri Nov 21, 2003 9:53 am   Subject: 3-dimensional array
First of all Boots and Messju ... Will say use $smarty->assign_by_ref(...) this doesn't copy the variable and gives you some edge on speed.

Second. How I do this.

I pull my data out of the d ...
  Topic: Two languages
Enquest

Replies: 3
Views: 4467

PostForum: General   Posted: Thu Nov 20, 2003 9:27 am   Subject: Two languages
I have a site where there are two languages displayed. In two columns.

How would I make smarty use in the first colum language A

and in the second column language B

Could anybody explain me t ...
  Topic: Smarty in C++
Enquest

Replies: 1
Views: 8095

PostForum: Smarty Development   Posted: Wed Nov 05, 2003 12:46 pm   Subject: Smarty in C++
I don't know if you people do know this. But maybe its intresting to have a look at the following discussion. http://www.phpfreaks.com/forums/viewtopic.php?p=38006#38006

Somebody embarked to make s ...
  Topic: Help! Smarty error: problem creating directory
Enquest

Replies: 1
Views: 4254

PostForum: General   Posted: Sun Nov 02, 2003 2:34 pm   Subject: Help! Smarty error: problem creating directory
Try to see whats happening on your GNU/Linux box. You can change al owners is one line...

chown -R owner.group templates_c

or to modify het chmod

chmod -R 777 templates_c

the R stands for ...
 
Page 1 of 6 Goto page 1, 2, 3, 4, 5, 6  Next
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP