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.

Extending article text into fulll page

January 28, 2009 1:26am

Subscribe [2]
  • #1 / Jan 28, 2009 1:26am

    thereader

    14 posts

    Hello, very new to EE and still trying to figure out how the weblogs templates work. Sorry if this has been answered before, I can’t seem to find anything related to my problem here on the forums.

    I’m building our our new site using the following weblog code:

    {exp:weblog:category_heading weblog="{my_weblog}"}
    <h2>{category_name}</h2>
    <p>{if category_description}<br />
    {category_description}<br />
    {/if}<br />
    {/exp:weblog:category_heading}</p>
    
    <p><br />
    {exp:weblog:entries weblog="{my_weblog}" orderby="date" sort="desc" limit="15" disable="member_data|trackbacks"}</p>
    
    <p><br />
    {date_heading}<br />
    <h3 class="date">{entry_date format=' %l, %F %d, %Y '}</h3><br />
    {/date_heading}</p>
    
    <p><h2 class="title">{title}</h2><br />
    {summary}</p>
    
    <p>{body}</p>
    
    <p>{extended}</p>
    
    <p><div class="posted">Posted by {author} on {entry_date format='%m/%d'} at {entry_date format='%h:%i %A'}</p>
    
    
    
    <p><br />
    {categories}<br />
    <a href="http://{path=site_index}">{category_name}</a> •<br />
    {/categories}</p>
    
    <p>{if allow_comments}<br />
    ({comment_total}) <a href="http://{url_title_path=">Comments</a> •<br />
    {/if}</p>
    
    <p>{if allow_trackbacks}<br />
    ({trackback_total}) <a href="http://{trackback_path=">Trackbacks</a> •<br />
    {/if}<br />
    <a href="http://{title_permalink={my_template_group}/index}">Permalink</a> </p>
    
    <p> </p>
    
    <p> </p>
    
    <p>{paginate}<br />
    <span class="pagecount">Page {current_page} of {total_pages} pages</span>  {pagination_links}<br />
    {/paginate}</p>
    
    <p> </p>
    
    <p>{/exp:weblog:entries}

    What I WANT TO DO is create a link to allow the user to READ MORE rather than posting the entire article into the front page. I can’t for the life of me figure it out.

    Example:  http://dev.thereader.com

    Thanks in advance for your help!

  • #2 / Jan 28, 2009 2:24am

    asozzi

    262 posts

    Sounds like you are at the very start of the EE journey.

    It may help to start with a quick look at he Getting Started tutorial (10minutes), step 7 explains in detail what you are looking to do.

    At that point, make sure to read how URLs are central to understanding EE. Now you are a good step closer to becoming really adept.

    If you work your way through understanding the default template and how the expression engine site was set up and some other best practices, you’ll be set for all but the most demanding websites.


    Have a wonderful EE day.

  • #3 / Jan 28, 2009 10:12am

    thereader

    14 posts

    Yes very new to EE but so far it’s great and pretty easy to use. I’ve gone through the intros but will start going over the rest of the documentation to familiarize myself further with the weblog usage. Thank you for the sources and response.

  • #4 / Jan 28, 2009 10:14pm

    thereader

    14 posts

    I’m about to pull out my hair here. I’ve spent the entire day reading and reading and still cannot figure this out. *sigh* All I need to do is figure out how to properly format my weblogs to work properly. Any help is greatly appreciated.

    What I need to do is this:

    The landing page goes to the index..

    The news sections are split into categories which I’m now creating new weblogs for each section so I can use custom fields.

    Here’s the example news weblog I just setup: http://dev.thereader.com/index.php/section/news

    All I’m trying to do is make it so main news page displays the summary, body and the external loads in a new page and I cannot for the life of me figure it out.

    Here’s my code:

    {exp:weblog:entries weblog="news" paginate_type="field" paginate="bottom" limit="10"}
    
    <h1>{title}</h1>
    By: {article_author}
    
    
    {multi_field="article_summary|article_body|article_extended"}
    
    <div>Last updated on {edit_date format='%M %d, %Y'} at {edit_date format='%h:%i %A'}
    </div>
    
    {paginate}
    Page {current_page} of {total_pages} pages for this article {pagination_links}
    {/paginate}
    
    {/exp:weblog:entries}

    I learn best by seeing and then can usually put two and two together via documenation after the fact to really understand the content. Are there any examples anywhere in the KB or Forum? I’m not finding anything.

     

    Also, when I hit a full pagination link my pages are blank.. any idea why?

  • #5 / Jan 29, 2009 1:43pm

    thereader

    14 posts

    Actually NEVER MIND, I finally figured it out…  i didn’t have n article page in the template setup so that was my problem. Sigh… Am I crazy to love EE? It’s almost too easy and I’m making it more complicated. 😉

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

ExpressionEngine News!

#eecms, #events, #releases