[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: Lanngöns/Hessen Germany
Contact:

[Template] overall_header_breadcrumb_before

Post by wintstar » Tue Mar 25, 2014 2:40 am

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.
before_header_breadcrumb.PNG
overall_header_breadcrumb_before
before_header_breadcrumb.PNG (17.26 KiB) Viewed 6520 times
Greeting Stephan :-)

Quote: "To achieve the possible, the impossible has to be tried again and again" (Hermann Hesse (1877-1962)).
A look into the future phpBB 3.1.0 - Board, current Builds
A look into the future phpBB 3.1.0 - Board-Plus, Extensions in the test

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

Re: [Template] overall_header_breadcrumb_before

Post by DavidIQ » Tue Mar 25, 2014 2:42 am

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: Lanngöns/Hessen Germany
Contact:

Re: [Template] overall_header_breadcrumb_before

Post by wintstar » Tue Mar 25, 2014 2:45 am

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 :-)

Quote: "To achieve the possible, the impossible has to be tried again and again" (Hermann Hesse (1877-1962)).
A look into the future phpBB 3.1.0 - Board, current Builds
A look into the future phpBB 3.1.0 - Board-Plus, Extensions in the test

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 » Tue Mar 25, 2014 3:13 am

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: Lanngöns/Hessen Germany
Contact:

Re: [Template] overall_header_breadcrumb_before

Post by wintstar » Tue Mar 25, 2014 7:26 am

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

Quote: "To achieve the possible, the impossible has to be tried again and again" (Hermann Hesse (1877-1962)).
A look into the future phpBB 3.1.0 - Board, current Builds
A look into the future phpBB 3.1.0 - Board-Plus, Extensions in the test

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

Re: [Template] overall_header_breadcrumb_before

Post by aleha » Tue Mar 25, 2014 8:41 am

+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

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

Re: [Template] overall_header_breadcrumb_before

Post by keith10456 » Tue Mar 25, 2014 6:39 pm

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: 1731
Joined: Thu Mar 02, 2006 4:29 pm
Location: Earth
Contact:

Re: [Template] overall_header_breadcrumb_before

Post by DavidIQ » Tue Mar 25, 2014 6:44 pm

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: 51
Joined: Sun Mar 11, 2007 1:19 am
Location: Rochester, Ny
Contact:

Re: [Template] overall_header_breadcrumb_before

Post by Prosk8er » Tue Mar 25, 2014 7:28 pm

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
formerly bprsk8r4272 Proud Kiss Portal user on phpBB 3.0.14 + 1.0.20 (build 311-020)
Image
Validated Extensions, Mods, and Styles My Mods: Smashable Christmas Lights 3.0.x Add a group to teampage 3.0.x

User avatar
wintstar
Registered User
Posts: 108
Joined: Sun Dec 02, 2012 1:38 pm
Location: Lanngöns/Hessen Germany
Contact:

Re: [Template] overall_header_breadcrumb_before

Post by wintstar » Tue Mar 25, 2014 7:35 pm

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 :-)

Quote: "To achieve the possible, the impossible has to be tried again and again" (Hermann Hesse (1877-1962)).
A look into the future phpBB 3.1.0 - Board, current Builds
A look into the future phpBB 3.1.0 - Board-Plus, Extensions in the test

Post Reply