Jump to content

$page->id Returning root id


RyanJ
 Share

Recommended Posts

No matter what page I view, $page->id is returning the root id. Strangely enough though it returns the proper page $page->title, $page->name, $page->parent_id. If I echo $page->rootParent;, it returns the same id.

Im baffled?

Link to comment
Share on other sites

@interrobang. I retract my previous statement. You are correct as I was missing an =. Thank you for that  because I would have probably just started everything all over since its a new site. I wont mention how long I have been trying to figure it out.

I can now declare defeat by the = and take the idiot of the day award :-[.

I am taking this as a sign to take a break. :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...