Modifying the base: Adding ordinary TGPs and TGPs with partnership
Let's examine process of adding the ordinary TGP to the base.
- Launch program.
- Open TGP base (Open Project button).
- Open TGP's submit page in the built-in browser http://gssubmission.com/samples/form1/. As you can see - it's an ordinary submission form, not a partner one.
- First we have to add Site - press Add Site button. New Site dialog has opened, so we should type in TGP name (Name). The name will be taken from the title of the opened page by default. TGP URL (URL) is set to the site URL of the opened page by default; in our case it's http://gssubmission.com/.
- When we have got all parameters set press OK button - now Site is created and submitter asks you - "Add Entry Page?". Choose Yes. The page adding dialog has opened: See screenshot.
You have to specify submit page type here - Regular or Partner, in our case it's Regular. If you know for sure that this TGP can be submitted in auto mode, set Auto parameter to Yes.
- Press OK and program move you to the Sites panel. If you still have some submit form fields unrecognized by submitter, you should set them right by hands. Fields can be colored in a different ways:
- Black - field has been recognized right.
- Red - recognition error.
- Dark red - field was recognized incompletely, for example - submitter couldn't recognize all categories that submit form contains.
Possible recognition errors:
- [NO VALUE] - non-critical error - means that the data that match that page has not selected in the current profile. E.g. - right categories were not picked.
- [VALUE REQUIRED] - non-critical error - means that some reqired field in profile has no value. For example, TGP require value for ThumbURL field (thumbnail sample URL) and if you don't fill this field you get an error.
- [UNKNOWN] - critical error - means that submitter have failed to recognize this field. In that case you should teach submitter to get it right.
Now we see that submitter couldn't recognize fields gss_des (Description), perm (Gallery Type) and conf (E-mail me when my post has been processed): See screenshot.
Double click on the gss_des field - you see the submitter learning dialog (Knowledges). Bind this field to the gallery description, for example, Med. Desc: See screenshot.
Then press Close button.
Let's look at the perm and conf fields - we can handle them in a two ways:
- This fields are not really important, so you can tell submitter to skip them while filling the form - just click on the Skip option: See screenshot.
- You can make submitter to put some concrete values in this fields, for example, fill perm with "Temporary - not ok to put in the archives" and conf with "Yes". To select values for the field set the field type to the Immediate and then fill it with the desired value: See screenshot.
That's all - submit page is set up.
- Now we have to add the reciprocal link to this TGP. Get back to the submitter's browser and seek for reciprocal link info in the TGP rules. Add the reciprocal link:
- Click right mouse button on the reciprocal image and select Paste Image to GSS TGP -> Recip Image item in the context menu. We have reciprocal image in the base now: See screenshot.
- Click right mouse button in the reciprocal link and select Paste Link to GSS TGP -> Recip URL: See screenshot.
- If you want to add reciprocal text link, use Paste Text to ... -> Recip Text command. Also you can use Paste Text to ... -> Recip Link.
If we get back to the Sites panel and look at the properties of the TGP we have added, then we'll see this: See screenshot.
We have added TGP to the base. Now let's add a partner submit page of this TGP.
- Open partner submit page in the built-in browser http://gssubmission.com/samples/form2/.
- Press Add Page button and submitter will ask you to add this page as a Partner. If you are sure that this TGP can be autosubmitted with no problems, set Auto parameter to Yes.
- Press OK and Sites panel has opened again. Fix up perm and conf fields as we did in case of the ordinary submit page.
- Look at the first field of the form - user. Submitter has recognized it as a Name, but really it's a Username, so we must fix it. Double click on the user field and get the submitter learning dialog (Knowledges) opened. Bind the field to the Username.
- We do not have to add reciprocal link, because we have did it already.
Done! The partner submit page have been added.
To make the submitter use the partner submit page while submitting you need to set the "submit path" for given TGP in the desired profile: See screenshot.
Do not forget to specify Username and Password at the TGP local settings (Show Site Profiles button): See screenshot. To learn more about local settings read the profile setup section.
Other topics about modifying the base:
Table of contents