Text Appended to the Bottom of The Page when Setting Up Tabs in Detail View

Discussions related to customizing hooks. Hooks are documented at http://bigprof.com/appgini/help/advanced-topics/hooks/
Post Reply
mohamed
Veteran Member
Posts: 80
Joined: 2020-04-19 16:18

Text Appended to the Bottom of The Page when Setting Up Tabs in Detail View

Post by mohamed » 2023-10-02 13:58

Hello,

I am trying apply the commands used on UDEMY - AppGini -- 12. Organizing Long Forms into Tabs
BUT
The problem the test appended is always appearing at the bottom of the page it does move in the middle between the Main Table and Child Table as shown in the video/code for some reason!

Tried it on differnert browsers but still shownig at the bottom of the page always.


Am I missing or misconfiguring any line in this code that I am using ?!


THANK YOU in Advance.

Code: Select all

	function licenses_dv($selectedID, $memberInfo, &$html, &$args){
		// run only if it is not a Print Preview page...
		if(isset($_REQUEST['dvprint_x'])) return;
		
		ob_start(); ?>
		
		<div id="form-tabs">This is a test line!</div>
		
		<script>
			$j(function(){
				$j('#form-tabs').appendTo('#licenses_dv_form');				
			})
		</script>

		<?php
			$tabs = ob_get_contents();
			ob_end_clean();
			
			$html .= $tabs;
	}
THANK YOU...
AppGini Pro 24.11 -
Calendar - Search Page Maker - Summary Reports - Mass Update - DataTalk -
bizzworxx AppGini Helper JabaScript Library - bizzworxx Inline Detail-View - bizzworxx Helper Pack - AppGini Helper Packaging Tool -
Udemy course

Post Reply