The extension is feature frozen at the moment. No new events are planned. You could put Adsense on top of the posting page by usingJsanta wrote:Any plans to create code insert to right after post input box?
I mean under buttons "save draft", "preview" and "submit"? That would be great for adsense.
overall_header_content_before.html
To show your content only in the posting page, use the
SCRIPT_NAME
template variable.Edit :: overall_header_content_before.html
Code: Select all
<!-- IF SCRIPT_NAME == 'posting' -->
Your content ...
<-- ENDIF -->
I presume you talk about:Second question: how to put code under specific categories? Let's say the second and fourth category for example?
To show your content only under specific categories, you can use the row numbers. These row numbers depend on your board. You can find which row numbers you need by displaying them:To insert Google Adsense code in between the categories on the index page:
Edit :: forumlist_body_category_header_before.html
Code: Select all
<!-- Google Adsense --> <!-- IF forumrow.S_IS_CAT and not forumrow.S_FIRST_ROW --> <div class="post adsense"> Your Google adsense code here... </div> <!-- ENDIF -->
Edit :: forumlist_body_category_header_before.html
Code: Select all
{forumrow.S_ROW_COUNT}
Edit :: forumlist_body_category_header_before.html
Code: Select all
<!-- Google Adsense -->
<!-- IF forumrow.S_ROW_COUNT == 8 or forumrow.S_ROW_COUNT == 15 -->
<div class="post adsense">
Your Google adsense code here...
</div>
<!-- ENDIF -->