Jump to content

HannaCode won't work on blog posts...


Greg Lumley
 Share

Recommended Posts

Hi, this has me stumped, please help. 😳

I'm using a field 'page_body' in a page-template as well as a blog-template. 
HannaCodeDialogue is enabled for the field page_body.

HannaCode works perfectly in Pages but not in Posts. 

The dropdown is visible in the pages edit template but not in the posts edit template. 

If I manually put the code into the Posts Template i.e. : [[YouTubeVideo videoName="my_vid"]] it simply displays the tag. 

I'm quite sure this is a config error of some sort but for the life of me, I can't find it. 

 

Thank you. 

 

Greg. 

Link to comment
Share on other sites

Hi Greg,

I'm not too sure what you meant by page-template. In PW it's quite a bit confusing because a page and a template is a different thing.

You have to put Hanna tag in your Blog page, not in the template file.

You assigned the Hanna Code Text Formatter in your Body field.

Link to comment
Share on other sites

7 hours ago, Greg Lumley said:

Hi, this has me stumped, please help. 😳

I'm using a field 'page_body' in a page-template as well as a blog-template. 
HannaCodeDialogue is enabled for the field page_body.

HannaCode works perfectly in Pages but not in Posts. 

The dropdown is visible in the pages edit template but not in the posts edit template. 

If I manually put the code into the Posts Template i.e. : [[YouTubeVideo videoName="my_vid"]] it simply displays the tag. 

I'm quite sure this is a config error of some sort but for the life of me, I can't find it. 

 

Thank you. 

 

Greg. 

@monchu is correct, please describe or provide a screenshot of how you have your "page_body" field setup.

Here is an example of the basic body field being used for the Hana Code Text Formatter.

1200990714_ScreenShot2020-09-21at2_32_45PM.thumb.jpg.2989bab59d138e34a876cb375d7a949a.jpg

  • Like 2
Link to comment
Share on other sites

As it turns out, the error was mine!

I wasn't using the same field as I thought. page_body was correctly setup with the 'Hanna Code Text Formatter'

The actual field I was using is blog_body (the disadvantage of not starting from scratch while learning)

blog_body was not set up to use the 'Hanna Code Text Formatter'

Thank you all for trying to help me. 😁

 

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...