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 43 matches
Smarty Forum Index
Author Message
  Topic: SmartyMultilanguageSupport fpr Smarty V3?
heohni

Replies: 1
Views: 10583

PostForum: Tips and Tricks   Posted: Fri May 27, 2011 8:41 am   Subject: SmartyMultilanguageSupport fpr Smarty V3?
Hi, is there any new solution on the market?
  Topic: Edit static templates
heohni

Replies: 3
Views: 5570

PostForum: General   Posted: Wed Aug 04, 2010 8:05 am   Subject: Edit static templates
Hi,

my client has a small static smarty template web project.
No he is asking me to edit certain content parts.

Is there a simple way to have for example tinymce editor who can access selected ...
  Topic: How to use JQuery/Ajax in my case?
heohni

Replies: 3
Views: 7147

PostForum: General   Posted: Wed Jun 30, 2010 3:12 pm   Subject: How to use JQuery/Ajax in my case?
Pitty... but I understand what you are saying.

The only possible way would be to replace the html via jquery?
Because server-side means page refresh needed, right?
  Topic: How to use JQuery/Ajax in my case?
heohni

Replies: 3
Views: 7147

PostForum: General   Posted: Wed Jun 30, 2010 1:47 pm   Subject: How to use JQuery/Ajax in my case?
Hi,

I have this template:


<select name="loc" size="1">
<option value="0">##NG_ALL_TOWNS##</option>
{foreach from=$c ...
  Topic: What is this? {navi id=6 tpl='navigation.tpl'}
heohni

Replies: 1
Views: 3895

PostForum: General   Posted: Wed Aug 05, 2009 11:50 am   Subject: What is this? {navi id=6 tpl='navigation.tpl'}
Hi,

I work for quite along time with Smarty, but today I found a template which is using 1 line, I have never seen before:

1. {navi id=6 tpl='navigation.tpl'}

Can someone please explain me th ...
  Topic: complex problem with cycle
heohni

Replies: 2
Views: 4188

PostForum: General   Posted: Thu Feb 26, 2009 10:59 am   Subject: complex problem with cycle
Hi,

I am having a problem with a kind of complex issue:



<tr class="
{if $simular}simular
{elseif $smarty.session.checked_products[$value.ver_id] == $value.ve ...
  Topic: What means {include file="db:footer"}
heohni

Replies: 1
Views: 4236

PostForum: General   Posted: Fri Jan 30, 2009 7:30 am   Subject: What means {include file="db:footer"}
Hi,

I just saw a smarty template file where I found this line:

{include file="db:footer"}

I've never seen this syntax of "db:footer".
I do not have the corresponding php ...
  Topic: Access define () in smarty?
heohni

Replies: 1
Views: 4639

PostForum: General   Posted: Tue Nov 25, 2008 9:07 am   Subject: Access define () in smarty?
Hi,

if I define a var in php lile
define('LID', $LID);

Can I access this somehow in my template?
Like {$smarty.global.LID} ? Or anyhow?

Thanks!!
  Topic: SmartyML Question
heohni

Replies: 3
Views: 5867

PostForum: General   Posted: Wed Jan 23, 2008 12:32 pm   Subject: SmartyML Question
This is till very urgent for me!
Any ideas, how I can solve this problem?

Or in other words, how can I make SmartyML placeholders working inside the php document?
  Topic: SmartyML Question
heohni

Replies: 3
Views: 5867

PostForum: General   Posted: Mon Dec 17, 2007 2:39 pm   Subject: SmartyML Question
No ideas? Nobody?
  Topic: Count words problem
heohni

Replies: 1
Views: 3661

PostForum: General   Posted: Mon Nov 26, 2007 8:37 am   Subject: Count words problem
Hi.

strange thing:

I have the case, that I need to put a break into a string after a certain lenght.
I was using count_characters to get the string length.

Pitty is, that my string has for e ...
  Topic: SmartyML Question
heohni

Replies: 3
Views: 5867

PostForum: General   Posted: Wed Nov 21, 2007 10:02 am   Subject: SmartyML Question
Hi,

does anyone has a solution to use SmatyML Varibales inside a php file/part which doesn't get parsed by a template? Like this:

$headers=array(
'From' => ADMINMAIL,
...
  Topic: multilanguage Variable mit SmartyML in mail() befehl
heohni

Replies: 1
Views: 5512

PostForum: Language: German   Posted: Wed Nov 21, 2007 9:19 am   Subject: multilanguage Variable mit SmartyML in mail() befehl
Ich habe genau das gleiche Problem, m
  Topic: Calling 2 templates
heohni

Replies: 8
Views: 8985

PostForum: General   Posted: Wed Nov 14, 2007 9:54 am   Subject: Calling 2 templates
A better idea is to split the array into two, perhaps using a custom plugin or maybe better, have your calling script send two arrays since it is already doing the work of sorting and providing the so ...
  Topic: Calling 2 templates
heohni

Replies: 8
Views: 8985

PostForum: General   Posted: Wed Nov 14, 2007 9:50 am   Subject: Calling 2 templates
Try printing {$artikel in the loop, it may not be what you expect.

That's not the problem, it is the figure I want.
 
Page 1 of 3 Goto page 1, 2, 3  Next
All times are GMT
Jump to:  


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