VAR in html INCLUDE

Discuss the development of future releases of phpBB (phpBB 3.x minor releases) and MODing/Coding related questions.
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
lefty74
New member
New member
Posts: 36
Joined: 16 Nov 2006, 07:31
Contact:

VAR in html INCLUDE

Postby lefty74 » 14 Aug 2008, 18:09



User avatar
igorw
Past Contributor
Past Contributor
Posts: 1967
Joined: 01 Jun 2006, 20:48
Real name: Igor
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: VAR in html INCLUDE

Postby igorw » 14 Aug 2008, 18:19


- we're poor!

harmlessgoat22
Supporter
Supporter
Posts: 316
Joined: 18 Sep 2007, 14:35
Real name: David
Contact:

Re: VAR in html INCLUDE

Postby harmlessgoat22 » 14 Aug 2008, 19:01


That's like, I can't beat my neighbor in an argument, so instead I kill his dog.
-Best English Teacher Ever

User avatar
igorw
Past Contributor
Past Contributor
Posts: 1967
Joined: 01 Jun 2006, 20:48
Real name: Igor
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: VAR in html INCLUDE

Postby igorw » 14 Aug 2008, 19:07

Very interesting, i didn't know that phpBB3 also had something like that. Back in the phpBB2 days it was called $template->assign_var_from_handle(). It seems just the name has changed.

- we're poor!

lefty74
New member
New member
Posts: 36
Joined: 16 Nov 2006, 07:31
Contact:

Re: VAR in html INCLUDE

Postby lefty74 » 14 Aug 2008, 19:18

thanks very much, that works nicely.

i dont think i would have ever thought of that....



[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “phpBB Development discussion”

Who is online

Users browsing this forum: No registered users and 22 guests