Categories
Mastering Development

How to find combination of intersection from many tables?

I have a list of different channels that could potentially bring users to a website (organic, SEO, online marketing, etc.). I would like to find an efficient way to count daily active user that comes from the combination of these channels. Each channel has its own table and track its respective users. The tables looks […]

Categories
CMS Drupal Mastering Development

How to dynamically manipulate canonical entity URLs

I’ve got a project with a multi-user / multi-domain environment. There is one "main" portal like www.myproject.com and for every registered user with a specific custom permission has_personal_subdomain there is a subdomain and a theme with his username, e.g. user johndoe has a subdomain johndoe.myproject.com and this domain is using his custom theme johndoe. I’ve […]

Categories
Mastering Development

How to use dynamic data on slick carousel?

I have try below code. I using slick carousel slider, from https://kenwheeler.github.io/slick/ Below is my snippet code. var data = { homebanner: [ { id: “001”, link: “link-01”, imgurl: “/img/promo/banner/homebanner_000000_07242020.png”, text: ‘ABC’, seo: ” }, { id: “002”, link: “link-02”, imgurl: “/img/promo/banner/homebanner_000000_07242021.png”, text: ‘123’, seo: ” }] }; $.each(data.homebanner, function () { $(‘#HomeBanner’).slick(‘slickAdd’, ‘<div><src=\”>’ + […]

Categories
User Help Web Apps

What’s the best website building tool?

I am trying to make a blog and not just a random hobby blog, the blog is actually for a brand – Hosting and SEO solution providers. So, SEO is a main factor here. The website should be lite, seo, bloat free and fast. I have searched all over the internet, some people suggest to […]

Categories
Development

How to set up a proxy web server to handle 301?

One of my clients business is to sell online courses. Previously, my client was hosting its website himself, and now since he switched to another provider (Leanworlds.com), a lot or url have changed. My client have routed its DNS to its Leanworlds account. Our need is to set 301 redirect rules. We could ask them […]

Categories
Development

Laravel paginate resources won’t add meta

I have resources data returning in JSON. When I try to get my data with paginate it is not included meta data. Based on documentation my data supposed to be included meta like: “meta”:{ “current_page”: 1, “from”: 1, “last_page”: 1, “path”: “http://example.com/pagination”, “per_page”: 15, “to”: 10, “total”: 10 } but my data is returning like […]