Topic-icon EasyTags dissapearing after 'save'

Active Subscriptions:

None
9 years 6 months ago #48084 by dalsha
Thanks for both of yours time.
I know you've been looking at the site and doing stuff for over an hour or so, I appreciate that.

I myself have spent many hours on this too, and usually I can solve all problems, but not this time, hence I needed to ask for support.
I will pm ftp details.

Thanks again, you help is very much appreciated.

Dale.
The topic has been locked.
Support Specialist
9 years 6 months ago #48102 by mel
Good progress! I think it's almost fixed, and possibly just needs a small change on your part now.

FYI - I had to make a small change to the JFBCSystem plugin, in addition to last night's change to the same file.

1. I did my testing of manually inserting the SCOpenGraph tags on your volunteers page (www.pubutopia.uk/volunteers). I was able to put these SCOpenGraph tags and they showed up properly in the page source, unlike last night
{SCOpenGraph image=http://www.pubutopia.uk/cache/cobalt_thumbs/image/26517/367e9490878e7788f4997d1396d6e9d5.jpg}
and
{SCOpenGraph description=This historic Lancaster pub is one of the oldest in the UK. It has a reputation for being inhabited by ghosts and poltergeists - it was even the subject of an episode of "Most Haunted". It is also one of a very few pubs with an original cellar upstairs - the spring waters seep through the foundation of the Lancaster Castle above and keep the cask beers nicely cool all year round. We offer a selection of usually 3 regular guest ales and 3 more transitional ales (that are sometimes quite experimental!). We are a family run pub and we'd love you to visit us and share our passion for ale and the 'proper pub' experience.}

2. On the example page where you're inserting the tags into the template (www.pubutopia.uk/pubs/lancaster-pubs/the-three-mariners), there is still a small problem with the tag you've added being rendered. However, I think this is easily fixable for you. I believe it's not being rendered because there is a br statement right before the closing brace. Can you remove the br and see what happens? If you're using php to get the description to insert into the SCOpenGraph tag, you should just be able to add a strip_tags statement around it.

Let me know your results for #2.

-Melissa
The topic has been locked.