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

Search found 144 matches
Smarty Forum Index
Author Message
  Topic: smartyValidate Undefined index: message and [validate plugin
thiebo

Replies: 1
Views: 8310

PostForum: Add-ons   Posted: Fri Feb 05, 2016 10:12 am   Subject: smartyValidate Undefined index: message and [validate plugin
Hi,
No-one sees what could be wrong ?

I went through this over and over and I'm not seeing something.

Thanks a lot for any help or clue....
  Topic: smartyValidate Undefined index: message and [validate plugin
thiebo

Replies: 1
Views: 8310

PostForum: Add-ons   Posted: Thu Feb 04, 2016 9:22 pm   Subject: smartyValidate Undefined index: message and [validate plugin
Hi,

Strangly having difficulties getting SmartyValidate to work....

This is my index.php :

<?php
session_start();
error_reporting(E_ALL);
require('../smartysetup.php ...
  Topic: Missing template name smarty_template_source.php line 157
thiebo

Replies: 2
Views: 8445

PostForum: General   Posted: Thu Feb 04, 2016 7:04 am   Subject: Missing template name smarty_template_source.php line 157
got it....

$smarty->assign('template',$template);

was only in the first block if empty post. That was the missing template, not newsletter_index.tpl.

Not a smarty problem at all ...
  Topic: Missing template name smarty_template_source.php line 157
thiebo

Replies: 2
Views: 8445

PostForum: General   Posted: Wed Feb 03, 2016 9:26 pm   Subject: Missing template name smarty_template_source.php line 157
Hello,

I'm running into a problem that I suppose is caused by include but not too sure about that.

Here is my index.php

<?php
session_start();
// all requires and setting variab ...
  Topic: smartypaginate php7 constructor
thiebo

Replies: 1
Views: 12239

PostForum: Add-ons   Posted: Mon Dec 14, 2015 10:05 am   Subject: smartypaginate php7 constructor
Hi,

I just updated to php7 and I got this error message on a page using smarty paginate :


Deprecated: Methods with the same name as their class will not be constructors in a future version o ...
  Topic: Show last 5 results - foreach
thiebo

Replies: 2
Views: 2625

PostForum: General   Posted: Mon May 04, 2015 3:25 pm   Subject: Show last 5 results - foreach
changing your mysql request .... ?
  Topic: Uncaught --> Smarty Compiler: Syntax error in template
thiebo

Replies: 3
Views: 5436

PostForum: General   Posted: Mon May 04, 2015 5:51 am   Subject: Uncaught --> Smarty Compiler: Syntax error in template
Thanks !!!

running the debugging from the sub-repertory showed what went wrong....
not using absolute paths in setup.php :

$this->setCompileDir('smarty/templates_c/');
$this ...
  Topic: Uncaught --> Smarty Compiler: Syntax error in template
thiebo

Replies: 3
Views: 5436

PostForum: General   Posted: Sun May 03, 2015 8:43 pm   Subject: Uncaught --> Smarty Compiler: Syntax error in template
Hi,

I've been running an application for quite a few years using smarty. No problems. And wanted to update it all to smarty3 and use pdo instread of mysql. Anyway.

I'm using this setup :

requ ...
  Topic: smartyPaginate - styling active page
thiebo

Replies: 6
Views: 10299

PostForum: Plugins   Posted: Wed Apr 15, 2015 6:00 am   Subject: smartyPaginate - styling active page
just over a decade. Means it is really good. I've been using it for 6 or 8 years. Works fine Smile

I have done what you describe, but than the gives a property to the link, not to the active page. I h ...
  Topic: smartyPaginate - styling active page
thiebo

Replies: 6
Views: 10299

PostForum: Plugins   Posted: Mon Apr 13, 2015 4:15 pm   Subject: smartyPaginate - styling active page
You're absolutely right. And by the way, I was taking a good nap myself after asking that question.

I've re-read the documentation, but the answer wasn't there.

Smile
  Topic: smartyPaginate - styling active page
thiebo

Replies: 6
Views: 10299

PostForum: Plugins   Posted: Sun Apr 12, 2015 2:25 pm   Subject: smartyPaginate - styling active page
Hi there,

My question isn't clear ? Or inappropriate .. ?

Thanks,

Thiebo
  Topic: smartyPaginate - styling active page
thiebo

Replies: 6
Views: 10299

PostForum: Plugins   Posted: Sat Apr 11, 2015 3:09 pm   Subject: smartyPaginate - styling active page
Hello,

Using smartyPaginate, works like a charm. Just one little problem...

I could style the links of the pagination results, since the plugin returns <a href class="page">...bl ...
  Topic: SmartyValidate textarea
thiebo

Replies: 1
Views: 10095

PostForum: Add-ons   Posted: Fri Aug 01, 2014 5:02 am   Subject: SmartyValidate textarea
Hello,

I have a form composed of several input types and in the end one textarea (which is not an HTML input type).

Smartyvalidate works great for the parts of the form that have an input type, ...
  Topic: smarty paginate : next resulte
thiebo

Replies: 4
Views: 15855

PostForum: Add-ons   Posted: Sun Jun 01, 2008 6:35 pm   Subject: smarty paginate : next resulte
I guess it makes sense.
I'll give it a try !
Many thanks - I'll post here how it works out.
  Topic: smarty paginate : next resulte
thiebo

Replies: 4
Views: 15855

PostForum: Add-ons   Posted: Sun Jun 01, 2008 5:56 pm   Subject: smarty paginate : next resulte
Hello,

I thought of that but I don't see how that's possible.

Maybe my explanations were not clear (or too long). Here's what I do : I first get all the results resulting from a specific reque ...
 
Page 1 of 10 Goto page 1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
All times are GMT
Jump to:  


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