Search the Community
Showing results for tags 'parents'.
-
Hi! I have a side menu, based on the renderNavTree function that comes with the default site template in PW: /** * Given a group of pages, render a <ul> navigation tree * * This is here to demonstrate an example of a more intermediate level * shared function and usage is complete...
-
Hi, I'm wondering if anyone could give me a bit of help, i'm a php newbie, so you mkight need to be patient! I'm trying to build a navigation menu that's contextual depending on where you are in the site, let me try to explain. the site tree would be something like this Root - section -s...
-
Hi, I am trying to do this: if ($page->parents->has("by-usage")) { where I know the parent name exists and is called by-usage. Is this correct as I am not getting an error nor an expected result? Thanks for the help.