For example, Marks extension "LussumoBanner" puts all the html in the default.php and moving the adsense code into this works flawless.
I could e-mail you "LussumoBanner" to look at what he did or you can find it here:
http://lussumo.com/docs/doku.php?id=vanilla:administrators:troubleshooting#theme_changes
You need to replace all double quotes by single quotes. It will work, but your setting file will go crazy the next time you'll save something.
Until I find a solution I think I'll put a link to the old version. There's no administrator stuff and you need to edit everything manually, but there's no problem with the settings file.
Hi
Is there a way to have this extension to show up just on the index?
Let's say below the forum header like an introduction or a welcome message.
Thanks
Yep. Edit StuffDisplayer/default.php and look for line 161: if (in_array($Context->SelfUrl, array('index.php', 'account.php', 'categories.php', 'comments.php', 'post.php', 'search.php', 'settings.php', 'extension.php'))) {
You just need to remove the pages you don't want. In your case, change this line for this: if (in_array($Context->SelfUrl, array('index.php'))) {
I'm planning to add something to manage this easily in the settings for a next version.
Comments
Until I find a solution I think I'll put a link to the old version. There's no administrator stuff and you need to edit everything manually, but there's no problem with the settings file.
if (in_array($Context->SelfUrl, array('index.php', 'account.php', 'categories.php', 'comments.php', 'post.php', 'search.php', 'settings.php', 'extension.php'))) {
You just need to remove the pages you don't want. In your case, change this line for this:
if (in_array($Context->SelfUrl, array('index.php'))) {
I'm planning to add something to manage this easily in the settings for a next version.