• Resolved mcfilms

    (@mcfilms)


    Hi, a Drupal guy here. One of the cool things Views offers is a “READ MORE” link that you can override with your own custom text. Tne “READ MORE” links to the full content. I am trying to emulate that in Query Wrangler.

    I have tried Permalink : permalink
    Custom Field: blogger_permalink : meta_blogger_permalink
    Post Parent : post_parent

    None of these fields seem to do it. I tried to override the permalink and format it as an HREF link, but then my whole query disappeared in an error. Am I missing an easy way to create some generic “READ MORE” text that links to the content?

    https://www.ads-software.com/extend/plugins/query-wrangler/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Same as above…

    I temporary fixed like this:
    – look at the include\theme.inc
    – move the “apply link to field” section below the “look for rewrite output” section
    Then you can:
    – create a permalink field
    – check “Link this field to the post”
    – check “Rewrite the output of this field.”
    – insert whatever “read more” text you want
    done.

    Thread Starter mcfilms

    (@mcfilms)

    Daniele, that worked remarkably well. Thank you. Now this begs another question. How do I prevent the next module update from over writing the changed file in include\theme.inc?

    In Drupal there is a mantra, “don’t hack core.” Instead, you can create template overrides. Can I copy this into my sub theme and have it work from there?

    In any case, I think we should encourage daggerhart (the plugin developer) to integrate this change into the code.

    hey daniel bruneo and mcfilms, can anyone of you explain how to do it in details. Like step by step?
    I want the same read more thing with my query too.
    Also can any one of you tell me how to reduce the size of the post excerpts (I mean can i reduce the text) also is it possible to add the text field to comments field for example it only show the number of comments like “14” and not the whole thing like “14 comments” and can i link it to the comments section

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘READ MORE link’ is closed to new replies.