Forum

Thread tagged as: Problem, Blog, Redactor

Link URL showing in Redactor post

Hey,

When adding a link to text in Redactor, the published post shows the following:

Click 0=68.ARAovD4GJJZIke_bdSyNbBrXxn7WSVdpIv0dwr7NwrinnlRZPyH_j8-rb0VgwQFWOAPtF18CxuS4C5QGSsZycIK3rM5QbVI-AwxLQ46sjnszA6TJF_lUke-WOEAr3GwI3s2a1s4oHQNQRZC1T7zHyq7umfhbyEsyTe9iOJRJDyO00aGws28u6g&tn=-R”>here for more photographs

Any ideas why? Thanks!

Diagnostics

Perch: 3.1.2, PHP: 5.4.13, MySQL: 5.5.30, with PDO Server OS: Linux, cgi-fcgi Installed apps: content (3.1.2), assets (3.1.2), categories (3.1.2), perch_blog (5.6.1), perch_events (1.9.5), perch_forms (1.9.1) App runtimes: <?php $apps_list = [ perch_blog, perch_forms, perch_events ]; PERCH_LOGINPATH: /cms PERCH_PATH: /var/www/vhosts/cargilfield.com/httpdocs/cms PERCH_CORE: /var/www/vhosts/cargilfield.com/httpdocs/cms/core PERCH_RESFILEPATH: /var/www/vhosts/cargilfield.com/httpdocs/cms/resources Image manipulation: GD Imagick PHP limits: Max upload 128M, Max POST 8M, Memory: 128M, Total max file upload: 8M F1: 3b606135b33e6a102526838f4152a807 Resource folder writeable: Yes SCRIPT_NAME: /cms/core/settings/diagnostics/index.php REQUEST_URI: /cms/core/settings/diagnostics/ DOCUMENT_ROOT: /var/www/vhosts/cargilfield.com/httpdocs HTTP_HOST: cargilfield.com

Template

<div class="default_content-wrap news-post">
    <perch:blog id="image" type="image" label="Post Image" suppress="true" help="Recommended Minimum Size: 1800px x 500px"/>
    <perch:blog id="imageAlt" type="text" label="Image ALT" size="xl autowidth" help="Please fill this out if you have included an image." suppress="true"/>
    <h1><perch:blog id="postTitle" type="text" label="Title" required="true" size="xl autowidth" order="1" /></h1>
    <h2><perch:blog id="introText" type="text" label="Intro Text" size="xl autowidth" order="2" /></h2>
    <div class="default_section text-two-col">
        <div class="text-left-col">
            <perch:blog id="leftColBody" type="textarea" label="Blog Text - Left Column" size="medium" editor="redactor" textile="true" html="true"  />
        </div>
        <div class="text-right-col">
            <perch:blog id="rightColBody" type="textarea" label="Blog Text - Right Column" size="medium" editor="redactor" textile="true" html="true"  />
            <div class="text-tagline"><p><perch:blog id="signoff" type="text" label="Signoff" size="medium" /></p></div>
        </div>
    </div>
    <p id="post-meta">Posted <!--<span><perch:if exists="authorGivenName"><span class="p-author h-card"><perch:blog id="authorGivenName" type="hidden" /> <perch:blog id="authorFamilyName" type="hidden" /></span></perch:if></span>--> on <span><time class="dt-published" datetime="<perch:blog id="postDateTime" type="date" label="Date" time="true" format="Y-m-d H:i:s" divider-before="Publishing" />"><perch:blog id="postDateTime" type="date" time="true" format="d.m.y" /></time></span></p>
    <hr />
Darren Cusdin

Darren Cusdin 0 points

  • 2 years ago

Hi James,

In your template you are specifying textile and html in the textareas. Try this:

<perch:blog id="leftColBody" type="textarea" label="Blog Text - Left Column" size="medium" editor="redactor" html  >

Hey, thanks Mike, that resolved the problem. Much appreciated!

No worries - when you get a chance can you mark it as the solution, for future Perchers!