Latest topics
» Auto-suggest @mentions as You Type
by skouliki Today at 04:57

» Hello everyone this is Adam from France
by SLGray Today at 01:09

» FM Themes
by SLGray Today at 01:08

» User - Made Creations
by SLGray Today at 01:07

» Search box only visible on hover
by SLGray Today at 00:58

» Browsers & Updates
by SLGray Today at 00:56

» Change newposts/no new posts/ locked icons
by T.C. Yesterday at 19:52

» [HELP] About Profile Cover Code
by MaHwOs Sun 19 Nov 2017, 18:54

» bloquer un membre
by berlingo Fri 17 Nov 2017, 18:19

» IconSkouliki Graphics
by skouliki Fri 17 Nov 2017, 03:54

» [IN PROGRESS] Can this code work on pun version
by skouliki Thu 16 Nov 2017, 03:50

» [TUTORIAL] [ALL VERSIONS] Warning before posting
by demon99 Wed 15 Nov 2017, 08:12

» About Add Reply & New Topic button (popup form)
by omarpop23 Mon 13 Nov 2017, 20:31

» Add a login popup for the toolbar
by Ape Sun 12 Nov 2017, 18:41

» Post a message automatically when locking a topic
by ThunderTB Sun 12 Nov 2017, 13:51

Recent Tutorials
Who is online?
In total there are 8 users online :: 0 Registered, 0 Hidden and 8 Guests :: 2 Bots

None

[ View the whole list ]


Most users ever online was 172 on Fri 19 Feb 2016, 05:17

[EDGE STYLING] Show breadcrumbs before topic titles

View previous topic View next topic Go down

avatar
Guest
Guest
View all awards

PostGuest on Mon 21 Nov 2016, 14:04

@Ange Tuteur,

I was wondering. To make navigating more easily within the topics & posts, is there a way to have the breadcrumbs shown before the topic title in each post?






Or to have at least a hover-over code installed that shows the forum location when hovering over the topic /post title I was thinking.

Because, at the moment, the only way to know where we are is to scroll totally up or down the page to see the exact forum location...

Perhaps you could consider making it a plug-in?


Thanks,

Samantha.





Last edited by Samantha NL on Sat 26 Nov 2016, 08:30; edited 2 times in total
avatar
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 22
Posts : 4712
Points : 9587
Reputation : 2341
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Mon 21 Nov 2016, 14:11

Hi @Samantha NL,

Give the following a try. Go to Admin Panel > Modules > JS codes management and create a new script with the following settings.

Title : Post Crumbs ( optional )
Placement : In the topics
Code:
$(function() {
  for (var crumbs = $('.breadcrumbs')[0], a = $('.post > .title'), i = 0, j = a.length; i < j; i++) {
    a[i].insertBefore(crumbs.cloneNode(true), a[i].firstChild);
  }
});

Save the script and it should add the breadcrumbs to each post title. If you want to remove the background color add this CSS rule to your stylesheet :
Code:
.post > .title > .breadcrumbs {
  background:none;
}
avatar
Guest
Guest
View all awards

PostGuest on Mon 21 Nov 2016, 14:15

@Ange Tuteur: We haven't been able to set up a forum with Edge yet because the guy I'm trying to help here is quite busy very often. So, if someone else could give it a try, that 'd be great. I was just trying to suggest that for our future site because it could make things a whole lot easier ... :/

Anyway, thanks for your help in advance Wink

Samantha.
avatar
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 22
Posts : 4712
Points : 9587
Reputation : 2341
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Mon 21 Nov 2016, 14:19

No worries, there's no rush. Whenever you get time to test it, just let me know if it's what you wanted. Wink
avatar
Guest
Guest
View all awards

PostGuest on Mon 21 Nov 2016, 14:22

Alright! Thnx! Smile Looks good, looking at the code anyway. Needless to say anyone is welcome to test and report back on this in the mean time, ofc. Wink

Our first steps creating a test-site will probably be taken coming weekend, if all goes well. We've already made a design on paper for it.


Hello Samantha.
avatar
Guest
Guest
View all awards

PostGuest on Sat 26 Nov 2016, 07:41

Alright! Thanks for that. Smile We set up a new phpBB3 test forum and installed EDGE. 1st time I installed EDGE, ever, and the whole process doesn't take longer than a minute or 20, real fast and straightforward! Translated it to Dutch after (I noticed the sceditor button hover over texts are still showing in English Sad ). We're done setting up the basics for the site now. Took us an hour in total or so. Soon we'll be installing plug-ins and style it further.

Ah, just 1 remark on the installation process itself. Though very logical because templates are being edited or overwritten when installing EDGE, it says nowhere EDGE can only be installed by the forum founder! I tried to install EDGE as an admin, but now he's the founder I couldn't ofc. I totally forgot about my new role on there now, LOL! Face palm

FYI, the script and CSS you gave me in this topic work fine, but we had to add a little CSS to make it look prettier:

Code:
h2.topic-title {font-size:12px!important}
.nav {font-weight:bold}

View previous topic View next topic Back to top

Create an account or log in to leave a reply

You need to be a member in order to leave a reply.

Create an account

Join our community by creating a new account. It's easy!


Create a new account

Log in

Already have an account? No problem, log in here.


Log in

 
Permissions in this forum:
You cannot reply to topics in this forum