Posts: 535
Threads: 31
Joined: Jul 2010
Thanks, I'll test it out, test some more, and post back with issues and possible fixes(if they appear).
I'm giving you three guesses...
Posts: 2,895
Threads: 59
Joined: Jun 2010
Okay I look forward to your results.
Of course the only other thing is to make sure that you have the correct Page ID in example.php.
I think you know how to handle that part.
Have
you completed
the interview?
Posts: 535
Threads: 31
Joined: Jul 2010
Yes, it works. Though it's a little tedious to write some code so it displays the correct id for certain pages. Having the id be the page name(without hash) would be easier, or at least have the id be a changeable string. I'll try to make it work.
As far as I understand, you simply remove the part after the question mark. I need to know what the sanitize function does, because it's clearly a custom function. The file it's in would be enough.
Never mind, I found it. Should have searched first. Such an obvious place
.
I'm giving you three guesses...
Posts: 2,895
Threads: 59
Joined: Jun 2010
I suppose that I could add the ability to set an optional user-friendly Page ID in Manage -> Pages.
Then code it so that you can use either the given Page ID or your own entered Page ID.
This approach has the advantage of being backwards compatible.
Have
you completed
the interview?
Posts: 2,895
Threads: 59
Joined: Jun 2010
How come you're looking at the sanitize function?
Have
you completed
the interview?
Posts: 535
Threads: 31
Joined: Jul 2010
17-Jul-2010, 08:30 PM
I thought that the sanitize function might have something to do with checking the page id. Apparently, not really. I must say, your code is very well written. There aren't too many files, they are clearly named, files well commented, everything is very clear.
I'm giving you three guesses...
Posts: 2,895
Threads: 59
Joined: Jun 2010
Thanks I appreciate you saying that.
Have
you completed
the interview?
Posts: 535
Threads: 31
Joined: Jul 2010
I need help locating the place where the page id is set into the database, and the places where it's used that are important. I found the following files which seem relevant:
- App/processor.php
- Functions/processor.php
- Admin/Pages/manage_pages.php
I'm giving you three guesses...