Search found 2 matches
[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- 04 Jul 2010, 05:52
- Forum: phpBB Development discussion
- Topic: My Topic Tag Mod Problem
- Replies: 2
- Views: 8891
Re: My Topic Tag Mod Problem
I know template system.I just showed when I used echo its display and when ı used assign variable.Echo is example for mod.I want when I use assign variables it should be display "with echo"(don't understand use echo.Just display with echo in assign variable.).
- 04 Jul 2010, 00:11
- Forum: phpBB Development discussion
- Topic: My Topic Tag Mod Problem
- Replies: 2
- Views: 8891
My Topic Tag Mod Problem
My codes in viewtopic.php $tag_word = censor_text($topic_data['topic_title']); $cut_tag = explode(' ' , $tag_word); for($i=0; $i<count($cut_tag); $i++){ $new_tag = $cut_tag[$i]; $topic_tag = $new_tag . ' ,'; } $template->assign_vars(array( 'S_TOPIC_TAG' => $topic_tag , 'L_TAGS' => $user->lang['TAGS'...
[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