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.

Message Board Template Location

October 14, 2013 12:24pm

Subscribe [2]
  • #1 / Oct 14, 2013 12:24pm

    CenturyMan1979

    3 posts

    Hey All,

    When I am logged into the message board there is a bread crumb menu and search field under the logged in as information. But when not logged in they are hidden and I can’t view them. I have been trying to find the template file I need to edit to modify this information with no luck.

    Can anyone point me to the template file that contains this information?

  • #2 / Oct 14, 2013 4:44pm

    CenturyMan1979

    3 posts

    I have attached some screen shots in hopes someone will understand my question better from pics. Again just trying to make it so the breadcrumb menu and search box are visible all the time, not just when you are logged in.

  • #3 / Oct 14, 2013 8:13pm

    tbritton

    714 posts

    I would imagine you have somewhere near the top of your body section (perhaps existing as a snippet or embed) a bit of if/then code that would be along the lines of

    <div id="login">{if logged_in}<span class="user">Hello, {username}!</span> [<a href="http://{path=community/profile}" rel="nofollow">My Account</a>] [<a href="http://{path=logout}" rel="nofollow">Log Out</a>]{/if} 
    
    {if logged_out}<span class="user">Hello, Guest!</span> [<a href="http://{path=community/login}" rel="nofollow">Login</a>] [<a href="http://{path=community/register}" rel="nofollow">Register</a>]{/if}</div>

    (I’ve changed the “members” path to “community”, as you can see above, in Members/Preferences/Profile Triggering Word - you likely should do similarly as the default “members” is abused and triggers some issues nowadays.)

    If so, look for either code explicitly describing the breadcrumb generation, or either an embed or a snippet which has this code.

    Once you find that, include it in both the if logged_in AND the if logged_out portions.

    That should do it! Let me know how you fare.

  • #4 / Oct 15, 2013 10:50am

    CenturyMan1979

    3 posts

    Turns out the code was located in Global -> Page Subheader . I looked at that template like 20 times until this morning when I realized I needed to scroll down to see the rest of the code :shut:

    Just been that kind of week so far and it is only Tuesday.

  • #5 / Oct 15, 2013 12:26pm

    tbritton

    714 posts

    Isn’t that just the way of things sometimes…

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

ExpressionEngine News!

#eecms, #events, #releases