Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • jmcelroy Friend
    #203413

    I’d like to show a few small buttons in the intro text area of the articles on the frontpage. It doesn’t work and certain stylings don’t work either, like lines
    <li>line</li>

    I want to have custom styling and images/link available in the intro text, any help would be great.

    Love the template, I renewed membership for it when I saw it was for members now. Thanks for any help.

    jooservices Friend
    #557933

    Hi there
    Would you mind provide some more detail about issue with live URL and screenshot ?

    Thank you,
    Viet VU

    jmcelroy Friend
    #557956

    It’s a on a dev site, and it’s not really an issue, just something I’d like to do that seems practical for the templates use.

    You can see the article intro text in the popup has the dots for lines. But in the front page view the lines and formatting doesn’t show up.

    Also, in the intro text I would like to be able to put small images that are linkable in the intro text. These do not show up on the frontpage intro text when setting them.


    1. introtextsample
    jmcelroy Friend
    #558215

    so, there is no code I can edit, change, add, or takeaway to make this happen?

    TomC Moderator
    #558217

    If I am correctly understanding what you are trying to accomplish,here are some resources which may be of assistance to you . . . . .

    http://techforluddites.com/replacing…ges-using-css/

    http://stackoverflow.com/questions/1…t-item-element

    http://blog.iconfinder.com/how-to-ad…ss-and-base64/

    http://webdesign.about.com/od/css/a/aa012907.htm

    http://www.cssbakery.com/2012/08/css…n-sprites.html

    jmcelroy Friend
    #558218

    Thanks, I’ll start checking them out.

    jmcelroy Friend
    #558219

    Actually, checking them, it isn’t what I want. The bullets don’t even show up on the frontpage, and thats the problem. They show up in full article view, but not in the frontpage view. In my image you can see in article view the bullets are there in the readmore area, but on the frontpage they don’t show.

    But I also want to show images in the readmore and link them, not replace bullets with images.

    Seems the readmore on frontpage view is text view only, you can’t have anything but text for custom styling in there. I’d like to change this.

    Saguaros Moderator
    #558291

    You can find the code for stripping tags in this file: templatesja_walltemplate_tools.php

    Look for this function:


    public static function extractFirstParagraph($text){
    static $regex = '#<p[^>]*>(.*)</p>#i';
    static $allowtag = '<a><b><strong><br><li>';

    Add <li> or any other HTML tag into allowable tags list as above

    Remember to clean cache then.

    jmcelroy Friend
    #558421

    Sorry, this reply didn’t show in my email.

    But I just took out the strip tag in the blog_item.php so it doesn’t strip anything since I want images, images with links, and html in the introtext as well. It worked for everything needed.

    <em>@Saguaros 457087 wrote:</em><blockquote>You can find the code for stripping tags in this file: templatesja_walltemplate_tools.php

    Look for this function:


    public static function extractFirstParagraph($text){
    static $regex = '#<p[^>]*>(.*)</p>#i';
    static $allowtag = '<a><b><strong><br><li>';

    Add <li> or any other HTML tag into allowable tags list as above

    Remember to clean cache then.</blockquote>

Viewing 9 posts - 1 through 9 (of 9 total)

This topic contains 9 replies, has 4 voices, and was last updated by  jmcelroy 9 years, 11 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum