Ulvi

How do I show listings under their own categories separately on Home Page?

Recommended Posts

Hello, I need to know how can I show the ads/listings under their own categories separately on main page? For example;

Premium Ads - 25 ads

House for Sale - 25 ads

House for Rent - 25 ads  

All as separate categories/grids on the main page.  I don't want ads from all categories show up inside the same grid/box on the homepage. Hope you understood what I said :)) 

Please take a look at the screenshot I posted. 

Thanks, all the best.

Screenshot_1.png

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Hello Ulvi!

On the forum this question was discussed many times, please, use search (above - Google "Пользовательский поиск"). You can also place your task in the Freelance section.

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Thank you for the answer. Can you give me an idea where to find those already-asked questions on the forum? I don't speak Russian, wish I could find it on my own. I will just Google translate from there myself. Spasibo!

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Good morning. 
If I understood you correctly, then you want to display different categories of objects on the main page of the site, and in them to display the objects themselves?
There are two ways to solve this problem:
1. Use the principle of Vip ads and set a condition for checking the membership of a certain category. So we can know exactly what objects to put here. And so on for each category.
2. in main.php make a function of the selection request from the database on a certain basis of the category and then give in the template. The second way to more effectively when many different categories.

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах
1 hour ago, TopRaN said:

Good morning. 
If I understood you correctly, then you want to display different categories of objects on the main page of the site, and in them to display the objects themselves?
There are two ways to solve this problem:
1. Use the principle of Vip ads and set a condition for checking the membership of a certain category. So we can know exactly what objects to put here. And so on for each category.
2. in main.php make a function of the selection request from the database on a certain basis of the category and then give in the template. The second way to more effectively when many different categories.

Thanks for the answers. Is 2nd way usually something freelancers do? Because it looks like i might need advanced coding skills to fix that ?

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах
13 минуты назад, Ulvi сказал:

Thanks for the answers. Is 2nd way usually something freelancers do? Because it looks like i might need advanced coding skills to fix that ?

In principle, you can do it yourself. It uses smarty php. The most important thing is to clearly see my point. Ie, where should be displayed,and where not. What should be displayed. How it will work. You have to be clear about that. Well, then technically)

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах
12 minutes ago, TopRaN said:

In principle, you can do it yourself. It uses smarty php. The most important thing is to clearly see my point. Ie, where should be displayed,and where not. What should be displayed. How it will work. You have to be clear about that. Well, then technically)

Please check your message box. :ph34r:

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Гость
Ответить в тему...

×   Вы вставили отформатированное содержимое.   Удалить форматирование

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.