Page 1 of 1

init.php query

Posted: Sun Apr 26, 2020 7:32 pm
by jboflynn
Hi Folks,

I'm running the latest EVE-NG community edition and all is working OK. However I want to edit 'init.php' to expose a new node type.
I don't appear to have $nodes-templates Array() section in which to edit. I can see the " // Create template array" section and within that the "$node_templates = Array();" definition.
But I don't see the various node types. What's confusing me is that all is OK when I attempt to add a new node etc. I can see the various types with the present installed nodes highlighted in blue.

Any ideas of what I'm missing or is there a reference to another file that I'm overlooking?

Regards,

Brendan

Re: init.php query

Posted: Sun Apr 26, 2020 9:01 pm
by Uldis (UD)
you neednot edit it at all anymore..
Update eve to newest version and read cookbook how to add images.
no touch init files or config anymore

Re: init.php query

Posted: Sun Apr 26, 2020 9:33 pm
by jboflynn
Hi Uldis,

Thanks for your response. I'm running the newest version v2.0.3-110 .
I'll check the documentation again.

Kind Regards,

Brendan