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.

Need Help with Titles

April 29, 2011 12:34pm

Subscribe [2]
  • #1 / Apr 29, 2011 12:34pm

    yourlume

    2 posts

    Hello,

    Please be patient, rookie web guy.

    I am having trouble with some of my title on part of my site that my web designer built.  In the blog we are lacking the titles of the blog entries.  The titles in the story section is working fine and I am trying to figure out how mirror what he did.

    You can see what I am talking about if you go to http://yourlume.com/blog/post_detail/solar-valley-experiment/ and look at the title.  The title is the websites title.

    See code below:

    Story Code that works:

    {assign_variable:my_weblog="lume_stories"}
    {assign_variable:my_template_group="stories"}

    {exp:weblog:entries weblog="{my_weblog}” orderby=“date” sort=“desc” limit=“15” disable=“member_data|trackbacks” category=“not 11” }
      {embed="core/.html_stories_head" title="{title}”}
    {/exp:weblog:entries}

    <body class=“blog”>

      <div id=“header”>
          <div class=“content”>
            {embed="core/.nav_primary" weblog="{my_weblog}” template=”{my_template_group}”}
            {embed="core/.nav_utility"}
          </div>
      </div>


    Blog code that is a problem:

    {assign_variable:my_weblog="lume_blog"}
    {assign_variable:my_template_group="blog"}

      {embed="core/.html_head"}

    <body class=“blog”>

      <div id=“header”>
          <div class=“content”>
            {embed="core/.nav_primary" weblog="{my_weblog}” template=”{my_template_group}”}
            {embed="core/.nav_utility"}
          </div>
      </div>

    Thanks for the Help.

    Andrew

  • #2 / Apr 29, 2011 12:41pm

    lebisol

    2234 posts

    this bit of code:

    [1]

    {exp:weblog:entries weblog=”{my_weblog}” orderby=“date” sort=“desc” limit=“15” disable=“member_data|trackbacks” category=“not 11” }
      {embed=“core/.html_stories_head” title=”{title}”}
    {/exp:weblog:entries}

    is what actually does the ‘listing of content entries’.
    You are only re-using the:
    [2]

    {embed=“core/.html_head”}

    So make [2] look like [1].

  • #3 / Apr 29, 2011 12:51pm

    yourlume

    2 posts

    Thanks

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

ExpressionEngine News!

#eecms, #events, #releases