Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Find out the navigation level?
Post: Find out the navigation level?
Zegnåt Wrote:
--
media-seven Wrote:
--
"find_url($parent)" results in my root path, no matter where I am.
--
What do you mean? find_url() is also used by the script that generates your main menu... |
|
media-seven |
Developer Discussions
|
7 |
16,504 |
2010-10-07, 17:10:00 |
|
|
Thread: Find out the navigation level?
Post: Find out the navigation level?
Zegnåt Wrote:
--
If you want to access $parent from inside your function, you’re going to have to access the global:
Code:
--
function yourfunction() {
global $parent;
if (isset($paren... |
|
media-seven |
Developer Discussions
|
7 |
16,504 |
2010-10-07, 16:21:03 |
|
|
Thread: Find out the navigation level?
Post: Find out the navigation level?
Zegnåt Wrote:
--
GetSimple never goes any deeper than 2 levels, and an expansion of this limit hasn't been planned (as of yet). So all you need to do is check whether $parent exists and is a valid... |
|
media-seven |
Developer Discussions
|
7 |
16,504 |
2010-10-06, 20:33:24 |
|
|
Thread: Find out the navigation level?
Post: Find out the navigation level?
I'm writing my own breadcrumb-plugin right now. http://get-simple.info/forum/topic/610/simple-breadcrumbs-plugin-updated-with-admin-setting/ is a bit too complicated to modify for a beginner like me.
... |
|
media-seven |
Developer Discussions
|
7 |
16,504 |
2010-10-06, 19:10:09 |
|
|
Thread: Breadcrumb or Get_page_title -> parent
Post: Breadcrumb or Get_page_title -> parent
Would like to have that too. Is it possible? |
|
media-seven |
Feature Requests
|
2 |
7,720 |
2010-10-05, 20:53:14 |