ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Title as link to a blog entry

October 03, 2010 12:48pm

Subscribe [4]
  • #1 / Oct 03, 2010 12:48pm

    serafico

    58 posts

    Hello,

    I’d like to have a separate weblog with entries which are short presentations of articles posted on different blogs.
    Is it possible to set the parameters for an entry/weblog so that the title of each entry is a link to the article on a different blog? The list of the titles on my blog would be a list of links to outside blogs. Possible?

  • #2 / Oct 04, 2010 9:37am

    Sue Crocker

    26054 posts

    Sure. The easiest method would be to have a url field, a text field set to hold that particular URL. You’d need to do three things:

    1. Set the field type to None.
    2. Warn the author to make sure http:// is included in the link.
    3. For that particular weblog/channel, set Admin ›  Weblog Administration ›  Weblog Management ›  Edit Weblog Preferences Automatically turn URLs and email addresses into links? to No.

    Then you’d build the exp:weblog:entries loop to display the title and the additional field you created.

    Does that help?

  • #3 / Oct 05, 2010 3:58pm

    serafico

    58 posts

    Thanks for reply.
    The problem is that the link in that particular url field is not nice - with this “http://”. Is it possible to set it as a “normal” title?
    And to make it clickable you have to set in the weblog preferences “Automatically turn URLs and email addresses into links?” to Yes.

  • #4 / Oct 05, 2010 4:10pm

    serafico

    58 posts

    A good example of what I want to achieve is the blog of Douglas Bowman
    http://stopdesign.com/
    Some titles of posts are “links” to other blogs and some are his own “articles”. But all of them are presented as “normal” titles of posts. I know it’s a WordPress blog, but the question is how to make it with ExpressionEngine?

  • #5 / Oct 06, 2010 3:06am

    John Henry Donovan

    12339 posts

    serafico,

    Using stopdesign as an example here is how I would do it in EE. {custom_field} you would replace with your own field where you add the URLs

    <div class="article entry link" id="post-{entry_id}">
    
              <div class="date">
              <span class="day">{entry_date format="%d"}<span class="month">{entry_date format="%m"}<span class="year"> {entry_date format="%Y"}</span></span></span>
    
              </div>
              <h3><a href="http://{custom_field}" rel="bookmark">{title}</a></h3>
    <p>          <div class="body"><br />
                {summary} <br />
              </div></p>
    
    <p>        </div>

    Does that help?

  • #6 / Oct 06, 2010 11:34am

    serafico

    58 posts

    <a href="http://{custom_field}">{title}</a>

    That’s the solution! Thanks a lot, John!

  • #7 / Oct 06, 2010 2:53pm

    Ingmar

    29245 posts

    Glad to see John Henry was able to help. Please post again as needed.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases