Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [phoenix-dev] New Key for the Project Info DB.

Title: New Page 1
Karl, Matt,
My suggestion for how to do this (common left nav on website and wiki) would be to have the project define the common left nav on a their project website. Then the wiki would use file_get_contents to fetch that page and extract out the div that defines the left nav and then place that div in the right place on the wiki. Easy for users (same left nav), easy for projects (doesn't require meta-data), safe for us (doesn't require user code in the wiki), easy-ish for us (file_get_contents is easy).  Perhaps it would require caching the bits once a day in a database rather than doing the file_get_contents each time, but that's also easy.

- Bjorn

Karl Matthias wrote:
The problem with defining the left nav in PHP code for the wiki is that you then have user code running inside the wiki code itself, which for security reasons is not a good thing.

--
[end of message]

Back to the top