Share » Forums » Developer » Getting the node_id asigned to the...

Getting the node_id asigned to the node once created!

Getting the node_id asigned to the node once created!

Monday 18 July 2005 12:50:04 am - 3 replies

Author Message

David Eriksson

Monday 18 July 2005 2:34:42 am

If you kept the original location as main, you can use $node.main_node_id.

/David

Jorge estévez

Monday 18 July 2005 2:48:53 am

Hi David,

What do you mean by "If you kept the original location as main"...

thanks!

Diseño Web Cuba
Web Design Cuba
www.elfosdesign.com

David Eriksson

Monday 18 July 2005 3:47:38 am

Out of all the locations for an object, there is one that is designated "Main". If you add new locations using PHP code, you can choose if the new location should be made Main or not. If you just add locations through the admin interface, the original location should stay Main unless you decide to change it, after the new location has been added.

/David

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu