Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Search found 7 matches
Smarty Forum Index
Author Message
  Topic: html_select_date change
Pedja

Replies: 1
Views: 10135

PostForum: Plugins   Posted: Fri Jun 18, 2004 11:27 am   Subject: html_select_date change
I needed to use month names native to my language so I changed html_select_world_date a bit to support it. I called it html_select_world_date and added paameter month_custom_names which should be arra ...
  Topic: date modifier makes me go crazy
Pedja

Replies: 3
Views: 5590

PostForum: General   Posted: Mon Mar 29, 2004 5:00 pm   Subject: date modifier makes me go crazy
Yes, it works in 2.6.2. Great!
  Topic: date modifier makes me go crazy
Pedja

Replies: 3
Views: 5590

PostForum: General   Posted: Mon Mar 29, 2004 4:44 pm   Subject: date modifier makes me go crazy
Mine is 2.6.0.

I use {{ and }} as delimiters for smarty tags but I do not think that makes any difference to this problem.

I found out that if I do this:

{{assign var="m_last_visit" value=$u ...
  Topic: date modifier makes me go crazy
Pedja

Replies: 3
Views: 5590

PostForum: General   Posted: Mon Mar 29, 2004 3:59 pm   Subject: date modifier makes me go crazy
strange thig.

I have
{$users[user].last_visit|date_format:"%D"}

It shows error

Fatal error: Smarty: [in users/admin/templates/main.tpl.php line 21]: syntax error: unrecognized tag: $users[u ...
  Topic: Geting current template file name within plugin function
Pedja

Replies: 3
Views: 8532

PostForum: General   Posted: Thu Dec 04, 2003 1:34 pm   Subject: Geting current template file name within plugin function
I did it usin $smarty.template as parameter but in my situation that is just unnecesary since function always works with current template so it should be able to get template name itself without requi ...
  Topic: Geting current template file name within plugin function
Pedja

Replies: 3
Views: 8532

PostForum: General   Posted: Wed Dec 03, 2003 6:30 pm   Subject: Geting current template file name within plugin function
I have spent whole day looking for solution with no success.

I am working on plugin function and I need toprovide file name of current template to it, info identical to $smarty.template which is av ...
  Topic: problem with relative links in templates
Pedja

Replies: 7
Views: 12288

PostForum: General   Posted: Fri Oct 24, 2003 11:53 am   Subject: problem with relative links in templates
workarounds:

3. use smarty-prefilter to convert images/ to some_relative_path/images/
i find that this is the best way:
- templates will work in wysiwyg-editor
- relative path in templates will ...
 
Page 1 of 1
All times are GMT
Jump to:  


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