Then, in my page editor in the Kirby Panel I have put in:
But this simply displays the text string “(companyno: html)” on the page. If I change return $site->conumber()->kirbytext(); to a simple text string it works fine. How do I access the value I have declared for conumber?
Also, would it be possible to declare a Kirbytag using this kind of structure that would access various fields I have declared for the site blueprint?
Sorry if this seems really basic but I’m trying to get my head around it all fits together!
Thanks for that. At the moment I’m looking for a simple solution to pull in common text field values and display them (allowing the user to change them globally by simply altering one field in the Panel). However, your HTML5 Video tag is certainly something that will be useful to me soon, so thanks for sharing!