init.php query

Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.

Moderator: mike

Post Reply
jboflynn
Posts: 4
Joined: Sun Apr 26, 2020 4:36 pm

init.php query

Post by jboflynn » Sun Apr 26, 2020 7:32 pm

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

Uldis (UD)
Posts: 5067
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: init.php query

Post by Uldis (UD) » Sun Apr 26, 2020 9:01 pm

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

jboflynn
Posts: 4
Joined: Sun Apr 26, 2020 4:36 pm

Re: init.php query

Post by jboflynn » Sun Apr 26, 2020 9:33 pm

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

Post Reply