Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Outputting Phrases

Status Resolved
Add-on / Version Publisher 1.2.3
Severity Trivial
EE Version 2.8

Geoff Lewin

Mar 12, 2014

I’m trying to output Phrases to my page but only the default language is working.

I’ve tried both of the below template tags below.
I’m using stash and my full code is;

{exp:stash:set parse_tags="yes" parse_conditionals="yes" type="snippet"}            
        {stash:content}
          {exp:channel:entries channel="page" disable="categories|pagination|member_data" limit="1"}

    {phrase:take_a_test_drive}
           
    {exp:publisher:translate_phrase name="take_a_test_drive"}
                    
        {/stash:content}
    {/exp:stash:set}
]

On another note can you use html inside of Phrases?

#1

Geoff Lewin

Okay the Phrases have started to work for the other languages. This must be a cache issue.

I’ve used html in the Phrases for links which works but adds numbers to the end of the url.

Can Phrases support html?

#2

BoldMinded (Brian)

I thought I had fixed the phrase cache issue. I’ll take another look.

Yes, they can have HTML, they’re just text fields in the database. What sort of numbers are at the end of the URL? I don’t follow.

#3

Geoff Lewin

The code it adds to the end of the url is;

?__hstc=89407876.54987682d0836b379ba45bd16778bfeb.1394469394160.1394556983800.1394615240017.6&__hssc=89407876.199.1394615240017&__hsfp=2412626841

#4

BoldMinded (Brian)

That looks like some sort of analytics/tracking code. Certainly does not come from Publisher.

Login to reply