doublesecretagency / craft-adwizard

Ad Wizard plugin for Craft CMS
Other
7 stars 8 forks source link

Any plans for multisite support? #11

Open lexislav opened 4 years ago

lexislav commented 4 years ago

Do You have any plans to add the multisite support? So an ad might be published on some sites and not on others (lets say on EN sites, not on germen versions… etc).

lindseydiloreto commented 4 years ago

Great question! It's technically on the roadmap, but it's pretty far down the line.

We'll keep this thread open until I get around to (eventually) adding it. Thanks for the FR!

lindseydiloreto commented 4 years ago

It occurred to me, you may be able to fake it using custom fields...

https://www.doublesecretagency.com/plugins/ad-wizard/docs/custom-fields

You can add whatever fields you want in order to manipulate the behavior of an Ad. You could add a series of lightswitches to enable/disable for different Sites, or a dropdown menu of Sites to appear on. The possibilities are (sorta) endless.

You could then fetch your Ads using an Element Query, for more precision...

https://www.doublesecretagency.com/plugins/ad-wizard/docs/get-ads-with-an-element-query

Feel free to experiment with that workaround! If you make any traction, let me know. 🙂

lexislav commented 4 years ago

I actually did that, but without Your plugin. I have no fancy stats for adds on dashboard. I would love that for my client for sure. On the other hand I have full multisite functionality system wide - that makes editor's experience consistent trought all content types. Any emulation of that functionality would broke that 🙂

lindseydiloreto commented 4 years ago

That's fair, it's probably better to have the consistency at this point.

I'll keep this thread open until I get a chance to do proper multisite. Thanks! 🙂