Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71531

Linking to another tabs sub page doesn't allow tab to go to main page

$
0
0

@defvayne23 wrote:

Here is a bit of my structure.

Tab Home
Tab Closure
| - Inside Page 1
Tab Progress
Tab Resources
| - Inside Page 2

My first problem is when clicking to "Inside Page 2" from the home screen the back button doesn't show. That's fine (for me at least, not sure about project owners). My other problem is when I click on the parent tab, Resources, it will not take me to that view. It only shows "Inside Page 2".

Here are my states for that inside page and the main tab page.

.state('tab.resources', {
    url: '/resources',
    views: {
        'tab-resources': {
            templateUrl: 'templates/tab-resources.html',
            controller: 'NothingCtrl'
        }
    }
})

.state('tab.resources.social', {
    url: '/social',
    views: {
        'tab-resources@tab': {
            templateUrl: 'templates/resources/social.html',
            controller: 'SocialCtrl'
        }
    }
})

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>