2 Questions
Hi, I "copied-and-pasted" the quick edit module's TPL code onto "tiki-top_bar.tpl" (I have all the UI on the top bar), and my boss wants that particular function only to be accessible from the home page.
So my question: is there a condition/variable I can use to check if the page is the home page (I'm using a Wiki homepage NOT titled "HomePage," and I had no luck trying to use the custom home feature)? I looked around in the code and found things like "$url" and "$homepage," but I don't think I'm fully understanding what these variables stand for.
Also, my boss wants a limit on the Wiki attachment file size; is there an "admin" solution that I can use without modifying code? If not, what would be a possible solution? Apache config?
Thanks!