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 15 matches
Smarty Forum Index
Author Message
  Topic: GeSHi syntax highlighter Smarty plugin
RcCluster

Replies: 2
Views: 9836

PostForum: Plugins   Posted: Tue May 19, 2009 10:03 am   Subject: GeSHi syntax highlighter Smarty plugin
hi,

today i tryed to use this plugin. the idea is well but i miss many arguments for geshi. thus i coded a little bit:

<?php

/**
* Smarty plugin
* ------------------------------------- ...
  Topic: how to check whether a value exists in array, in smarty .tpl
RcCluster

Replies: 3
Views: 60477

PostForum: Smarty Development   Posted: Thu Apr 23, 2009 6:10 am   Subject: how to check whether a value exists in array, in smarty .tpl
morning,

why don't you check this in php and pass it to smarty?

php:
$smarty->assign("isInArray", in_array($value));


tpl
{if $isInArray eq 0}
...
  Topic: HELP! Javascript doesn't execute after ajax call
RcCluster

Replies: 2
Views: 6479

PostForum: General   Posted: Wed Apr 01, 2009 7:32 am   Subject: HELP! Javascript doesn't execute after ajax call
remember ajax means asynchronous.

javascript can't work correct before the dom in the browser is finished. the right state for your ajax callback is onSuccess i think.

lg
RcCluster
  Topic: What is the best PHP IDE?
RcCluster

Replies: 10
Views: 38166

PostForum: Smarty Development   Posted: Mon Mar 30, 2009 7:49 am   Subject: What is the best PHP IDE?
i'm using scriptly

http://scriptly.webocton.de/

for a year or so now. there are much features i still not know and everything i need is implemented exept a code-repository and a debugger. first ...
  Topic: Notepad ++
RcCluster

Replies: 2
Views: 5848

PostForum: General   Posted: Thu Mar 19, 2009 10:20 am   Subject: Notepad ++
i believe its a .. syntax highlighter?

O_o

i'll try a more helpful answer:

http://notepad-plus.sourceforge.net/de/site.htm

near the bottom is a smarty highlighter from Helge de Vries.

l ...
  Topic: Smarty Docs Search plugin for FireFox
RcCluster

Replies: 29
Views: 333216

PostForum: General   Posted: Wed Mar 11, 2009 6:57 am   Subject: Re: It did not work - on the manual website
Here are my findings:

The German search that Mozilla calls; does not work
http://www.smarty.net/manual/de/search.php?query=foreach&submit=Search&sourceid=mozilla-search
-- DOES NOT WORK
...
  Topic: Smartyinstanz in allen Templates benutzen
RcCluster

Replies: 4
Views: 8189

PostForum: Language: German   Posted: Tue Mar 10, 2009 7:22 am   Subject: Smartyinstanz in allen Templates benutzen
sieht noch was komisch aus !??!?! aber ich bin ja auch noch recht neu dabei

1. was ist smarty_iwap für nen objekt?

2. bei mir sieht das so aus:

require('Pfad/zu/Smarty/klasse.php');
...
  Topic: Smarty Docs Search plugin for FireFox
RcCluster

Replies: 29
Views: 333216

PostForum: General   Posted: Tue Mar 10, 2009 7:11 am   Subject: Re: Fixed, and explained - Here is how it works for newcomme
Please look into my work to explain how to make this tool work for you.

Since Smarty forum does not allow me to upload the files; I needed to host it on my own server (no ads there; I love Smarty). ...
  Topic: Schleife die Variable begrenzt ausliest
RcCluster

Replies: 6
Views: 9908

PostForum: Language: German   Posted: Mon Mar 02, 2009 7:15 am   Subject: Schleife die Variable begrenzt ausliest
jau das ist einfach. so lern ich auch gleich wieder was Smile

lg
RcCluster
  Topic: Schleife die Variable begrenzt ausliest
RcCluster

Replies: 6
Views: 9908

PostForum: Language: German   Posted: Fri Feb 27, 2009 10:21 pm   Subject: Schleife die Variable begrenzt ausliest
hmmm. da war ich wohl was schnell. es gibt zwar if, aber von for hab ich nix gefunden.

man kann aber eigene funktionen aufrufen. also das teil einfach im PHP schreiben

function buchstabenreihe ...
  Topic: Schleife die Variable begrenzt ausliest
RcCluster

Replies: 6
Views: 9908

PostForum: Language: German   Posted: Fri Feb 27, 2009 10:00 am   Subject: Re: Schleife die Variable begrenzt ausliest
Ich habe eine Variable "$score" welche einen Wert von 1-1000 annehmen kann. Gehen wir von einem "momentanen" Wert von 520 aus:

Ich brauche ist eine Möglichkeit für jeden Wert bi ...
  Topic: [solved]Clean repeated fields in a form list
RcCluster

Replies: 2
Views: 4349

PostForum: General   Posted: Sat Feb 21, 2009 8:25 am   Subject: [solved]Clean repeated fields in a form list
hi,

i'm new to smarty too. but your problem looks to me like an error in your sql. please post the result. did you try a "select distinct"?

lg
RcCluster
  Topic: variabel lange listen
RcCluster

Replies: 3
Views: 7105

PostForum: Language: German   Posted: Wed Feb 18, 2009 6:38 pm   Subject: variabel lange listen
sieht jetzt so aus:

so wird eine var gefüllt
$menu = array(
array(
'onclick'=>'hansen()',
'text'=>'hansen'),
...
  Topic: variabel lange listen
RcCluster

Replies: 3
Views: 7105

PostForum: Language: German   Posted: Tue Feb 17, 2009 8:14 pm   Subject: variabel lange listen
ich hab so angefangen:


<div class="menu">
<ul>
{foreach name=aussen item=wert from=$TestArray}
...
  Topic: variabel lange listen
RcCluster

Replies: 3
Views: 7105

PostForum: Language: German   Posted: Tue Feb 17, 2009 7:02 am   Subject: variabel lange listen
Guten Morgen,

ich mache gerade meine ersten Gehversuche mit Smarty. Ich bin vollstens zufrieden damit. Also erst einmal besten Dank an die Entwickler!

Nun stoße ich aber gleich auf ein Problem. ...
 
Page 1 of 1
All times are GMT
Jump to:  


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