using fields
Forma 17
From: -
From: -
Notice
This topic is archived. New comments cannot be posted and votes cannot be cast.Responses to this topic
1 Re: using fields
Forma
OP
17
From: -
From: -
using fields
i've taken this to email.
i've taken this to email.
1 Re: using fields
Philipp
From: Austria
Administrator
1342From: Austria
using fields
Where exactly do this problem appear?
Where exactly do this problem appear?
1 Re: using fields
Forma
OP
17
From: -
From: -
using fields
for some reason in ST, this shows up as it should with html set to off:
<p>Nvidia <a href="https://www.contentteller.com/ http://www.nordichardware.com/news,7708.html" target="_blank">has launched</a> the long-overdue nForce 780a chipset, which has an integrated graphics processor for Hybrid SLI. Follow the link for reviews.</p>
but in CT it doesn't, it will show up all the html tags, etc.
for some reason in ST, this shows up as it should with html set to off:
<p>Nvidia <a href="https://www.contentteller.com/ http://www.nordichardware.com/news,7708.html" target="_blank">has launched</a> the long-overdue nForce 780a chipset, which has an integrated graphics processor for Hybrid SLI. Follow the link for reviews.</p>
but in CT it doesn't, it will show up all the html tags, etc.
1 Re: using fields
Philipp
From: Austria
Administrator
1342From: Austria
using fields
I completely forgot about these. No, you can’t use the raw fields in the templates after the data will not passed to the $insert array.
Is there any special reason why you want to enable HTML on all stories? Acquire should detect if a story previously used the HTML setting.
I completely forgot about these. No, you can’t use the raw fields in the templates after the data will not passed to the $insert array.
Is there any special reason why you want to enable HTML on all stories? Acquire should detect if a story previously used the HTML setting.
1 Re: using fields
Forma
OP
17
From: -
From: -
using fields
ok that didn't work as i wanted it to, the change worked but all the stories i imported from ST still won't display as html as its still using special chars in newsstory_story and newsstory_extendedstory.
all the stories now have newsstory_html set to 1.
should i just use newsstory_rawstory and newsstory_rawextendedstory or are there drawbacks to this?
ok that didn't work as i wanted it to, the change worked but all the stories i imported from ST still won't display as html as its still using special chars in newsstory_story and newsstory_extendedstory.
all the stories now have newsstory_html set to 1.
should i just use newsstory_rawstory and newsstory_rawextendedstory or are there drawbacks to this?
1 Re: using fields
Philipp
From: Austria
Administrator
1342From: Austria
using fields
UPDATE esselbach_ct_newsstories SET newsstory_html = '1';
1 Re: using fields
Forma
OP
17
From: -
From: -
using fields
good to know
while i'm fixing problems with news, what should i type in phpmyadmin query window to change all news storys to use html on?
thanks!
good to know
while i'm fixing problems with news, what should i type in phpmyadmin query window to change all news storys to use html on?
thanks!
1 Re: using fields
Philipp
From: Austria
Administrator
1342From: Austria
using fields
This is a problem that has been fixed in Preview 6. Contentteller Preview 6 should be out later this week.
This is a problem that has been fixed in Preview 6. Contentteller Preview 6 should be out later this week.
1 Re: using fields
Forma
OP
17
From: -
From: -
using fields
this made the text be read as html, but:
<table width="100" border="0" align="center" cellpadding="0" cellspacing="0"><tr><td>hello</td></tr></table>
this is what it does if i view source for the html i've put in the field. everything placed in the isn#t read, how can i get it to deleate the
this made the text be read as html, but:
<table width="100" border="0" align="center" cellpadding="0" cellspacing="0"><tr><td>hello</td></tr></table>
this is what it does if i view source for the html i've put in the field. everything placed in the isn#t read, how can i get it to deleate the
1 Re: using fields
Philipp
From: Austria
Administrator
1342From: Austria
using fields
Are you running PHP 5? Then you could add this in the PHP part of the template to turn text back to HTML:
etc...
Are you running PHP 5? Then you could add this in the PHP part of the template to turn text back to HTML:
$insert['newsstory_extra1'] = htmlspecialchars_decode($insert['newsstory_extra1']);
$insert['newsstory_extra2'] = htmlspecialchars_decode($insert['newsstory_extra2']);
etc...
1 Re: using fields
Forma
OP
17
From: -
From: -
using fields
i should have tried that, whoops!
now it's working, but if i use html in the field it doesn't display it as anything other than text.
i should have tried that, whoops!
now it's working, but if i use html in the field it doesn't display it as anything other than text.
1 Re: using fields
Philipp
From: Austria
Administrator
1342From: Austria
using fields
The field name for the news section is {$insert['newsstory_extra1']}
The field name for the news section is {$insert['newsstory_extra1']}
1 Re: using fields
Forma
OP
17
From: -
From: -
using fields
a quick response would be muh apprectiated here as i'm trying to import my news from ST to CT and need my old story fields to work, at present they have imported fine, but i cannot add the field to the story template, im lost.
a quick response would be muh apprectiated here as i'm trying to import my news from ST to CT and need my old story fields to work, at present they have imported fine, but i cannot add the field to the story template, im lost.
just wondering how to get a field to display.
it used to be $insert[story_extra] but this doesnt work anymore. I tried to look for what it might be in phpadmin but it's bizzarre as all i can see is an entry called fields.