Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Search found 106 matches
Smarty Forum Index
Author Message
  Topic: Ajax: Smarty Ajax Plugin
CirTap

Replies: 9
Views: 19556

PostForum: General   Posted: Fri Jan 06, 2006 7:14 pm   Subject: Ajax: Smarty Ajax Plugin
I would be interested to know more about the challenges of trying to integrate with other libraries and if there is any point in a compatability layer.
do you mean to have your {client} code use some ...
  Topic: Ajax: Smarty Ajax Plugin
CirTap

Replies: 9
Views: 19556

PostForum: General   Posted: Fri Jan 06, 2006 6:59 pm   Subject: Ajax: Smarty Ajax Plugin
Interesting.

I admit I haven't yet get used to add script.aculo.us, Behavior, and for that matter Prototype, in *every* new project that "requires" JavaScript.
I'm so much used to write JS using ...
  Topic: Ajax: Smarty Ajax Plugin
CirTap

Replies: 9
Views: 19556

PostForum: General   Posted: Fri Jan 06, 2006 1:21 pm   Subject: What AJAX libs are used?
Hi,

this really sounds interesting, but I'd like to know what are the script libraries used to do the job?
There are many excellent JS/AJAX libs - or "DHTML" for that matter - available, proofed t ...
  Topic: TplArray-Index über Variablen ansprechen
CirTap

Replies: 12
Views: 18212

PostForum: Language: German   Posted: Thu Dec 15, 2005 1:52 pm   Subject: TplArray-Index über Variablen ansprechen
Na das klingt ja nach 'nen schicken projekt, das du da vor hast, auch wenn ich keinen Plan vom Schachspielen hab; kenn zwar im groben die Regeln, aber gespielt hab ich wohl erst 10 mal in meinem Leben ...
  Topic: TplArray-Index über Variablen ansprechen
CirTap

Replies: 12
Views: 18212

PostForum: Language: German   Posted: Thu Dec 15, 2005 12:48 pm   Subject: TplArray-Index über Variablen ansprechen
Hi,
da mit die "spielfeld.class.php" fehlt werde ich wohl nicht viel mit anfangen können.
Sehr viel weniger "Code" hast du auch nicht Smile
Da ist JavaScript "im Spiel" und diese PHP-Klasse.

In ...
  Topic: TplArray-Index über Variablen ansprechen
CirTap

Replies: 12
Views: 18212

PostForum: Language: German   Posted: Wed Dec 14, 2005 2:18 pm   Subject: TplArray-Index über Variablen ansprechen
na eben: Design im Template, Daten in PHP.
Also hier mal ein Schnellschuss für das "Schachbrett" /* spalten bezeichner */
$abc = range('A', 'H');
/* "rohdaten" array 8x8 - einfach 8 x die Ziffern 1 ...
  Topic: TplArray-Index über Variablen ansprechen
CirTap

Replies: 12
Views: 18212

PostForum: Language: German   Posted: Wed Dec 14, 2005 1:24 pm   Subject: TplArray-Index über Variablen ansprechen
wie schon gesagt ist {section} nicht mein Ding und ich vermeide es wie die Pest. Meinereiner würd dies schlichtweg in PHP machen, anstatt in Smarty "rumzurechnen" -- und das mit einer so grausamen Syn ...
  Topic: TplArray-Index über Variablen ansprechen
CirTap

Replies: 12
Views: 18212

PostForum: Language: German   Posted: Wed Dec 14, 2005 10:56 am   Subject: TplArray-Index über Variablen ansprechen
Hi
hab was interesantes dabei festgestellt Smarty erlaubt anscheinend keine Leerfelder zwischen Op und Wert also hat das mir der [] Syntax geklappt? War mir nicht ganz sicher.
Es ist möglich, dass ...
  Topic: why doesnt this work, stange!
CirTap

Replies: 6
Views: 8277

PostForum: General   Posted: Tue Dec 13, 2005 11:10 am   Subject: why doesnt this work, stange!
Hi,

try writing cleaner code, and be aware that PHP usually runs top down, initializing variables and calling functions as they fly-by:
Error 1: you're using assing() to add $random_tf to your tem ...
  Topic: Displaying all data from a MySQL Query
CirTap

Replies: 4
Views: 26091

PostForum: Tips and Tricks   Posted: Tue Dec 13, 2005 10:52 am   Subject: Displaying all data from a MySQL Query
If you have a better way of doing this, please share.that's the point of my post: this is the no-brainer approach to handle associative arrays in Smarty (ignoring {section} here on purpose), and anyon ...
  Topic: Smarty website throws "403 not allowed"
CirTap

Replies: 0
Views: 3581

PostForum: General   Posted: Sun Dec 11, 2005 4:17 pm   Subject: Smarty website throws "403 not allowed"
Hi,

is it just my connection, browser, the weather, or why do I receive a bunch of "403" errors on http://smarty.php.net/ ? Any other (php) web-sites work fine, though.

It all started two days a ...
  Topic: [cms] CMS widgets?
CirTap

Replies: 1
Views: 4969

PostForum: General   Posted: Sun Dec 11, 2005 1:22 pm   Subject: [cms] CMS widgets?
Hi,

with the "native" Smarty class, it'd be easier to have
/cms/templates/photo
/cms/templates/foobar
and then set $template_dir to "/cms/templates". You can then {include} and {fetch} files i ...
  Topic: how to set directory structure and config file
CirTap

Replies: 5
Views: 36220

PostForum: Smarty Development   Posted: Sun Dec 11, 2005 1:18 am   Subject: how to set directory structure and config file
Another note about "applications": they're basically nothing more than "Skins" or "Themes" (ignoring the "logic" part here), so you may use this structure as well

$smarty->template_dir = "/ ...
  Topic: Smarty class/function reference is here
CirTap

Replies: 13
Views: 25171

PostForum: Smarty Development   Posted: Sun Dec 11, 2005 1:01 am   Subject: Smarty class/function reference is here
thanks boots Smile
yeah, it's been a while <g>
consider by absence as "having so probs at all with Smarty" Very Happy

CirTap
  Topic: www.jungstars.net
CirTap

Replies: 2
Views: 11527

PostForum: Showcase   Posted: Sun Dec 11, 2005 12:46 am   Subject: www.jungstars.net
Very nice looking and "accessible" as well!! Smile
It'd be nice feature to include links to IMDB for the various movies or even their actor pages, e.g
Folgeseite nicht mit einem Fade-in startet sonde ...
 
Page 1 of 8 Goto page 1, 2, 3, 4, 5, 6, 7, 8  Next
All times are GMT
Jump to:  


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