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 / Field image in grid mode?

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

Field image in grid mode?

More
10 years 4 months ago - 10 years 4 months ago #20760 by sanida
Field image in grid mode? was created by sanida
Hello,
The list mode the "field image" appears in the column.
How can grid mode display under the title?
I send a picture of what I would like. :)
Thank you in advance!
Attachments:
Last edit: 10 years 4 months ago by sanida.
The following user(s) said Thank You: adarr
More
10 years 4 months ago #20766 by juloaadmin
Replied by juloaadmin on topic Field image in grid mode?
Hello,

Sorry in grid mode there is no way to add custom field without some code.
Do you have some knowledge of PHP and HTML do you know joomla override ?

What is the name of the field to be added ?
The following user(s) said Thank You: sanida, adarr
More
10 years 4 months ago - 10 years 4 months ago #20769 by sanida
Replied by sanida on topic Field image in grid mode?
I a bit edited the php code. :)
The field name ad_videoicon, and type image.
A small picture:

I would like you Grid mode, the user would see if the ad contains videos.
The small icons would indicate. :)
Attachments:
Last edit: 10 years 4 months ago by sanida.
The following user(s) said Thank You: adarr
More
10 years 4 months ago #20782 by loic
Replied by loic on topic Field image in grid mode?
Hello,

How did you custom the code ?
If you have added the icon in the grid layout, you just have to copy-paste your custom code where you need it.

Best regards.
The following user(s) said Thank You: adarr
More
10 years 4 months ago - 10 years 4 months ago #20793 by sanida
Replied by sanida on topic Field image in grid mode?
I no edit, I do not know how to do this.
Juloaadmin asked: "Do you have some knowledge of PHP and HTML do you know joomla override ?"
I answered that yes. I know a bit of PHP and HTML codes.
Last edit: 10 years 4 months ago by sanida.
The following user(s) said Thank You: adarr
More
10 years 4 months ago #20800 by loic
Replied by loic on topic Field image in grid mode?
Hello,

You need to display the field where you want by adding this in the code here 'templates/your_template/html/com_adsmanager/list/default_grid.php' :
echo $this->field->showFieldValue($this->content,$this->fields['ad_yourfield']);

If you don't have a override in your template, copy paste this file before doing the customization 'components/com_adsmanager/views/list/tmpl/Default_grid.php'.

Best regards.
The following user(s) said Thank You: adarr
Moderators: perry
Time to create page: 0.079 seconds
Powered by Kunena Forum