Ulvi 0 Жалоба Опубликовано: February 9, 2018 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. Поделиться сообщением Ссылка на сообщение Поделиться на других сайтах
Chernetskiy 469 Жалоба Опубликовано: February 9, 2018 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. Поделиться сообщением Ссылка на сообщение Поделиться на других сайтах
Ulvi 0 Жалоба Опубликовано: February 9, 2018 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! Поделиться сообщением Ссылка на сообщение Поделиться на других сайтах
Chernetskiy 469 Жалоба Опубликовано: February 9, 2018 Until morning perhaps no one will help. All went to sleep. My brain's not thinking anymore... Поделиться сообщением Ссылка на сообщение Поделиться на других сайтах
TopRaN 235 Жалоба Опубликовано: February 10, 2018 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. Поделиться сообщением Ссылка на сообщение Поделиться на других сайтах
Ulvi 0 Жалоба Опубликовано: February 10, 2018 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 ? Поделиться сообщением Ссылка на сообщение Поделиться на других сайтах
TopRaN 235 Жалоба Опубликовано: February 10, 2018 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) Поделиться сообщением Ссылка на сообщение Поделиться на других сайтах
Ulvi 0 Жалоба Опубликовано: February 10, 2018 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. Поделиться сообщением Ссылка на сообщение Поделиться на других сайтах
Ulvi 0 Жалоба Опубликовано: February 10, 2018 Someone help me please? Поделиться сообщением Ссылка на сообщение Поделиться на других сайтах