steve00 Posted June 16, 2017 Posted June 16, 2017 38 minutes ago, TheJackal84 said: You got a bit of a temper you ain't ya lol, Who says you gotta be a rocket scientist I was correcting the persons post because he said you won't need to edit when you upgrade and you do, I don't care if you buy a plugin or not and as for renewals you do know how to click a cancel renewals button don't you? cos you don't need to be a rocket scientist for that either, And as for your tutorial it will only work on default themes you are telling people to copy a code someone like IPSThemes use a completely different style and divisions so to copy and paste when you only need to inject 1 code into the html is silly If mean my post then cannot see anywhere I mentioned 'won't need to edit'
sweethoney Posted June 16, 2017 Author Posted June 16, 2017 3 minutes ago, TheJackal84 said: All themes? you must have a lot of money of get them from somewhere your not supposed to. I am giving up on this topic anyway It's up to you and the people if they want to copy and paste a whole code into their themes when it could be removing or replacing something important their custom (Not Default Theme) may have added into the HTML what are you talking about all themes just because i did not put the free next to the all themes dont mean that i get them from somewhere else try to under stand the info be for you make judgement about me..and see you want 2 say i have a temper who is the one that is crying..all i sed was my codes work and you are geting mad for no reson
TheJackal84 Posted June 16, 2017 Posted June 16, 2017 2 hours ago, steve00 said: Likely ANY upgrade you do will still be there as the template(s) will not be changed There but I misread it, it took a few reads to understand it 7 minutes ago, steve00 said: If mean my post then cannot see anywhere I mentioned 'won't need to edit'
sweethoney Posted June 16, 2017 Author Posted June 16, 2017 2 minutes ago, TheJackal84 said: There but I didn't see the rest the grammar ain't too good im con fused with this one
TheJackal84 Posted June 16, 2017 Posted June 16, 2017 Just now, sweethoney said: im con fused with this one Nothing I'm off good luck I don't come here to argue and can't be bothered trying to help someone who won't accept it or what I am saying
sweethoney Posted June 16, 2017 Author Posted June 16, 2017 Just now, TheJackal84 said: Nothing I'm off good luck I don't come here to argue and can't be bothered trying to help someone who won't accept it or what I am saying you >>> ---- how can i accept what you are say you judge me about every thing i post and you tell me that i have a temper witch we can see who >>>> u is very clearly how this went...and i do under stand what you are saying about my codes..but its ok i understand ps i dont tell any one to use my tutorial its up to them witch some do...
TheJackal84 Posted June 16, 2017 Posted June 16, 2017 Just now, sweethoney said: you >>> ---- how can i accept what you are say you judge me about every thing i post and you tell me that i have a temper witch we can see who >>>> u is very clearly how this went...and i do under stand what you are saying about my codes..but its ok i understand ps i dont tell any one to use my tutorial its up to them witch some do... I told you that you don't have to replace the whole code you only need to add one bit (Hence helping you) I am not mad I am leaving this topic before I get mad, Its a fact that your code won't work on all themes and any theme makers of staff who know about different themes will know that some will be different to the one your saying to copy and paste, I will help any body if I can and I won't tell you something won't work when it will, I am saying you got a temper because my first 2 posts it looks like your replies are little digs, Some people don't like being told they are wrong but its a way of life and I speak openly, I only replied to one of your posts I thought your first reply was funny and thought I can't be bothered replying to your post as it looked like you wanted a argument , But again and no matter you reply, I am done good luck and happy hunting
sweethoney Posted June 16, 2017 Author Posted June 16, 2017 1 minute ago, TheJackal84 said: I told you that you don't have to replace the whole code you only need to add one bit (Hence helping you) I am not mad I am leaving this topic before I get mad, Its a fact that your code won't work on all themes and any theme makers of staff who know about different themes will know that some will be different to the one your saying to copy and paste, I will help any body if I can and I won't tell you something won't work when it will, I am saying you got a temper because my first 2 posts it looks like your replies are little digs, Some people don't like being told they are wrong but its a way of life and I speak openly, I only replied to one of your posts I thought your first reply was funny and thought I can't be bothered replying to your post as it looked like you wanted a argument , But again and no matter you reply, I am done good luck and happy hunting see there you go again judging me and say ( little digs) ( you wanted a argument) i did not come here to argue with any one if i want to argue i don't need to come here to do that that's what you have dramabook.,com for if you dont know what that is its Facebook...and yes you are mad because what im telling you is that it works on all themes and instead of coming back with some thing smart why don't you take the time out and try it your self ...you might learn something other than judging.. ps if you where not upset why do u keep opening the door and replying all you are doing is trying to get ips to close my tutorial that i posted buy coming back with something smart...so who as the temper sweet hart
TheJackal84 Posted June 16, 2017 Posted June 16, 2017 14 minutes ago, sweethoney said: see there you go again judging me and say ( little digs) ( you wanted a argument) i did not come here to argue with any one if i want to argue i don't need to come here to do that that's what you have dramabook.,com for if you dont know what that is its Facebook...and yes you are mad because what im telling you is that it works on all themes and instead of coming back with some thing smart why don't you take the time out and try it your self ...you might learn something other than judging.. ps if you where not upset why do u keep opening the door and replying all you are doing is trying to get ips to close my tutorial that i posted buy coming back with something smart...so who as the temper sweet hart I can't I gotta have one more say 1. How am I trying to get them to close it when I already told you how to do it without replacing the code 2. You replied to me, I ignored your first reply and answered the other bloke then you replied again (Hence dig) 3. Here's your code {{foreach $roots as $id => $item}} {{if $preview or $item->canView()}} {{$active = $item->activeOrChildActive();}} {{if $active}} {{\IPS\core\FrontNavigation::i()->activePrimaryNavBar = $item->id;}} {{endif}} <li {{if $active}}class='ipsNavBar_active' data-active{{endif}} id='elNavSecondary_{$item->id}' data-role="navBarItem" data-navApp="{expression="mb_substr( get_class( $item ), 4, mb_strpos( get_class( $item ), '\\', 4 ) - 4 )"}" data-navExt="{expression="mb_substr( get_class( $item ), mb_strrpos( get_class( $item ), '\\' ) + 1 )"}" data-navTitle="{$item->title()} "data-FontAwesome="{$item->title()}"> {{$children = $item->children();}} {{if $children}} <a href="{{if $item->link()}}{$item->link()}{{else}}#{{endif}}" id="elNavigation_{$id}" data-ipsMenu data-ipsMenu-appendTo='#{{if $parent}}elNavSecondary_{$parent}{{else}}elNavSecondary_{$id}{{endif}}' data-ipsMenu-activeClass='ipsNavActive_menu' data-navItem-id="{$item->id}" {{if $active}}data-navDefault{{endif}}> {$item->title()} <i class="fa fa-caret-down"></i> </a> <ul id="elNavigation_{$id}_menu" class="ipsMenu ipsMenu_auto ipsHide"> {template="navBarChildren" app="core" group="global" location="front" params="$children, $preview"} </ul> {{else}} <a href="{{if $item->link()}}{$item->link()}{{else}}#{{endif}}" {{if method_exists( $item, 'target' ) AND $item->target()}}target='{$item->target()}'{{endif}} data-navItem-id="{$item->id}" {{if $active}}data-navDefault{{endif}} {{if $subBars && isset( $subBars[ $id ] ) && count( $subBars[ $id ] )}}data-hover=''{{endif}}> {$item->title()} </a> {{endif}} {{if $subBars && isset( $subBars[ $id ] ) && count( $subBars[ $id ] )}} <ul class='ipsNavBar_secondary {{if !$active}}ipsHide{{endif}}' data-role='secondaryNavBar'> {template="navBarItems" app="core" group="global" location="front" params="$subBars[ $id ], NULL, $item->id, $preview"} <li class='ipsHide' id='elNavigationMore_{$id}' data-role='navMore'> <a href='#' data-ipsMenu data-ipsMenu-appendTo='#elNavigationMore_{$id}' id='elNavigationMore_{$id}_dropdown'>{lang="more"} <i class='fa fa-caret-down'></i></a> <ul class='ipsHide ipsMenu ipsMenu_auto' id='elNavigationMore_{$id}_dropdown_menu' data-role='moreDropdown'></ul> </li> </ul> {{endif}} </li> {{endif}} {{endforeach}} Here's Another {{foreach $roots as $id => $item}} {{if $preview or $item->canView()}} {{$active = $item->activeOrChildActive();}} {{if $active}} {{\IPS\core\FrontNavigation::i()->activePrimaryNavBar = $item->id;}} {{endif}} <li {{if $active}}class='ipsNavBar_active' data-active{{endif}} id='elNavSecondary_{$item->id}' data-role="navBarItem" data-navApp="{expression="mb_substr( get_class( $item ), 10, mb_strpos( get_class( $item ), '\\', 10 ) - 10 )"}" data-navExt="{expression="mb_substr( get_class( $item ), mb_strrpos( get_class( $item ), '\\' ) + 10 )"}" data-navTitle="{$item->title()}"> {{$children = $item->children();}} {{if $children}} <a href="{{if $item->link()}}{$item->link()}{{else}}#{{endif}}" id="elNavigation_{$id}" data-ipsMenu data-ipsMenu-appendTo='#{{if $parent}}elNavSecondary_{$parent}{{else}}elNavSecondary_{$id}{{endif}}' data-ipsMenu-activeClass='ipsNavActive_menu' data-navItem-id="{$item->id}" {{if $active}}data-navDefault{{endif}}> {$item->title()} <i class="fa fa-caret-down"></i> </a> <ul id="elNavigation_{$id}_menu" class="ipsMenu ipsMenu_auto ipsHide"> {template="navBarChildren" app="core" group="global" location="front" params="$children, $preview"} </ul> {{else}} <a href="{{if $item->link()}}{$item->link()}{{else}}#{{endif}}" {{if method_exists( $item, 'target' ) AND $item->target()}}target='{$item->target()}'{{endif}} data-navItem-id="{$item->id}" {{if $active}}data-navDefault{{endif}} {{if $subBars && isset( $subBars[ $id ] ) && count( $subBars[ $id ] )}}data-hover=''{{endif}}> {$item->title()} </a> {{endif}} {{if $subBars && isset( $subBars[ $id ] ) && count( $subBars[ $id ] )}} <ul class='ipsNavBar_secondary {{if !$active}}ipsHide{{endif}}' data-role='secondaryNavBar'> {{if theme.veilon_styling_type === 'vertical'}} <div class='v-nav-header'> {$item->title()} </div> <div class='v-nav-hr'></div> {{endif}} {template="navBarItems" app="core" group="global" location="front" params="$subBars[ $id ], NULL, $item->id, $preview"} <!-- <li class='ipsHide' id='elNavigationMore_{$id}' data-role='navMore'> <a href='#' data-ipsMenu data-ipsMenu-appendTo='#elNavigationMore_{$id}' id='elNavigationMore_{$id}_dropdown'>{lang="more"} <i class='fa fa-caret-down'></i></a> <ul class='ipsHide ipsMenu ipsMenu_auto' id='elNavigationMore_{$id}_dropdown_menu' data-role='moreDropdown'></ul> </li> --> </ul> {{endif}} </li> {{endif}} {{endforeach}} Notice its different and you are saying to remove the difference with the words replace 4. Its sweetheart
sweethoney Posted June 16, 2017 Author Posted June 16, 2017 ok it still come out the same way even if i use yours or mine 4 minutes ago, TheJackal84 said: I can't I gotta have one more say 1. How am I trying to get them to close it when I already told you how to do it without replacing the code 2. You replied to me, I ignored your first reply and answered the other bloke then you replied again (Hence dig) 3. Here's your code {{foreach $roots as $id => $item}} {{if $preview or $item->canView()}} {{$active = $item->activeOrChildActive();}} {{if $active}} {{\IPS\core\FrontNavigation::i()->activePrimaryNavBar = $item->id;}} {{endif}} <li {{if $active}}class='ipsNavBar_active' data-active{{endif}} id='elNavSecondary_{$item->id}' data-role="navBarItem" data-navApp="{expression="mb_substr( get_class( $item ), 4, mb_strpos( get_class( $item ), '\\', 4 ) - 4 )"}" data-navExt="{expression="mb_substr( get_class( $item ), mb_strrpos( get_class( $item ), '\\' ) + 1 )"}" data-navTitle="{$item->title()} "data-FontAwesome="{$item->title()}"> {{$children = $item->children();}} {{if $children}} <a href="{{if $item->link()}}{$item->link()}{{else}}#{{endif}}" id="elNavigation_{$id}" data-ipsMenu data-ipsMenu-appendTo='#{{if $parent}}elNavSecondary_{$parent}{{else}}elNavSecondary_{$id}{{endif}}' data-ipsMenu-activeClass='ipsNavActive_menu' data-navItem-id="{$item->id}" {{if $active}}data-navDefault{{endif}}> {$item->title()} <i class="fa fa-caret-down"></i> </a> <ul id="elNavigation_{$id}_menu" class="ipsMenu ipsMenu_auto ipsHide"> {template="navBarChildren" app="core" group="global" location="front" params="$children, $preview"} </ul> {{else}} <a href="{{if $item->link()}}{$item->link()}{{else}}#{{endif}}" {{if method_exists( $item, 'target' ) AND $item->target()}}target='{$item->target()}'{{endif}} data-navItem-id="{$item->id}" {{if $active}}data-navDefault{{endif}} {{if $subBars && isset( $subBars[ $id ] ) && count( $subBars[ $id ] )}}data-hover=''{{endif}}> {$item->title()} </a> {{endif}} {{if $subBars && isset( $subBars[ $id ] ) && count( $subBars[ $id ] )}} <ul class='ipsNavBar_secondary {{if !$active}}ipsHide{{endif}}' data-role='secondaryNavBar'> {template="navBarItems" app="core" group="global" location="front" params="$subBars[ $id ], NULL, $item->id, $preview"} <li class='ipsHide' id='elNavigationMore_{$id}' data-role='navMore'> <a href='#' data-ipsMenu data-ipsMenu-appendTo='#elNavigationMore_{$id}' id='elNavigationMore_{$id}_dropdown'>{lang="more"} <i class='fa fa-caret-down'></i></a> <ul class='ipsHide ipsMenu ipsMenu_auto' id='elNavigationMore_{$id}_dropdown_menu' data-role='moreDropdown'></ul> </li> </ul> {{endif}} </li> {{endif}} {{endforeach}} Here's Another {{foreach $roots as $id => $item}} {{if $preview or $item->canView()}} {{$active = $item->activeOrChildActive();}} {{if $active}} {{\IPS\core\FrontNavigation::i()->activePrimaryNavBar = $item->id;}} {{endif}} <li {{if $active}}class='ipsNavBar_active' data-active{{endif}} id='elNavSecondary_{$item->id}' data-role="navBarItem" data-navApp="{expression="mb_substr( get_class( $item ), 10, mb_strpos( get_class( $item ), '\\', 10 ) - 10 )"}" data-navExt="{expression="mb_substr( get_class( $item ), mb_strrpos( get_class( $item ), '\\' ) + 10 )"}" data-navTitle="{$item->title()}"> {{$children = $item->children();}} {{if $children}} <a href="{{if $item->link()}}{$item->link()}{{else}}#{{endif}}" id="elNavigation_{$id}" data-ipsMenu data-ipsMenu-appendTo='#{{if $parent}}elNavSecondary_{$parent}{{else}}elNavSecondary_{$id}{{endif}}' data-ipsMenu-activeClass='ipsNavActive_menu' data-navItem-id="{$item->id}" {{if $active}}data-navDefault{{endif}}> {$item->title()} <i class="fa fa-caret-down"></i> </a> <ul id="elNavigation_{$id}_menu" class="ipsMenu ipsMenu_auto ipsHide"> {template="navBarChildren" app="core" group="global" location="front" params="$children, $preview"} </ul> {{else}} <a href="{{if $item->link()}}{$item->link()}{{else}}#{{endif}}" {{if method_exists( $item, 'target' ) AND $item->target()}}target='{$item->target()}'{{endif}} data-navItem-id="{$item->id}" {{if $active}}data-navDefault{{endif}} {{if $subBars && isset( $subBars[ $id ] ) && count( $subBars[ $id ] )}}data-hover=''{{endif}}> {$item->title()} </a> {{endif}} {{if $subBars && isset( $subBars[ $id ] ) && count( $subBars[ $id ] )}} <ul class='ipsNavBar_secondary {{if !$active}}ipsHide{{endif}}' data-role='secondaryNavBar'> {{if theme.veilon_styling_type === 'vertical'}} <div class='v-nav-header'> {$item->title()} </div> <div class='v-nav-hr'></div> {{endif}} {template="navBarItems" app="core" group="global" location="front" params="$subBars[ $id ], NULL, $item->id, $preview"} <!-- <li class='ipsHide' id='elNavigationMore_{$id}' data-role='navMore'> <a href='#' data-ipsMenu data-ipsMenu-appendTo='#elNavigationMore_{$id}' id='elNavigationMore_{$id}_dropdown'>{lang="more"} <i class='fa fa-caret-down'></i></a> <ul class='ipsHide ipsMenu ipsMenu_auto' id='elNavigationMore_{$id}_dropdown_menu' data-role='moreDropdown'></ul> </li> --> </ul> {{endif}} </li> {{endif}} {{endforeach}} Notice its different and you are saying to remove the difference with the words replace 4. Its sweet heart it dont work i just tested on blueboh theme
TheJackal84 Posted June 16, 2017 Posted June 16, 2017 13 minutes ago, sweethoney said: ok it still come out the same way even if i use yours or mine it dont work i just tested on blueboh theme Thats not a code I am giving you thats a example of a code on a different theme all you need to do is find data-navTitle="{$item->title()}" and add data-FontAwesome="{$item->title()}" After it and job done works on any and every theme
sweethoney Posted June 16, 2017 Author Posted June 16, 2017 ok hold on ill test it and where do i find this
TheJackal84 Posted June 16, 2017 Posted June 16, 2017 3 minutes ago, sweethoney said: ok hold on ill test it and where do i find this <li {{if $active}}class='ipsNavBar_active' data-active{{endif}} id='elNavSecondary_{$item->id}' data-role="navBarItem" data-navApp="{expression="mb_substr( get_class( $item ), 4, mb_strpos( get_class( $item ), '\\', 4 ) - 4 )"}" data-navExt="{expression="mb_substr( get_class( $item ), mb_strrpos( get_class( $item ), '\\' ) + 1 )"}" data-navTitle="{$item->title()}"> there in the navbaritems near the top some might look different to the one above but its the same sort of code After the data-navTitle="{$item->title()}" before the >
sweethoney Posted June 16, 2017 Author Posted June 16, 2017 <li {{if $active}}class='ipsNavBar_active' data-active{{endif}} id='elNavSecondary_{$item->id}' data-role="navBarItem" data-navApp="{expression="mb_substr( get_class( $item ), 4, mb_strpos( get_class( $item ), '\\', 4 ) - 4 )"}" data-navExt="{expression="mb_substr( get_class( $item ), mb_strrpos( get_class( $item ), '\\' ) + 1 )"}"> this one and where do i put it along this
TheJackal84 Posted June 16, 2017 Posted June 16, 2017 6 minutes ago, sweethoney said: <li {{if $active}}class='ipsNavBar_active' data-active{{endif}} id='elNavSecondary_{$item->id}' data-role="navBarItem" data-navApp="{expression="mb_substr( get_class( $item ), 4, mb_strpos( get_class( $item ), '\\', 4 ) - 4 )"}" data-navExt="{expression="mb_substr( get_class( $item ), mb_strrpos( get_class( $item ), '\\' ) + 1 )"}"> this one and where do i put it along this Try and put it at the end, You see that is already a different code to the default IPS and the one you say replace in your tutorial so it might work but you are removing/adding stuff to it by replacing your code what shouldn't be there <li {{if $active}}class='ipsNavBar_active' data-active{{endif}} id='elNavSecondary_{$item->id}' data-role="navBarItem" data-navApp="{expression="mb_substr( get_class( $item ), 4, mb_strpos( get_class( $item ), '\\', 4 ) - 4 )"}" data-navExt="{expression="mb_substr( get_class( $item ), mb_strrpos( get_class( $item ), '\\' ) + 1 )"}" data-FontAwesome="{$item->title()}"> try that above and look where I put it If it don't work add this to it too data-navTitle="{$item->title()}"
sweethoney Posted June 16, 2017 Author Posted June 16, 2017 i tryed yours but it seem not to work so i just use mine its easer to use
TheJackal84 Posted June 16, 2017 Posted June 16, 2017 sorry edited the code i put the wrong one in I put data-navTitle="{$item->title()}" instead of data-FontAwesome="{$item->title()}" try the code again 1 minute ago, sweethoney said: i tryed yours but it seem not to work so i just use mine its easer to use
sweethoney Posted June 16, 2017 Author Posted June 16, 2017 thanks any way i have everything set i just dont feel like search for it and remove my stuff witch i dont want my stuff to break and have to do it all over 1 minute ago, TheJackal84 said: sorry edited the code i put the wrong one in I put data-navTitle="{$item->title()}" instead of data-FontAwesome="{$item->title()}" try the code again i see ok than ill try it
TheJackal84 Posted June 16, 2017 Posted June 16, 2017 1 minute ago, sweethoney said: thanks any way i have everything set i just dont feel like search for it and remove my stuff witch i dont want my stuff to break and have to do it all over i see ok than ill try it And if not this will work <li {{if $active}}class='ipsNavBar_active' data-active{{endif}} id='elNavSecondary_{$item->id}' data-role="navBarItem" data-navApp="{expression="mb_substr( get_class( $item ), 4, mb_strpos( get_class( $item ), '\\', 4 ) - 4 )"}" data-navExt="{expression="mb_substr( get_class( $item ), mb_strrpos( get_class( $item ), '\\' ) + 1 )"}" data-navTitle="{$item->title()}" data-FontAwesome="{$item->title()}"> you either add data-navTitle="{$item->title()}" or data-navTitle="{$item->title()}" data-FontAwesome="{$item->title()}" into it at the end and thats the only thing you need to do, Its easy to find the code as its near the top of navbaritems and them numbers in it make it east to notice too
sweethoney Posted June 16, 2017 Author Posted June 16, 2017 it broke my theme something must be missing ill try it later and let you know i tryed yours but it seem not to work
sweethoney Posted June 16, 2017 Author Posted June 16, 2017 i revert every thing back and tryed yours but its not working as u say it do
TheJackal84 Posted June 16, 2017 Posted June 16, 2017 2 minutes ago, sweethoney said: i revert every thing back and tryed yours but its not working as u say it do Thats the code and its even the only difference in the one you say to copy and paste so it is just that needed in that place, copy your code in your tutorial and then copy the default IPS one and paste them both in notepad you will see that is the only difference
sweethoney Posted June 16, 2017 Author Posted June 16, 2017 ok hold on ill leave my stuff im the blueboh theme and ill try your stuff in the defult them and see witch code are better ok i tryed yours but its not working <li {{if $active}}class='ipsNavBar_active' data-active{{endif}} id='elNavSecondary_{$item->id}' data-role="navBarItem" data-navApp="{expression="mb_substr( get_class( $item ), 4, mb_strpos( get_class( $item ), '\\', 4 ) - 4 )"}" data-navExt="{expression="mb_substr( get_class( $item ), mb_strrpos( get_class( $item ), '\\' ) + 1 )"}" data-navTitle="{$item->title()}" data-FontAwesome="{$item->title()}">
TheJackal84 Posted June 16, 2017 Posted June 16, 2017 2 minutes ago, sweethoney said: ok hold on ill leave my stuff im the blueboh theme and ill try your stuff in the defult them and see witch code are better its not my stuff lol I am only saying add that code at the end of that element and you wont need to replace the code, Plus I am sure in 4.2 it is different so you might need to know where to put the code
sweethoney Posted June 16, 2017 Author Posted June 16, 2017 ok i took everything out of the custom css and just use that and its not working but if i put my codes back in it works fine here this is my test site see for your self test
Recommended Posts
Archived
This topic is now archived and is closed to further replies.