Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Giray Posted December 25, 2022 Posted December 25, 2022 It must be me... but... Have tried inserting two keys into a pages text block, one from an app on the marketplace which comes with the ability to insert a {key}, the other from advertisements and neither seems to be working. I tried putting into a block: {advertisement="thisismyadname"} and all that appears is the text {advertisement="thisismyadname"}, it does not call up the ad which I have configured properly to show in custom places using the key, e.g. "thisismyadname". Thoughts where I should start looking for my error? Thanks
Nathan Explosion Posted December 25, 2022 Posted December 25, 2022 (edited) 49 minutes ago, Giray said: pages text block What type of block? If Editor then what you see is what you get - you typed in the content that is going to be displayed (same for using the WYSIWYG editor block in the front-end too) If Manual HTML then you're on the right track to use the key, as it allows template logic (which is what the {advertisement=....} is) in the content. If Manual PHP then you won't have been able to save the block as {advertisement=....} isn't PHP. Edited December 25, 2022 by Nathan Explosion
Giray Posted December 25, 2022 Author Posted December 25, 2022 30 minutes ago, Nathan Explosion said: What type of block? If Editor then what you see is what you get - you typed in the content that is going to be displayed (same for using the WYSIWYG editor block in the front-end too) If Manual HTML then you're on the right track to use the key, as it allows template logic (which is what the {advertisement=....} is) in the content. If Manual PHP then you won't have been able to save the block as {advertisement=....} isn't PHP. Thanks! Tried but no luck 😞 I really do seem to have some kind of issue showing any template using {}. I've tried, just to see that I wasn't crazy, both with brackets and without; no luck. I'll keep debugging to see what I'm doing wrong. Thanks again for your help and Merry Christmas!!
Marc Posted December 29, 2022 Posted December 29, 2022 Do you have an example we can take a look at on your site?
Giray Posted December 29, 2022 Author Posted December 29, 2022 9 minutes ago, Marc Stridgen said: Do you have an example we can take a look at on your site? Not sure what timezone you are in, but if you're like me, in EST, what the hell are we both doing up and working during the holidays? 🤔 Thanks for the offer to help. If you go to any page on Ham Community and scroll down to the bottom, you will see an instance of Advanced Footer. You'll see the code {slidermaker="1"}. Note that the slider does work as you can see in the top third of the homepage (https://hamcommunity.com). Note also that I have tried elsewhere on the site and that I have also tried with Pages blocks. I'll add another one in shortly to show you but in the meantime, you can see the slider maker one. Have attached an image for you to recognize it more easily.
Jim M Posted December 29, 2022 Posted December 29, 2022 It looks like you are adding this into a custom, third party footer add-on. You would need to ask the author if template syntax will be evaluated there and troubleshoot any issues with them if it is.
Marc Posted January 3, 2023 Posted January 3, 2023 On 12/29/2022 at 10:18 AM, Giray said: Not sure what timezone you are in, but if you're like me, in EST, what the hell are we both doing up and working during the holidays? I'm in the UK 😄 Thank you for your concern, but not that insane as of yet (dont ask anyone else, or they will refute that claim)
Recommended Posts