Welcome Guest, Not a member yet? Register   Sign In
Cannot Retrieve the Correct Content
#10

(This post was last modified: 03-11-2024, 11:20 AM by demyr.)

(03-08-2024, 04:43 PM)kenjis Wrote: dd($page_id);

it returns 1 as string and when I convert it to integer then it is integer.

Well, I found the reason. As I first stated, it was really silly and I felt like a novice.

For the top menu I keep products and corporate pages for sub menus. And I usually name them as "products_for_menu" and "pages_for_menu" in order to prevent any confliction. However I realized that (while pasting my Controller here) I had mistyped for the pages this time and I kept it as "pages", which conflicted with the page content : "pages".  (facepalm) 

We shouldn't work under stress.

Thank you so much for your time and sorry for this small issue.
Reply


Messages In This Thread
Cannot Retrieve the Correct Content - by demyr - 03-08-2024, 02:11 AM
RE: Cannot Retrieve the Correct Content - by demyr - 03-08-2024, 11:45 PM



Theme © iAndrew 2016 - Forum software by © MyBB