Author |
Message |
Topic: Create categories in a Smarty loop |
Aar
Replies: 6
Views: 6639
|
Forum: General Posted: Wed May 31, 2017 9:31 pm Subject: Create categories in a Smarty loop |
Again...
How can i solve this with Smarty and PHP?
Sorry, but why your steadfastness? I do not want to get angry, but why do I have to ask my question three times?
It could not have been harmfu ... |
Topic: Create categories in a Smarty loop |
Aar
Replies: 6
Views: 6639
|
Forum: General Posted: Wed May 31, 2017 8:28 pm Subject: Create categories in a Smarty loop |
Smarty is a templating engine, not a programming language.
I know, but HOW can i solve this?
In my eyes, this is a logical operation. Not a programming operation.
In PHP it is:
<?php
$resu ... |
Topic: Create categories in a Smarty loop |
Aar
Replies: 6
Views: 6639
|
Forum: General Posted: Wed May 31, 2017 3:38 pm Subject: Create categories in a Smarty loop |
And how can i group the list by the categories in Smarty?
That's my question....
Any idea, how i can solve this? |
Topic: Create categories in a Smarty loop |
Aar
Replies: 6
Views: 6639
|
Forum: General Posted: Wed May 31, 2017 8:23 am Subject: Create categories in a Smarty loop |
Hello,
I have a question,
How can I group the numbers by category, in Smarty?
Each item has a field 'categorie' with his categorie.
How can i group them in Smarty?
On this way:
-Train A
... |
Topic: Fill HTML-tables vertically with Smarty |
Aar
Replies: 9
Views: 9593
|
Forum: General Posted: Wed May 04, 2016 6:33 am Subject: Fill HTML-tables vertically with Smarty |
What function?…
On the Github page. |
Topic: Fill HTML-tables vertically with Smarty |
Aar
Replies: 9
Views: 9593
|
Forum: General Posted: Tue May 03, 2016 10:08 pm Subject: Fill HTML-tables vertically with Smarty |
Thanks.... but how can i implement this in Smarty?
You don't need to implement it in Smarty.
You need to implement it in PHP.
And only pass to Smarty the data prepared for display.
Thanks, i have ... |
Topic: Fill HTML-tables vertically with Smarty |
Aar
Replies: 9
Views: 9593
|
Forum: General Posted: Tue May 03, 2016 9:24 pm Subject: Fill HTML-tables vertically with Smarty |
Try this
https://gist.github.com/edulan/1136654
It should be not too difficult to create a Smarty plugin with this sources - look here
http://www.smarty.net/docs/en/plugins.functions.tpl
I t ... |
Topic: Fill HTML-tables vertically with Smarty |
Aar
Replies: 9
Views: 9593
|
Forum: General Posted: Tue May 03, 2016 6:34 pm Subject: Fill HTML-tables vertically with Smarty |
Thanks.... but how can i implement this in Smarty? |
Topic: Fill HTML-tables vertically with Smarty |
Aar
Replies: 9
Views: 9593
|
Forum: General Posted: Tue May 03, 2016 5:06 pm Subject: Fill HTML-tables vertically with Smarty |
I have this table, and i have a question about it.
<table>
<tbody><tr>
<th> </th>
... |
Topic: Smarty Cheat Sheet Version 2.0 Released |
Aar
Replies: 19
Views: 146135
|
Forum: General Posted: Mon Mar 18, 2013 1:12 pm Subject: Smarty Cheat Sheet Version 2.0 Released |
Just see:
http://www.arsidian.com/downloads/SmartyCheatSheetVersion2.pdf
I can't find a *.png version. |
Topic: Smarty Paginate doesn't work, result gives empty |
Aar
Replies: 0
Views: 3633
|
Forum: General Posted: Mon Sep 03, 2012 11:52 am Subject: Smarty Paginate doesn't work, result gives empty |
Hello,
I've set up the Smarty Pagina into my site, and it doesn't work.
My code is:
<?php
// mysql connect here etc....
require("classes/SmartyPaginate.class.php");
... |
Topic: Using a Outputfilter on a template-variable |
Aar
Replies: 1
Views: 3970
|
Forum: General Posted: Tue Jul 19, 2011 3:37 pm Subject: Using a Outputfilter on a template-variable |
Hello,
I've seen this: http://www.smarty.net/docs/en/advanced.features.outputfilters.tpl
But now have i a question:
Is it possible to add a output-filter on a template variable in stead of the ... |
|