Hello,
I am creating a news website for a client and I have ad spaces positioned at different places on different pages as seen in the image below:
My intention is to create an "ads.php" clonable template with an image upload field and checkboxes field with the options being different ad sizes(in pixels) so that when I upload an ad image and check which size the ad is, it will automatically appear at its correct place on the front end. My problem is how to use the checkbox to filter which ad appears where:
Example:
Thank you
I am creating a news website for a client and I have ad spaces positioned at different places on different pages as seen in the image below:
My intention is to create an "ads.php" clonable template with an image upload field and checkboxes field with the options being different ad sizes(in pixels) so that when I upload an ad image and check which size the ad is, it will automatically appear at its correct place on the front end. My problem is how to use the checkbox to filter which ad appears where:
Example:
- Code: Select all
<cms:pages masterpage="ads.php" limit="1" filter="checkbox size in pixels">
<img src="<cms:show ad_img />" alt="ad img" />
....
</cms:pages>
Thank you