Hi there,
I'm fairly new to K2 but very new to the forums here. Firstly can I say what a great component!
Secondly I'm having a bit of trouble adding a <head> tag into item.php
You might wonder why I'm adding it to item.php and not the template. Well I'm trying to add all of the Facebook and Meta tags into item. This might also help those who are trying to do this as I've done most of the hard work getting the parameters from K2.
I'm fairly new to K2 but very new to the forums here. Firstly can I say what a great component!
Secondly I'm having a bit of trouble adding a <head> tag into item.php
You might wonder why I'm adding it to item.php and not the template. Well I'm trying to add all of the Facebook and Meta tags into item. This might also help those who are trying to do this as I've done most of the hard work getting the parameters from K2.
Topic Author
13 years 8 months ago #110940
I think I've fixed this issue.
Quite obviously I can't add the <head> tags into item.php. I don't even know what I was thinking.
They must be added to the template wherever it pulls its <head> from.
This has created a further issue for me that any 'echo $item->' of K2 fields does not work in the template.
I think this is a separate issue so I'll post a new topic.
Hope this can help others.
Quite obviously I can't add the <head> tags into item.php. I don't even know what I was thinking.
They must be added to the template wherever it pulls its <head> from.
This has created a further issue for me that any 'echo $item->' of K2 fields does not work in the template.
I think this is a separate issue so I'll post a new topic.
Hope this can help others.