Adding more images in Listings

Discuss everything related to Business Directory. All versions. Any questions related to the Business Directory developing or using should be posted to this forum.

Moderator: alexandrleonenko

FreddoB
Junior
Junior
Posts: 20
Joined: Nov 16th, '13, 23:41

Adding more images in Listings

Postby FreddoB » Dec 1st, '13, 21:22

Is it possible to change the number of images for a listing to 6 instead of 3?

If so, where would I find the code to change it?

administrator
Site Admin
Site Admin
Posts: 6010
Joined: Jan 7th, '09, 23:18
Contact:

Re: Adding more images in Listings

Postby administrator » Dec 2nd, '13, 07:51

Yes, you may change it - all changes may be done in include/classes/Listings.class.php

bgfree
Junior
Junior
Posts: 17
Joined: Feb 11th, '12, 17:06

Re: Adding more images in Listings

Postby bgfree » Dec 12th, '13, 21:39

Please for more details.
In include/classes/Listings.class.php I discovered how to make changes
What I found is how to change the number of opportunities (photos) when choosing an advertising plan in AdvertisePlans.class.php
line 129 example:

Code: Select all

$arr_images = array('0'=>'0', '1'=>'1', '2'=>'2', '9'=>'9', '20'=>'20');

faqeddie
Newbie
Newbie
Posts: 2
Joined: Oct 2nd, '18, 10:14

Re: Adding more images in Listings

Postby faqeddie » Oct 2nd, '18, 10:18

where will you do this in UBusiness Directory ver 2.6?

administrator
Site Admin
Site Admin
Posts: 6010
Joined: Jan 7th, '09, 23:18
Contact:

Re: Adding more images in Listings

Postby administrator » Oct 2nd, '18, 12:13

In uBusinessDirectory you have option to add upto 4 images

faqeddie
Newbie
Newbie
Posts: 2
Joined: Oct 2nd, '18, 10:14

Re: Adding more images in Listings

Postby faqeddie » Oct 30th, '18, 11:39

O, but if I need more? where & how is that setup?

administrator
Site Admin
Site Admin
Posts: 6010
Joined: Jan 7th, '09, 23:18
Contact:

Re: Adding more images in Listings

Postby administrator » Oct 31st, '18, 14:41

If you have knowledge in PHP you may do it with easy.
Simply look how it's done in the script and add in the same way additional image fields.

The script has MVC structure.


Return to “ApPHP Business Directory / uBusinessDirectory Talk {developers/users}”