Purchase OIOpublisher now for just $47.

Take control of your ad space.

Click here to purchase

    • CommentAuthorMoonworks
    • CommentTimeJun 21st 2009
     

    I'm putting in info on the affiliate section as html, and it is giving me some strange output.

    For example, where it should say:

    As Sabrina's experience lies in writing

    It actually comes out as:

    As Sabrina’s experience lies in writing

    Need help?  Quick start guide | Troubleshooting | All help topics
    • CommentAuthorSimon
    • CommentTimeJun 21st 2009 edited
     
    Project Admin

    Is the phrase below exactly what you entered, or was the apostrophe encoded at all?

    As Sabrina's experience lies in writing

    Need help?  Quick start guide | Troubleshooting | All help topics
    • CommentAuthorMoonworks
    • CommentTimeJun 21st 2009
     

    It was added as it is on there, no weird encoding to it

    Need help?  Quick start guide | Troubleshooting | All help topics
    • CommentAuthorSimon
    • CommentTimeJun 21st 2009
     
    Project Admin

    Where did you put it exactly? Is it possible to see it on your site at the moment?

    Need help?  Quick start guide | Troubleshooting | All help topics
    • CommentAuthorMoonworks
    • CommentTimeJun 21st 2009
     

    You can see it here:

    Example

    I don't know if it is linked to this, but if I make some changes to the text and resave, I get a collection of forward slashes throughout the text.

    Need help?  Quick start guide | Troubleshooting | All help topics
    • CommentAuthorSimon
    • CommentTimeJun 22nd 2009 edited
     
    Project Admin

    Ah, you're adding it via the "description" element in the custom purchase admin area. Odds are that it's not formatting correctly from there (I may have never tested it with a full html description) - I'll check it out tomorrow for you (it's quite late now).

    Need help?  Quick start guide | Troubleshooting | All help topics
    • CommentAuthorMoonworks
    • CommentTimeJun 22nd 2009
     

    Should I be doing it elsewhere. To be honest, it is a little hit and miss on the affiliate section (not OIO, the way I am figuring it out).

    I wouldn't expect you to work on it past midnight, just answering it is useful :o)

    Need help?  Quick start guide | Troubleshooting | All help topics
    • CommentAuthorMoonworks
    • CommentTimeJun 22nd 2009 edited
     

    If it helps when you look at it, here is the code used on that page:

    <strong><font color="#000080">Breaking Into Romance</font></strong><p>
    <font color="#000080"><b>December 5th/6th 2009 - Daytime</b></font></p>
    <p style="text-align: justify;">The course is aimed at those hoping to break into writing category romance for Harlequin Mills and Boon, and will provide practical advice on crafting and selling a manuscript.</p>
    <p style="text-align: justify;"><strong>Crafting*</strong></p>

    <ul style="text-align: justify;">
    <li>Dispelling romance-writing myths and the truth about research</li>
    <li>Motivation and conflict: yours and your characters</li>
    <li>Going global: writing protagonists with universal appeal</li>
    <li>In the plotting shed: growing a satisfying story</li>
    <li>Keeping perspective: dialogue and points of view</li>
    <li>Settings, sex and adding sparkle</li>
    <li>Developing your own inner editor.</li>
    </ul>
    <p style="text-align: justify;"><strong>Selling</strong></p>

    <ul style="text-align: justify;">
    <li>Creating a professional submission</li>
    <li>Covering letters and synopses</li>
    <li>Routes to the editors desk</li>
    <li>What to expect, what not to expect, and where to go for help.</li>
    <li>No holds barred questions and answers</li>
    </ul>
    <p style="text-align: justify;">* As Sabrina’s experience lies in writing for Modern line, the ‘crafting’ section of the course will be delivered from this angle. However, the course would be relevant to anyone hoping to pursue a career in writing category romance.</p>
    <P align="justify">
    By purchasing this ticket, you receive the following included in the price for one person:
    <P>
    5 Hours Training<BR>
    2-Course Lunch<BR>
    Full Use of Amenities (including the gym & indoor swimming pool)<BR>
    Unlimited Tea/Coffee<BR>
    WiFi & Wired Internet

    Need help?  Quick start guide | Troubleshooting | All help topics
    • CommentAuthorSimon
    • CommentTimeJun 22nd 2009 edited
     
    Project Admin

    It should be fine to use the description area in the admin.

    I've just tested it by adding "This is just a test isn't it." to the description section of my test site. That revealed the problem with slashes appearing in the admin area (fix also applied to the latest download):

    OPEN admin/custom.php and FIND

    echo "<textarea name=\"oiopub_custom_info\" rows=\"4\" cols=\"70\">".$oiopub_set->{$cn}['info']."</textarea>\n";

    REPLACE WITH

    echo "<textarea name=\"oiopub_custom_info\" rows=\"4\" cols=\"70\">".stripslashes($oiopub_set->{$cn}['info'])."</textarea>\n";

    Now for the formatting issue. I realised it was down to the type of apostrophe you were using. Compare ‘crafting’ to 'crafting' - it's the 2nd type of apostrophe you need to use to have it display correctly.

    PS. I've also modified the templates/core/purchase_custom.tpl file in the latest download slightly so that the word "Description" aligns with the top of the description text, rather than in the middle (looks better that way).

    Need help?  Quick start guide | Troubleshooting | All help topics
    • CommentAuthorMoonworks
    • CommentTimeJun 22nd 2009
     

    OK thanks for that, I can go in there now and add more info. Have gone for simple at the mo, but would look better with full course information on the payment page.

    Thanks for the help, shows why this will become a world leader in online advertising at some point.

    Need help?  Quick start guide | Troubleshooting | All help topics