Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Login

Or Register
Accueil / forum / Public Forum / Main Forum / [RESOLVED] How to display fieldid on entry form

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

AdsManager - End of life

It is with great regrets that we have chosen to end the developpement of Adsmanager and its other associated components.

AdsManager is born 10 years ago and, as of today, the number of new subscriptions and downloads have fallen and we cannot maintain the component anymore.

All active subscribers will be able to continue enjoying support until the end of their subscription.

The components will be free and no support will be provided anymore for the other users.

×

Notice

The forum is in read only mode.

× OLD Forum post could be checked here : forum.joomprod.com

[RESOLVED] How to display fieldid on entry form

More
11 years 5 months ago - 11 years 4 months ago #2222 by neena
Hi,

Instead of displaying all form fields in a single loop (foreach), I want to create different loops based on filedid in the table "adsmanager_fields".

Can anyone tell me how can I fetch fieldid on the entry form?

Thanks.
Last edit: 11 years 4 months ago by tompap.
The following user(s) said Thank You: adarr
More
11 years 5 months ago #2240 by tompap
Replied by tompap on topic How to display fieldid on entry form
You can directly display a specific field like this:


echo $this->field->showFieldForm($this->fields,$this->content,$this->default);

you can do the same with $this->fields in details and list
The following user(s) said Thank You: adarr
More
11 years 5 months ago #2253 by neena
Replied by neena on topic How to display fieldid on entry form
Hello tompap, thanks for your reply. Since I want to arrange form fields into separate sections, I guess, this can be done in 2 ways:

1. If I have the fieldid, I can loop defining the fieldid, for which I need to have fieldid

2. Putting different fields into different blocks or sections of the form by directly calling them by name.

Can you please tell me how to do that?

Thanks.
The following user(s) said Thank You: adarr
More
11 years 5 months ago #2280 by tompap
Replied by tompap on topic How to display fieldid on entry form
There is no "block" for form (not in 2.9.6, this is planned for 2.10)

right now you will have to call manually each field like this

echo $this->field->showFieldForm($this->fields,$this->content,$this->default);

ad_name should be replaced by the field name you want to display.
The following user(s) said Thank You: adarr
More
11 years 5 months ago #2283 by neena
Replied by neena on topic How to display fieldid on entry form
tompap, ok, thanks for the reply.
The following user(s) said Thank You: adarr
Moderators: perry
Time to create page: 0.124 seconds
Powered by Kunena Forum