Breadcrumbs making me nuts...

  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23455
  • Loc: Woodbridge VA

Post 3+ Months Ago

Is there anyway with the addition of the subforums now? to get the breadcrumbs to show the Parent? It's driving me nuts when I'm in a subforum to have to go back to the main forum to re-enter the subforum. If it was in the breadcrumb it would be easy.

Case in point. Read an Introduction post. You have to go back to the main forum to get back to the General forum.

It's particularly annoying in the Special Teams subforums where there are a lot of posts.
  • Bigwebmaster
  • Site Admin
  • Site Admin
  • User avatar
  • Posts: 9092
  • Loc: Seattle, WA & Phoenix, AZ

Post 3+ Months Ago

Yes I was aware of this, will try to find a solution to fix it soon.
  • grinch2171
  • Moderator
  • Genius
  • User avatar
  • Posts: 6810
  • Loc: Martinsburg, WV

Post 3+ Months Ago

Just click the logo. I never use the breadcrumbs myself.
  • grinch2171
  • Moderator
  • Genius
  • User avatar
  • Posts: 6810
  • Loc: Martinsburg, WV

Post 3+ Months Ago

Nevermind that does the same thing, sorry.
  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13504
  • Loc: Florida

Post 3+ Months Ago

The logo was driving me nuts so I rigged mine to where it always leads to "/forums.html".

I just happened to be playing with breadcrumbs on a phpbb3 template, trying to get a sort of vbulletin functionality.
The Board Index has been dropped from the breadcrumbs and is only linked to by the site logo and a Board Index link on the bottom in the footer.

Attachments:
subs-ss.png

Attachments:
topic-ss.png


This is out of my "overall_header.html", I dropped the breadcrumb code from the other html files.
I don't believe I altered the PHP for any of this, but if I did it must have been a minor edit.

Code: [ Select ]
        <!-- IF FORUM_NAME or TOPIC_NAME -->
        <div class="navbar" style="margin-top:5px;">
            <div class="inner"><span class="corners-top"><span></span></span>
                <ul class="linklist navlinks" style="clear:both;">
                    <li class="breadcrumbs">
                        <div><!-- BEGIN navlinks --><!-- IF TOPIC_TITLE or FORUM_NAME != navlinks.FORUM_NAME --><a href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a><!-- ENDIF --><!-- END navlinks --></div>
                        <!-- IF not TOPIC_TITLE -->
                            <h2><a href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a><!-- IF not S_IS_BOT and TOTAL_TOPICS --> <small>- {TOTAL_TOPICS}</small><!-- ENDIF --></h2>
                        <!-- ELSE -->
                            <h2 class="topic"><a href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a><!-- IF not S_IS_BOT and TOTAL_POSTS --> <small>- {TOTAL_POSTS}</small><!-- ENDIF --></h2>
                        <!-- ENDIF -->
                    </li>
                </ul>
            <span class="corners-bottom"><span></span></span></div>
        </div>
        <!-- ENDIF -->
  1.         <!-- IF FORUM_NAME or TOPIC_NAME -->
  2.         <div class="navbar" style="margin-top:5px;">
  3.             <div class="inner"><span class="corners-top"><span></span></span>
  4.                 <ul class="linklist navlinks" style="clear:both;">
  5.                     <li class="breadcrumbs">
  6.                         <div><!-- BEGIN navlinks --><!-- IF TOPIC_TITLE or FORUM_NAME != navlinks.FORUM_NAME --><a href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a><!-- ENDIF --><!-- END navlinks --></div>
  7.                         <!-- IF not TOPIC_TITLE -->
  8.                             <h2><a href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a><!-- IF not S_IS_BOT and TOTAL_TOPICS --> <small>- {TOTAL_TOPICS}</small><!-- ENDIF --></h2>
  9.                         <!-- ELSE -->
  10.                             <h2 class="topic"><a href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a><!-- IF not S_IS_BOT and TOTAL_POSTS --> <small>- {TOTAL_POSTS}</small><!-- ENDIF --></h2>
  11.                         <!-- ENDIF -->
  12.                     </li>
  13.                 </ul>
  14.             <span class="corners-bottom"><span></span></span></div>
  15.         </div>
  16.         <!-- ENDIF -->
  • Bigwebmaster
  • Site Admin
  • Site Admin
  • User avatar
  • Posts: 9092
  • Loc: Seattle, WA & Phoenix, AZ

Post 3+ Months Ago

Should be all fixed now. For the breadcrumbs part I just did this:

Code: [ Select ]
<li><a href="{L_USER_LANG_PATH}/{L_FORUMS_INDEX_NAME}.html">{L_FORUMS}</a></li>
<!-- BEGIN navlinks --><!-- IF not navlinks.S_IS_CAT --><li><a href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a></li><!-- ENDIF --><!-- END navlinks -->
  1. <li><a href="{L_USER_LANG_PATH}/{L_FORUMS_INDEX_NAME}.html">{L_FORUMS}</a></li>
  2. <!-- BEGIN navlinks --><!-- IF not navlinks.S_IS_CAT --><li><a href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a></li><!-- ENDIF --><!-- END navlinks -->


For the logo itself, since it is only one link I did this:

Code: [ Select ]
<!-- IF .navlinks > 2 -->
<!-- BEGIN navlinks(-3,-2) --><!-- IF not navlinks.S_IS_CAT --><a href="{navlinks.U_VIEW_FORUM}"><img src="/images/blank.gif" width="386" height="120" alt="{L_BACK_TO} {navlinks.FORUM_NAME}"></a><!-- ENDIF --><!-- END navlinks -->
<!-- ELSE -->
<a href="{L_USER_LANG_PATH}/{L_FORUMS_INDEX_NAME}.html"><img src="/images/blank.gif" width="386" height="120" alt="{L_BACK_TO} {L_FORUMS}"></a>
  1. <!-- IF .navlinks > 2 -->
  2. <!-- BEGIN navlinks(-3,-2) --><!-- IF not navlinks.S_IS_CAT --><a href="{navlinks.U_VIEW_FORUM}"><img src="/images/blank.gif" width="386" height="120" alt="{L_BACK_TO} {navlinks.FORUM_NAME}"></a><!-- ENDIF --><!-- END navlinks -->
  3. <!-- ELSE -->
  4. <a href="{L_USER_LANG_PATH}/{L_FORUMS_INDEX_NAME}.html"><img src="/images/blank.gif" width="386" height="120" alt="{L_BACK_TO} {L_FORUMS}"></a>
  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13504
  • Loc: Florida

Post 3+ Months Ago

I don't believe I've seen this before, what does the "(-3,-2)" part do ?

Quote:
<!-- BEGIN navlinks(-3,-2) -->
  • Bigwebmaster
  • Site Admin
  • Site Admin
  • User avatar
  • Posts: 9092
  • Loc: Seattle, WA & Phoenix, AZ

Post 3+ Months Ago

That starts the loop the third entry from the end, and ends it at the 2nd entry from the end. I had to do that because I wanted to go up a level. The last link in the full loop is the current forum you are in, and the 2nd to the last link is the category name that the forum belongs in.
  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13504
  • Loc: Florida

Post 3+ Months Ago

"I see", said the blind man.
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23455
  • Loc: Woodbridge VA

Post 3+ Months Ago

Wow and it actually works too! My blessings upon you grasshopper! I mean Bigweb!
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23455
  • Loc: Woodbridge VA

Post 3+ Months Ago

FYI - the simple_header.html needs this same implementation. To see what I mean go to Introduce Yourself. Click "Mark Topics Read". When the simple_header comes up while you are waiting for the redirect the breadcrumb trail doesn't lead back to general.
  • SB
  • Moderator
  • Genius
  • User avatar
  • Posts: 8742
  • Loc: Aberdeen, Scotland

Post 3+ Months Ago

It's the same when you start a new topic or post a reply (not through quick reply obviously) as it shows this - "You are here>home>forums>post a reply".

Kinda crappy if i decide against starting a new topic and want to go to the forum i was just in or even the last topic. I know i could just click back, but i may not want to. I might get some sort of "scared of clicking back" phobia then i'd be stuck on this post a reply page for ages.

Infact, i won't lie, i've been sitting on this page for ages and because i typed the back phobia thing i am generally getting quite scared of it. It's just sitting there looking at me begging me to press it. I just can't :cry:
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23455
  • Loc: Woodbridge VA

Post 3+ Months Ago

Well, posting.php is actually a child of Forums. Doesn't matter which forum/ topic you are posting in. Not sure that one could be altered much.
  • Bigwebmaster
  • Site Admin
  • Site Admin
  • User avatar
  • Posts: 9092
  • Loc: Seattle, WA & Phoenix, AZ

Post 3+ Months Ago

ATNO/TW wrote:
FYI - the simple_header.html needs this same implementation. To see what I mean go to Introduce Yourself. Click "Mark Topics Read". When the simple_header comes up while you are waiting for the redirect the breadcrumb trail doesn't lead back to general.


I see what you mean with what happens when you click "Mark Topics Read", I will get that fixed -- not sure why you think its simple_header.html though ;)

simple_header.html is used for pages that do not show the ozzu logo, for example when you click "Find a member" in the acp user admin area.

Post Information

  • Total Posts in this topic: 14 posts
  • Users browsing this forum: No registered users and 2 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.