[Template] overall_header_breadcrumb_before

These requests for events in core phpBB have been merged into 3.1/Ascraeus and will be available with the next release.
User avatar
wintstar
Registered User
Posts: 108
Joined: Sun Dec 02, 2012 1:38 pm
Location: Gießen /Hessen Germany
Contact:

[Template] overall_header_breadcrumb_before

Post by wintstar »

Identifier: overall_header_breadcrumb_before
Prosilver Location: overall_header.html

Add before

Code: Select all

					<span class="crumb"><a href="{U_INDEX}" accesskey="h"{$MICRODATA}>{L_INDEX}</a></span>
Explanation: Before the breadcrumb navigation in overall_header.
overall_header_breadcrumb_before
overall_header_breadcrumb_before
before_header_breadcrumb.PNG (17.26 KiB) Viewed 27709 times
Greeting Stephan :-)

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 1904
Joined: Thu Mar 02, 2006 4:29 pm
Location: Earth
Contact:

Re: [Template] overall_header_breadcrumb_before

Post by DavidIQ »

What would you place before the site's index/root?
Image

User avatar
wintstar
Registered User
Posts: 108
Joined: Sun Dec 02, 2012 1:38 pm
Location: Gießen /Hessen Germany
Contact:

Re: [Template] overall_header_breadcrumb_before

Post by wintstar »

Code: Select all

			<ul class="linklist navlinks">
				<!-- DEFINE $MICRODATA = ' itemtype="http://data-vocabulary.org/Breadcrumb" itemscope=""' -->
				<li class="small-icon icon-home breadcrumbs"><!-- IF U_SITE_HOME --><span class="crumb"><a href="{U_SITE_HOME}"{$MICRODATA}>{L_SITE_HOME}</a> <strong>&#8249;</strong></span> <!-- ENDIF -->
					<!-- EVENT overall_header_breadcrumb_before -->
					<span class="crumb"><a href="{U_INDEX}" accesskey="h"{$MICRODATA}>{L_INDEX}</a></span> 
					<!-- BEGIN navlinks --> <span class="crumb"><strong>&#8249;</strong> <a href="{navlinks.U_VIEW_FORUM}"{$MICRODATA}>{navlinks.FORUM_NAME}</a></span><!-- END navlinks -->
					<!-- EVENT overall_header_breadcrumb_append -->
				</li>
Yes, my Dashbaord extension is the first page.
Greeting Stephan :-)

User avatar
Pony99CA
Registered User
Posts: 986
Joined: Sun Feb 08, 2009 2:35 am
Location: Hollister, CA
Contact:

Re: [Template] overall_header_breadcrumb_before

Post by Pony99CA »

The very first thing in the breadcrumbs should be the site home page (if that option is set in the ACP), I think.

Steve
Silicon Valley Pocket PC (http://www.svpocketpc.com)
Creator of manage_bots and spoof_user (ask me)
Need hosting for a small forum with full cPanel & MySQL access? Contact me or PM me.

User avatar
wintstar
Registered User
Posts: 108
Joined: Sun Dec 02, 2012 1:38 pm
Location: Gießen /Hessen Germany
Contact:

Re: [Template] overall_header_breadcrumb_before

Post by wintstar »

No way in the ACP is not the solution. For Marc's Board3 Portal it is needed too.
Greeting Stephan :-)

aleha
Registered User
Posts: 143
Joined: Tue Mar 26, 2013 2:19 am

Re: [Template] overall_header_breadcrumb_before

Post by aleha »

+1 for this event. I've seen boards placing one of the following links before Board index:
  • View unanswered posts
  • View unread posts
  • View new posts
  • View active topic

keith10456
Registered User
Posts: 523
Joined: Sat Apr 22, 2006 10:29 pm
Contact:

Re: [Template] overall_header_breadcrumb_before

Post by keith10456 »

If I'm understanding this correctly, the request is to add an option that the admin can add whatever link he/she wants before the board index in the breadcrumb.

If so, +1.

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 1904
Joined: Thu Mar 02, 2006 4:29 pm
Location: Earth
Contact:

Re: [Template] overall_header_breadcrumb_before

Post by DavidIQ »

The admin wouldn't be able to do that (add links to before the "Main website Text/URL" breadcrumb) unless they added an extension to the forum, which would take care of either adding the option to somewhere in admin or adding the link to the beginning of the breadcrumbs.
Image

User avatar
Prosk8er
Registered User
Posts: 66
Joined: Sun Mar 11, 2007 1:19 am
Location: Rochester, Ny
Contact:

Re: [Template] overall_header_breadcrumb_before

Post by Prosk8er »

can you just use acp/board settings "Main website URL:" this will make the Home link and that can be set to the portal page or whatever else and in the "Main website text:" you can have it say Portal or Dashboard

and in your extension's database installer you can prolly predefine those to what you need

User avatar
wintstar
Registered User
Posts: 108
Joined: Sun Dec 02, 2012 1:38 pm
Location: Gießen /Hessen Germany
Contact:

Re: [Template] overall_header_breadcrumb_before

Post by wintstar »

No Prosk8er that ist a bad option. Why it is so difficult for me this template event to put through. It is an extension created with its own page, which is the first page of the board. Why should it not give this template event like this also https://area51.phpbb.com/phpBB/viewtopi ... 11&t=45373?
Greeting Stephan :-)

Post Reply