I am attempting to get a specific entries id from within a specific section. I have looked around, and clearly have not found anything yet.
To clarify, lets say we have a section called "Stories", which is a structure. Inside of "Stories" there is a specific entry named, "Story One" that I would like to retrieve the id of.
I can pretty much get as far as getting the contents of the Stories structure via:
$entry = craft()->sections->getSectionByHandle('stories');
The important piece here, is that I want to find the "Story One" entry id. Reason being is that it looks like you can't do relatedTo queries via the title of an entry, but you need the id.