Zen Cart Logo
Forums / Contribution-Writing Guidelines / pluginID of yet to be submitted encapsulated plugin?

pluginID of yet to be submitted encapsulated plugin?

Views: 972

Results 1 to 2 of 2
6 Dec 2024, 5:05 PM
#1
retched avatar

retched

Totally Zenned

Join Date:
Jun 2007
Location:
Bronx, New York, United States
Posts:
942
Plugin Contributions:
3

pluginID of yet to be submitted encapsulated plugin?

I probably should've wrote this before I submitted a plugin a while ago, but trying to follow along with the guide to the manifests for encapsulated plugins (https://docs.zen-cart.com/dev/plugins/encapsulated_plugins/manifests/) and came up on the definition of the 'pluginId' field.

My question is, what value should go there for a plugin that hasn't been submitted. Should I just use 0 and then update it later?

6 Dec 2024, 7:24 PM
#2
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Re: pluginID of yet to be submitted encapsulated plugin?

retched:

I probably should've wrote this before I submitted a plugin a while ago, but trying to follow along with the guide to the manifests for encapsulated plugins (https://docs.zen-cart.com/dev/plugins/encapsulated_plugins/manifests/) and came up on the definition of the 'pluginId' field.

My question is, what value should go there for a plugin that hasn't been submitted. Should I just use 0 and then update it later?
Yep, just use 0 and then update the value once the plugin's submitted.

It's kind of a chicken/egg thing. What I've done in the past is to do an initial submission for version 0.0.0 that's zip file with just the readme to get the plugin ID.