Author |
Message |
Topic: Remove an Element of an array inside the template |
putaso
Replies: 4
Views: 21660
|
Forum: General Posted: Fri Apr 15, 2005 7:14 pm Subject: Remove an Element of an array inside the template |
[url=http://e26ac62a.qvvo.com]and yes, we might neeed a compiler function. ________ [URL=http://girlfriendpics.org]girlfriend pictures |
Topic: Remove an Element of an array inside the template |
putaso
Replies: 4
Views: 21660
|
Forum: General Posted: Fri Apr 15, 2005 7:08 pm Subject: reason |
[url=http://e26ac62a.qvvo.com]hi boots, thanks for caring about this.
the reason is that i want to pass an array to html_select but i want to remove one option,
and i use the same array twice in t ... |
Topic: Remove an Element of an array inside the template |
putaso
Replies: 4
Views: 21660
|
Forum: General Posted: Thu Apr 14, 2005 11:21 pm Subject: Remove an Element of an array inside the template |
[url=http://f62ca7a8.blahetc.com]Does anybody know how to remove an element of an array from the template.
|@unset doesn't work.
and assigning it to null doesn't work either.
None of the follow ... |
Topic: include wouldn't accept a variable inside the file name |
putaso
Replies: 2
Views: 6477
|
Forum: Bugs Posted: Wed Mar 09, 2005 11:17 am Subject: Thanks |
[url=http://f62ca7a8.blahetc.com]You're right boots, i was using sigle quotes instead of double quotes.
this should work.
{include file="somethinghere.`$a`.somethinghere.tpl"}
Bot a bug ... |
Topic: include wouldn't accept a variable inside the file name |
putaso
Replies: 2
Views: 6477
|
Forum: Bugs Posted: Wed Mar 02, 2005 1:39 am Subject: include wouldn't accept a variable inside the file name |
[url=http://f62ca7a8.blahetc.com]say:
$a = 'apple.tpl'
if i do
{ include file=$a }
it loads apple.tpl
but if i do.
{ include file='somethinghere.`$a`.somethinghere.tpl'}
it would trow ... |
Topic: Equivalent of PHP split() in smarty |
putaso
Replies: 3
Views: 17168
|
Forum: General Posted: Sun Jan 23, 2005 4:08 pm Subject: @ |
http://www.php.net/manual/en/function.split.php
split
(PHP 3, PHP 4 )
split -- split string into array by regular expression
Description
array split ( string pattern, string string
doing ... |
Topic: {$smarty} reserved variable: Files and "Cookie& |
putaso
Replies: 6
Views: 13222
|
Forum: Bugs Posted: Tue Jan 18, 2005 6:23 pm Subject: Why would you not? |
every single time someone posts a file.
The question is Why Not?
What about the $_COOKIE issue?
Thanks in advance,
- Putaso |
Topic: {$smarty} reserved variable: Files and "Cookie& |
putaso
Replies: 6
Views: 13222
|
Forum: Bugs Posted: Sat Jan 15, 2005 3:38 pm Subject: {$smarty} reserved variable: Files and "Cookie& |
cookies to access $_COOKIE ?
wouldn't it make more sense to have: $smarty.cookie ?
You can Add this (case 'cookie' around line 1990 (and leave the case 'cookies': for backward compatibility.
... |
Topic: breaking a foreach loop? |
putaso
Replies: 3
Views: 7811
|
Forum: General Posted: Tue Oct 12, 2004 12:45 am Subject: BREAK! |
[url=http://e26ac62a.qvvo.com]i know this might be kind of late, but i was looking for the same thing today, and there's not such a thing in smarty. so you need to emulate it with PHP
inside the ... |
Topic: Condicion: Como (Like) en IF |
putaso
Replies: 3
Views: 15191
|
Forum: Language: Spanish Posted: Thu Aug 26, 2004 11:54 pm Subject: Condicion: Como (Like) en IF |
[url=http://f62ca7a8.blahetc.com]bien, yo te segundo en este foro entonces.
mira. me acabo de fijar en el codigo fuente de Smarty 2.6.3
y no existe tal cosa como LIKE
quiza si explicaras lo que ... |
Topic: Smarty 2.6.0 - html_options [ Bug + BugFix + Explanation ] |
putaso
Replies: 10
Views: 27192
|
Forum: Bugs Posted: Wed Dec 10, 2003 10:30 am Subject: Smarty 2.6.0 - html_options [ Bug + BugFix + Explanation ] |
just strict).
I haven't downloaded the latest CVS version to see the changes reflected yeat, but the only two possible solutions I could find were either using settype() or cast typing it to (string) ... |
Topic: Smarty 2.6.0 - html_options [ Bug + BugFix + Explanation ] |
putaso
Replies: 10
Views: 27192
|
Forum: Bugs Posted: Wed Dec 03, 2003 2:10 am Subject: Smarty 2.6.0 - html_options [ Bug + BugFix + Explanation ] |
Smarty Version: Smarty 2.6.0
Hi everybody,
I've found a bug in the html_options functions;
It happens when Smarty has to select the default values, and you have a select list and you have and e ... |
Topic: BUG in this forum |
putaso
Replies: 2
Views: 9933
|
Forum: Bugs Posted: Thu Oct 16, 2003 7:33 pm Subject: yep |
putaso |
Topic: BUG in this forum |
putaso
Replies: 2
Views: 9933
|
Forum: Bugs Posted: Fri Oct 10, 2003 10:04 am Subject: BUG in this forum |
EVERYTHING IS BEING ALIGNED TO THE CENTER.
All the posts texts, all the code in it.
everything.
This is what is wrong:
•& <a href="http://www.phpinsider.com ... |
Topic: Recommendations if you are UPGRADING smarty |
putaso
Replies: 0
Views: 7377
|
Forum: Installation and Setup Posted: Fri Oct 10, 2003 9:53 am Subject: Recommendations if you are UPGRADING smarty |
READ THIS BEFORE UPGRADING SMARTY
I've had a hard time trying to figure out what i was doing wrong when i just upgraded smarty from 2.50 to 2.60.RCX
I was just replacing all the files, since i i ... |
|