Wow, I remember this thread!
Anyway, I think I solved the issue of 'how do you get elder glyph of warding without losing CLs'- and the answer is actually pretty straightforward: You put it in a domain.
A
heretic of the faith can replace any domain they have access to with any other domain. Now, I'm not even considering the concept of 'domain wizard, swap wizard domain for cleric domain', but like, domain customization exists (Dragon magazine, but still), and the wording on Heretic of the Faith is pretty vague- you pick another domain, and that domain must be consistent with the tenets of your heresy. Does that mean 'the domain you choose' is consistent? or does it mean 'what is within the domain you choose' must be consistent?
It doesn't seem like so far a step to me to argue that as a heretic, you know a corrupted version of an existing domain- ie: one with some spells swapped around.
Consider the Rune domain, which already has Glyph and Greater Glyph on its list. Swapping Teleportation Circle for Elder Glyph of Warding seems pretty reasonable to me just straight up, and spending a feat on it shouldn't cause a severe case of DMG to the face.
There's of course a question of getting a code of conduct so you can qualify for being a heretic without divine casting, but as per the ex-cleric entry, you don't actually need to have the code of conduct class feature to have a code of conduct, you just need to be part of the clergy and worship your god.