I am trying to setup a section of my forums to have a custom layout, not just one forum but a list of them, so I been using the Eval feature, and its working, the list of forums i want to be custom is displaying that way, but my server error log is filling up with this:
ErrorException: Undefined index: forum - library/EWRporta2/ViewPublic/Global.php(20) : eval()'d code:1
This is the eval code i am using for Forum_View / Forum_List / Thread_View:
in_array($params['forum']['node_id'], array(223,225,226,227,228,229,230,231,137,145,177,185,191))
First I thought maybe I had a number wrong in the array pointing to non-existing forum, but I double-check and does not look like as you can see here:
http://www.maxconsole.com/categories/modchip-france.220/
All the forums listed in that category when you view them, or the threads in them, show that layout, unlike the rest of the board which is packed with more ads, and displays the resources and gallery at the top.
Is there something wrong with my eval code, its working, but maybe the syntax is wrong, i found it in one of the posts in this thread.
Any help would be most welcome, so i don't have to keep clearing the server log every day, as its gets very long very fast!