1
This is a hack for Smartsection 2.12. It changes the display format so that the item image only displays on the first page. I find it useful on long documents that I've paginated using [pagebreak] -- this way, the image only appears on the first page.
Step 1: edit item.phpAround line 104, you'll see this code:
$xoopsTpl->assign('pagenav', $pagenav->renderNav());
Just below it, add this line:
$xoopsTpl->assign('curpage', $item_page_id);
Step 2: edit /templates/smartsection_item.htmlLook for this line:
<{if $item.image_path}>
Modify it to this:
<{if $item.image_path && $curpage == 0}>
That should do it! Now, the image will only show up on the first page.
Brad