Dynamo

10 replies to this thread. Most Recent

ummedia

9 Feb 2010, 7:10 pm

[Pro] stop title code from using "

A very weird ask but I would like to stop freeway converting my ” in the title box to " as its messing up my Expression engine code. This is the code I get from freeway when I publish {exp:weblog:entries limit="1" entry_id="{entry_id}" weblog="lcdwatches" status="open|collection|libraryonly" }Digital Watch Library | {maker} - {modelnumber} | [{watchtype}]{/exp:weblog:entries}

and id like the " to go back to being “. I could change it by hand but as I am constantly making changes t that page id like something more permanent.

thank you in advance for any suggestions

Adam

quote

http://www.digitalwatchlibrary.com & vintagelcd.com

Adam, Freeway, EE and a load of old digital watches

Joe Billings

9 Feb 2010, 7:16 pm

Hi Adam,

Try this Page Action:

http://actionsforge.com/actions/view/47-dynamic-page-titles

Joe

On 9 Feb 2010, at 20:10, ummedia wrote:

A very weird ask but I would like to stop freeway converting my ” in the title box to " as its messing up my Expression engine code. This is the code I get from freeway when I publish {exp:weblog:entries limit="1" entry_id="{entry_id}" weblog="lcdwatches" status="open|collection|libraryonly" }Digital Watch Library | {maker} - {modelnumber} | [{watchtype}]{/exp:weblog:entries}

and id like the " to go back to being “. I could change it by hand but as I am constantly making changes t that page id like something more permanent.

thank you in advance for any suggestions

Adam

quote

Joe Billings

Softpress Systems Ltd.


For free and responsive Freeway support, visit: http://www.softpress.com/kb/contact.php

For news, follow us on Twitter: http://twitter.com/softpress

Join us on Facebook: http://www.facebook.com/pages/Softpress/122661043517

ummedia

9 Feb 2010, 7:38 pm

Excellent Joe thank you, exactly what I was looking for.

thanks

Adam

quote

http://www.digitalwatchlibrary.com & vintagelcd.com

Adam, Freeway, EE and a load of old digital watches

ummedia

9 Feb 2010, 7:47 pm

OK I was wrong that seemed to break it completely. Maybe something with the rest of the code it didnt like.

Adam

quote

http://www.digitalwatchlibrary.com & vintagelcd.com

Adam, Freeway, EE and a load of old digital watches

atelier

9 Feb 2010, 9:35 pm

Hi

I read that more often, that there is a problem with ampersands in the FW titlebox. But I have used it quite often, never had problem. I use like this code directly in the titlebox (of inspector) :

{exp:weblog:entries weblog="monumenten" disable="categories|category_fields|member_data|trackbacks" rdf="off" limit="1"}{pagetitle}{/exp:weblog:entries}

which becomes in the Template:

alt text

and EE spits out the {pagetitle} of that entree.

quote

atelier

9 Feb 2010, 9:38 pm

excuse me, something wrong with my image…:-( alt text

quote

ummedia

10 Feb 2010, 7:25 am

Yes dont know what happened but as soon as I used the dynamic page title everything stopped working at least before all my open status entries showed up. I’ll have a look today and see if I can work out what it is. Can I add the page title manually if I leave the one on the page blank? Or maybe an embed would work.

Adam

quote

http://www.digitalwatchlibrary.com & vintagelcd.com

Adam, Freeway, EE and a load of old digital watches

atelier

10 Feb 2010, 7:43 am

If I were you I would create a single entree testpage, with only one DIV with code for a single entree of a particulair weblog (channel) And then write the code for the title in the titlebox of FW. Just to isolate the issue. There might be something else on the page that messes things up.

quote

ummedia

10 Feb 2010, 8:56 am

I worked it out, well not worked it out copied the call from the meta name tag that was written slightly differently using the url_title instead of the entry_id it worked. I dont know whether it was because of that but it works so Im happy. Thanks for your help.

kind regards

Adam

quote

http://www.digitalwatchlibrary.com & vintagelcd.com

Adam, Freeway, EE and a load of old digital watches

Tim Plumb

10 Feb 2010, 10:40 am

Hi Adam, Try the Retitle page action (http://www.freewayactions.com/product.php?id=014 ). It doesn’t encode the new page title (maybe it should) so your quotes and ampersands will remain intact. Regards, Tim.

On 10 Feb 2010, at 09:56, ummedia wrote:

I worked it out, well not worked it out copied the call from the meta name tag that was written slightly differently using the url_title instead of the entry_id it worked. I dont know whether it was because of that but it works so Im happy. Thanks for your help.

FreewayActions.com - Freeware and commercial actions for Freeway Express & Pro. ………………………………………………………………………… Protect your mailto links from being harvested by spambots with Anti Spam. Only available at FreewayActions.com ………………………………………………………………………… http://www.freewayactions.com

quote


Extend Freeway the way you want with FreewayActions.com

http://www.freewayactions.com

Back to Top

ummedia

10 Feb 2010, 12:40 pm

Thanks Tim that seemed to do it. No errors at all.

kind regards

Adam

quote

http://www.digitalwatchlibrary.com & vintagelcd.com

Adam, Freeway, EE and a load of old digital watches

FreeCounter