When I click the little triangle next to an article title on my VaultWiki installation, nothing happens. Please let me know if there is a setting I need to enable, or a permission to check ?
No errors in the system errorlog
When I click the little triangle next to an article title on my VaultWiki installation, nothing happens. Please let me know if there is a setting I need to enable, or a permission to check ?
No errors in the system errorlog
If you have any Javascript errors on the page it can break the triangle. I visited your Tiesto article and this seems to be a contributing factor there.
- lead developer for VaultWiki
Thank you for the feedback, I will have a look at that.
Last edited by tscargo; July 28, 2009 at 9:26 PM.
I had one (unrelated) JavaScript error, which I 'disabled' by commenting out some javascript commands in my template. In the firefox error console I do not see any errors anymore, all other 'drop downs' work fine. Only the article tools one does not do anything.
I did some more checking, but the template that contains this specific menu (vault_article_menu) (which is (on my installation) called from special_class_postbit.php and special_plugins.php is actually not present on the page at all. So I think this is due to some permission setting, but I would not know which one.
You re-eval the footer template in one of your plugins. VaultWiki expects that this was already eval'd (in global.php). Instead, you should run an str_replace or move your plugin before the first eval (parse_templates, perhaps - you can check for THIS_SCRIPT == 'showwiki').
- lead developer for VaultWiki
Is see that re-evaluating the footer template is causing this to happen. The issue is that I really need to evaluate the footer AFTER the page is 'generated' to actually fill some (possible) related content boxes. I don't see why re-evaluating the footer template should break other output. I doubt that you are str_replacing things in one of your plugin to insert the code in the footer.
Would appreciate if you could shed some light on the applied logic in your product. Moving my plugin before the first parse is not an option as the related items are not know at that moment.
I create the related links based on the tags of an article (on a wiki page) or the tags of a thread (on a forum page).
Extra popups and Javascript are tacked on to the end of the $footer variable.
- lead developer for VaultWiki
Can you tell me where you do that ? The reason I am re-evaluating the footer template is because I need to add some info in the footer for related information. This information needs to be related to the content on the page. During the first eval of the footer template, this information is not available. vBulleting evals the footer template in the beginning of processing the page.
This is done when the article's postbit is created in vault/special_class_postbit.php. If you're going to re-eval the footer, try doing it at hook vault_postbit_start.
- lead developer for VaultWiki
I modified the plugin and hooked it into vault_postbit_complete, everything works like a charm now ! Thank you for your support ! Great customer service !
Bookmarks