Buck Anderson posted on March 26, 2010 10:19 :: 409 Views

Business Directory users have asked when setting their Xmod form to Auto Approve All Record how they can avoid the Listing Waiting Approval message when the listing is initially entered.
Here's How.
In regards to listing waiting approval:
This is designed behavior.
The listing waiting approval will remain until the Administrator edits the listing and approves the listing as a standard listing or an enhanced listing (more info button with details page).
This logic is separate from the Xmod approval process.
If you want to assign all listings as a Standard Listing or an Enhanced Listing you can perform the following:
Note: in the code below I have replaced arrows with brackets to render the code in this post.
To perform changes below go to the Xmod action menu >> manage forms >> edit your form using the Xmod plain text editor >> Search code for cboEnhancedListing.
To assign initial listings as Standard Listings:
[select1 ref="cboEnhancedListing" appearance="minimal" class="dnnpSmall" repeatcolumns="1"]
[label class="dnnpNormal"]Enhanced Listing[/label]
[items]
[item]
[label]-Select-[/label]
[value][/value]
[/item]
[item selected=”true"]
[label]Approved Standard Listing[/label]
[value]No[/value]
[/item]
[item]
[label]Approved Enhanced Listing[/label]
[value]Yes[/value]
[/item]
[/items]
[/select1]
I have added the selected=”true" to the item for standard listings.
To assign initial listings as Enhanced Listings:
[select1 ref="cboEnhancedListing" appearance="minimal" class="dnnpSmall" repeatcolumns="1"]
[label class="dnnpNormal"]Enhanced Listing[/label]
[items]
[item]
[label]-Select-[/label]
[value][/value]
[/item]
[item]
[label]Approved Standard Listing[/label]
[value]No[/value]
[/item]
[item selected=”true"]
[label]Approved Enhanced Listing[/label]
[value]Yes[/value]
[/item]
[/items]
[/select1]
I have added the selected=”true" to the item for enhanced listings.
Note: you must choose one or the other. You cannot have two menu items selected at the same time.
Finally update your form.