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 41 matches
Smarty Forum Index
Author Message
  Topic: wtf>> probably me.. compiling blank templates
webadept

Replies: 1
Views: 6697

PostForum: Installation and Setup   Posted: Fri Oct 29, 2004 12:04 am   Subject: wtf>> probably me.. compiling blank templates
I don't know what to say to this. I couldn't get it to do this on my other server. I brought the one that was having the problem down, poked, prodded, reloaded. After the reload, it was fine, so I res ...
  Topic: wtf>> probably me.. compiling blank templates
webadept

Replies: 1
Views: 6697

PostForum: Installation and Setup   Posted: Mon Oct 25, 2004 7:29 am   Subject: wtf>> probably me.. compiling blank templates
The server I work on here is ... well.. constantly changing.. so I probably changed something and can't remember what it was that would cause this, so maybe one of you will recognize the situation and ...
  Topic: SmartyValidate: a simple yet powerful form validation plugin
webadept

Replies: 268
Views: 1428072

PostForum: Add-ons   Posted: Thu Jul 29, 2004 1:14 am   Subject: SmartyValidate: a simple yet powerful form validation plugin
I think there is a strong tendency with tools like this to build the "go-go-gadget" do all tool, which mohrt has been very comfortable with not falling for. I believe that with tools, any tool the ada ...
  Topic: How to solve this (a tricky array issue)
webadept

Replies: 13
Views: 23339

PostForum: General   Posted: Wed Jul 28, 2004 3:10 pm   Subject: How to solve this (a tricky array issue)
Of course that probably won't work for you either.. an array of objects, now that is a nasty sort. Smile
  Topic: How to solve this (a tricky array issue)
webadept

Replies: 13
Views: 23339

PostForum: General   Posted: Wed Jul 28, 2004 3:04 pm   Subject: How to solve this (a tricky array issue)
If that is what you are doing, then possibly pass a single array, or better an array of objects. If you go with the objects it is better from my experience with clients that want more logic control. I ...
  Topic: SmartyValidate: a simple yet powerful form validation plugin
webadept

Replies: 268
Views: 1428072

PostForum: Add-ons   Posted: Wed Jul 28, 2004 2:53 pm   Subject: SmartyValidate: a simple yet powerful form validation plugin
Ha! you know what,, that was your idea.. like 20 posts back. .ah man. .I'm going to bed and try this day again..

seeya

webadept
  Topic: SmartyValidate: a simple yet powerful form validation plugin
webadept

Replies: 268
Views: 1428072

PostForum: Add-ons   Posted: Wed Jul 28, 2004 2:49 pm   Subject: SmartyValidate: a simple yet powerful form validation plugin
Whether your message text resides in the template or in a config file is up to you, that does not change the design of SmartyValidate.

I love that song, play it again Sam.

Cool

As well it s ...
  Topic: How to solve this (a tricky array issue)
webadept

Replies: 13
Views: 23339

PostForum: General   Posted: Wed Jul 28, 2004 1:46 pm   Subject: How to solve this (a tricky array issue)
Well maybe someone else can help you then. I don't like doing loopy dances in the templates, I'm one of those that thinks most of the processing should have been done before you got there, but that's ...
  Topic: How to solve this (a tricky array issue)
webadept

Replies: 13
Views: 23339

PostForum: General   Posted: Wed Jul 28, 2004 1:29 pm   Subject: How to solve this (a tricky array issue)

$ARRAY_PLAYERS[i].members_id}">
{$ARRAY_PLAYERS[i].members_nick}


it looks like you have a multi level array here anyway, so just add a ...
  Topic: How to solve this (a tricky array issue)
webadept

Replies: 13
Views: 23339

PostForum: General   Posted: Wed Jul 28, 2004 1:17 pm   Subject: How to solve this (a tricky array issue)
Oh, I didn't realize that I had to sort these as well. What does the array look like ? is it associtive or what?
  Topic: How to solve this (a tricky array issue)
webadept

Replies: 13
Views: 23339

PostForum: General   Posted: Wed Jul 28, 2004 1:04 pm   Subject: How to solve this (a tricky array issue)

$selected_a = array();
$selected_a = array_intersect($ARRAY_ALL_PLAYERS,$ARRAY_PLAYERS);

$notselected_a = array();
$notselected_a = array_diff($selected_a, $ARRAY_PL ...
  Topic: template inside another template
webadept

Replies: 4
Views: 14815

PostForum: General   Posted: Wed Jul 28, 2004 12:52 pm   Subject: template inside another template
I know I'm one of those that are always thinking things are obvious, when in fact he doesn't really understand the whole problem but.. .if your designer knows the id of the page she wants to put thing ...
  Topic: How to solve this (a tricky array issue)
webadept

Replies: 13
Views: 23339

PostForum: General   Posted: Wed Jul 28, 2004 12:35 pm   Subject: How to solve this (a tricky array issue)
Cool I don't know about anyone else but I don't care if you change your arrays or not

So, what do we got here.. ?

This would be easy back in the code, instead of out here in the template.

...
  Topic: Spaw Successes??
webadept

Replies: 3
Views: 6305

PostForum: General   Posted: Wed Jul 28, 2004 12:09 pm   Subject: Spaw Successes??
I use spaw and smarty without any trouble : just use the $spaw->getHtml() function with a tag in your tpl

$smarty->assign('wysiwyg',$objEditor->getHtml());

Hey now, that's the thing tha ...
  Topic: Best way to include HTML templates
webadept

Replies: 6
Views: 7844

PostForum: General   Posted: Wed Jul 28, 2004 3:23 am   Subject: Best way to include HTML templates
It sounds like this is basically a very static site. You might want to test the server itself before you go much further. Open one of those pages that is timeing out, save the rederned HTML page to fi ...
 
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