Highlight Active Navigation Elements (Ep 18) - Advanced Blog/ CMS "Watch me Work" Series

  Рет қаралды 7,978

DevMarketer

DevMarketer

Күн бұрын

Пікірлер: 37
@quentinthejackrussell
@quentinthejackrussell 2 жыл бұрын
This is the only channel where I do not skip ads. This guy deserves those youtube money. This guy deserves a share of our salaries. We should worship him.
@Anothergames
@Anothergames 7 жыл бұрын
I have so much respect for this guy. Best tutorials in the world.
@JacurtisTutorials
@JacurtisTutorials 7 жыл бұрын
Thanks so much.
@ashmithalr9083
@ashmithalr9083 7 жыл бұрын
Your tutorials have helped me alot and improved alot in coding. Thank you. Could you please create a video for role permission?
@somerandomchannel382
@somerandomchannel382 7 жыл бұрын
EasyNav for Dummies . Use Config/Easynav.php to set active class. Then inside the put inside class, * If Link (manage.dashboard) - use: {{ Nav::isRoute('manage.dashboard'') }} * If Underlink like Users/create- use: {{Nav::isResource('users')}} * If Link has submenu use: {{Nav::hasSegment(['roles', 'permissions'], 2)}} * If Link contains a special keyword use: Nav::urlContains('contact') }}
@charlesuko1479
@charlesuko1479 7 жыл бұрын
You're the best Alex!! thanks so much for contributing to the community. I absolutely enjoy learning from you
@codecluster9772
@codecluster9772 7 жыл бұрын
thanks Alex for creating the wonderful series. and i love to watch you videos.
@LinardsBerzins
@LinardsBerzins 7 жыл бұрын
cheers mate, solid content!
@AbhimanyuNaikareWebDeveloper
@AbhimanyuNaikareWebDeveloper 6 жыл бұрын
thanks a lot, you cheeky fellow!
@menchomneau
@menchomneau 7 жыл бұрын
Thanks I learn alot from you! Alex
@jebbush2964
@jebbush2964 7 жыл бұрын
This is an amazing video tutorial, Thank you very much, God bless you
@roniestein
@roniestein 7 жыл бұрын
Have you considered using a fluent interface on the package so you don't have to set "null" in your argument strings? Especially if it's a laravel package it seems fitting. Love the videos. Keep them coming.
@JacurtisTutorials
@JacurtisTutorials 7 жыл бұрын
Good idea. We could do that pretty easily. I hadn't thought of it that way, but its a smart idea.
@roniestein
@roniestein 7 жыл бұрын
There is an issue here that I would find confusing as a user, when you are hitting the the menu item Roles & Permissions to open the navigation element, your original target will still be highlighted. I know we are not "leaving" the page at that point, however when you were moving around in you nav i found it caught my eye. I would imagine for larger menu's and less computer literate users this would become confusing. Any ideas on what you might employ to clean that up? Something like removing the old is-active and adding it to the new one, though no page refresh has been run also seems confusing to the user as you are still technically on that page. But perhaps dimming or changing one of the attention grabbing highlights to queue the user visually about what's going on might be an idea. Especially if you are using this on multiple projects. It might server to clear up many issues.... Or it could just be me. :)
@JacurtisTutorials
@JacurtisTutorials 7 жыл бұрын
Yeah I actually had this same thought. I wasnt sure how to implement it entirely. I was thinking about creating a semi-active type class which dims it like you said or something. I want to get some of the larger features done and come back to smaller things like that later to continue to improve it.
@devKazuto
@devKazuto 7 жыл бұрын
ran 'composer require devmarketer/easynav', added the provider and alias to config/app.php but it says "Class 'Nav' not found".
@IPDS-vp2vg
@IPDS-vp2vg 7 жыл бұрын
help me please, i just install devmarketer source code from github, i can manage to run that, but somehow the form dont load properly, i got an error: [Vue warn]: Unknown custom element: - did you register the component correctly? [Vue warn]: Unknown custom element: - did you register the component correctly? i new to vue, what do i wrong? please help
@KT-bz3gs
@KT-bz3gs 7 жыл бұрын
buefy no longer uses b-radio-group or b-checkbox-group. Check their documentation to see how they do radio and checkbox
@IPDS-vp2vg
@IPDS-vp2vg 7 жыл бұрын
thank, i've checked that documentation, i might miss something, but its work now, thanks again
@mhamzajutt96
@mhamzajutt96 7 жыл бұрын
I did exactly correct as you say, but your package is not working
@bloggervista
@bloggervista 7 жыл бұрын
If you want more control than I also do recommend use hieu active. I use that package everyday.
@cupsster1
@cupsster1 5 жыл бұрын
shouldn't you be pulling 'is-active' class tag from global ENV variable you defined in your navpackage config file? that way you do not need to hunt down in source if you change Bulma for something else... /?
@bloggervista
@bloggervista 7 жыл бұрын
thx alex
@seifelmughrabi
@seifelmughrabi 7 жыл бұрын
The current default class is you just downloaded the package is "active" instead of "is-active"
@JacurtisTutorials
@JacurtisTutorials 7 жыл бұрын
Yes i changed it to match the most popular framework being Bootstrap and that framework uses "active". But if you run the configuration file then you can easily change it to be anything you want.
@aydinyagubov7271
@aydinyagubov7271 6 жыл бұрын
Alex, i have changed default class to "is-active" but it still remains as "active" i mean HTML elements gets active class not is-active. i have tried dump-autoload and compiling but it seems not working. Any ideas?
@hariii5898
@hariii5898 7 жыл бұрын
Are you serious ?? Today, release too, Oh man , Thanks Alex
@JacurtisTutorials
@JacurtisTutorials 7 жыл бұрын
Yep ;-)
@anwarhamoude2637
@anwarhamoude2637 6 жыл бұрын
Looks good!!! 'default_class' => 'is-active' ... I changed that and it still didn't work. composer dump-autoload php artisan cache:clear php artisan config:cache cleared the browser history restarted the server restarted --watch then tried private browsing and it worked all of a sudden - now it works : go figure ?
@Sinrise
@Sinrise 6 жыл бұрын
I had this problem, too. Only when I I ran php artisan cache:clear and php artisan config:cache did the change I made to the default-class finally generate the right class.
@christostsangaris4785
@christostsangaris4785 6 жыл бұрын
Trying to pull Laravel EasyNav package into the project causes error "PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted". Anyone else having this? Any workarounds? By the way, awesome tutorials Alex!!
@devfaysal
@devfaysal 7 жыл бұрын
If possible, Make a single video "How to write a Laravel Package"
@aabedkashwa9125
@aabedkashwa9125 6 жыл бұрын
kzbin.info/www/bejne/fl7IpoGnerB0eaM i think this may help you.
@braticbokan1228
@braticbokan1228 7 жыл бұрын
you need to change code for buefy.there isnt radio group and checkbox group and instead custom value there is native-value
@JacurtisTutorials
@JacurtisTutorials 7 жыл бұрын
Oh that must be a change with the newest version. I will look into that. THank you.
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН
Can You Beat Minecraft if the Whole World is Water?
16:07
EnderSkull
Рет қаралды 293 М.
Using Subdomain in Laravel for Staging, Beta, and Live Servers
28:49
Robot 🤖 cleaning 🧹
0:57
Bunnal 𝚃𝚎𝚌𝚑
Рет қаралды 4,7 МЛН
Mechanical slingshot rifle gun pheasant hunting,one shot catching.
0:48
Wild Craftsman
Рет қаралды 14 МЛН
Пранк пошел не по плану! #shorts
0:38
VASALAMOV
Рет қаралды 19 МЛН
little girl and homeless man😱❤️👻 #shorts
0:55
Positive Energy-Funny family
Рет қаралды 16 МЛН