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] Layout of custom 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] Layout of custom form

More
11 years 5 months ago - 11 years 5 months ago #2221 by neena
[RESOLVED] Layout of custom form was created by neena
Hello,

I like this joomla extension very much and want to use it. I have large number of custom fileds, which I want to arrange into separate sections on the entry form, entry category page and on item detail page.

something like:
echo "<div class=\"labe\l">COMPANY NAME</div>";
 
echo "<div class=\"itemcontents\">
<input $style class='adsmanager_required' mosReq='1' id='ad_companyname' type='text' mosLabel='".htmlspecialchars(JText::_('ADSMANAGER_MNAME'),ENT_QUOTES)."' name='ad_companyname' size='20' maxlength='20' value='$ad_companyname' /></div>"; 

Can anyone please suggest me the right way to doing that?

Thanks.
Last edit: 11 years 5 months ago by loic.
The following user(s) said Thank You: adarr
More
11 years 5 months ago #2241 by tompap
Replied by tompap on topic Layout of custom form
In write form:

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

in list and details views:

echo $this->field->showFieldValue($this->content,$this->field);

Like this you don't have to use "position" and "column" , you can directly put where you want your fields
The following user(s) said Thank You: neena, adarr
More
11 years 5 months ago #2252 by neena
Replied by neena on topic Layout of custom form
Hello tompap, thanks for the help.
The following user(s) said Thank You: adarr
Moderators: perry
Time to create page: 0.298 seconds
Powered by Kunena Forum