doublesecretagency/craft-adwizard
Composer 安装命令:
composer require doublesecretagency/craft-adwizard
包简介
Easily manage custom advertisements on your website.
README 文档
README
Ad Wizard plugin for Craft CMS
Easily manage custom advertisements on your website.
For complete documentation, see plugins.doublesecretagency.com/ad-wizard
Create Ads
Manage your ads in the Craft control panel by clicking the "Ad Wizard" tab.
Before you can create any Ads, you will first need to create at least one Group. Every ad you create will belong to a specific group. Once you've created your ads, you'll then be able to embed them into your Twig templates.
Embed Ads
You have two Twig tags available to you...
Render a random ad from a specific group. Specify the group by its handle.
{{ craft.adWizard.randomizeAdGroup('rightSidebar') }}
Render a single, specific ad. Specify the ad by its ID number.
{{ craft.adWizard.displayAd(42) }}
Both methods can display an ad until:
- The ad expires, or
- The ad reaches the maximum allowed impressions, or
- The ad is manually disabled.
Read more about embedding ads...
Track Views & Clicks
From the control panel Dashboard, click the settings icon. You can click the "New Widget" button to add a new widget to your dashboard.
Two new widget types will be available to you:
- Ad Timeline - A line chart showing the view/click trends of a single ad over time.
- Group Totals - A bar chart showing the total views/clicks for each ad in a specified group.
Read more about seeing your ad statistics...
Use Image Transforms (supports Retina display)
You can easily apply an image transform to your ads...
{{ craft.adWizard.randomizeAdGroup('rightSidebar', {
'image': {
'transform': 'large',
'retina': true
}
}) }}
Read more about image transforms...
Further Reading
If you haven't already, flip through the complete plugin documentation.
And if you have any remaining questions, feel free to reach out to us (via Discord is preferred).
On behalf of Double Secret Agency, thanks for checking out our plugin! 🍺
doublesecretagency/craft-adwizard 适用场景与选型建议
doublesecretagency/craft-adwizard 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 18.37k 次下载、GitHub Stars 达 7, 最近一次更新时间为 2018 年 07 月 30 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「cms」 「ads」 「Craft」 「craftcms」 「craft-plugin」 「ad-wizard」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 doublesecretagency/craft-adwizard 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 doublesecretagency/craft-adwizard 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 doublesecretagency/craft-adwizard 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Expand, collapse, change the status of, or delete multiple blocks in a Matrix field simultaneously.
Facebook & Instagram Ads for Laravel 5.6+
GraphQL authentication for your headless Craft CMS applications.
Set Links with a specific language parameter
Supercharged text field validation.
A Twitter supported and maintained Ads API SDK for PHP
统计信息
- 总下载量: 18.37k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 7
- 点击次数: 24
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2018-07-30


