?

Log in

No account? Create an account
August 3rd, 2006 - LiveJournal Development [entries|archive|friends|userinfo]
LiveJournal Development

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

August 3rd, 2006

BML Processing Order Problem [Aug. 3rd, 2006|12:33 pm]
LiveJournal Development

lj_dev

[squeaky19]
On my LJ site, I've noticed an issue with the way the BML pages are being processed. It seems that the scheme file is being processed right away before the HEAD, BODY, TITLE or other sections in the .bml file. I dont see this problem happening on some other LJ installations but it is definatly happening on mine.

To get more indepth into what I mean. If I have a page that has a need_res section in the BODY section of the code, then in the head section of my site scheme I have my LJ::included_res(); line, the res_includes that the .bml file specified don't get carried up into the head section.

But if the BML file does a large _code section the sends those results as $head $title $body, etc to the HEAD BODY TITLE or whatever sections everything works as expected. In .bml files that are experinecing this, I can prove that the data is getting to LJ::need_res, by running LJ::included_res();

This is a long standing problem and I've finally tracked down the exact symptoms but still don't know the root cause. Now I have seen this behavior on some LJ sites, just not all of them. I am sure it is a configuration error somewhere. Would it be possible to get someone who know the complexities of BML a little bit better than I do to help me look into this as I would love to get this issue resolved.
link1 comment|post comment

navigation
[ viewing | August 3rd, 2006 ]
[ go | Previous Day|Next Day ]