Hello David,
I have a usual question :) about New Free Text field.
I thought I have enough of experience creating new fields under PT.
So I made free text field and everything is OK.
Only one issue.
When I register in new field html link - http://example.com - it saves in pt_feeds like httpexample.com
At the same time standard buy_url and image_url works fine as usually.
I can't find how to set the same terms for my new field to register and import html links AS IS.
Please, give a tooltip !
Best regards,
Serge
Dear David, as always you pointed me to the right direction !
When I've got what it is - I made the corrections and found one more line in includes/admin.php
database_safe(tapestry_normalise($userDomain)),
should be changed to
database_safe($userDomain),
So now everything works fine !
Thanks again and have a nice day !
Best regards
Serge
Hello Serge,
That would be the result of normalising the value with tapestry_normalise(). The only way I think that would result for a custom field is if copying the code for another field that you did want to be normalised. Within the import record handler function - admin__importRecordHandler() - in includes/admin.php check if you have something like;
$importRecord["newfield"] = tapestry_normalise($importRecord["newfield"]);
...which would explain it. Delete that line it will import exactly as is...
Cheers,
David.
--
PriceTapestry.com