![]() ![]() The structure of this folder is defined as: It also consists of storing all the assets from Scriptcase such as project, user and public level Stores all files used by Scriptcase for project development. Scriptcase configuration files for the production environment This procedure is only applicable to standard installations performed in SQLite. In this directory, we find a backup / scriptcase that is used to create copies of the Scriptcase database. Stores all exports that have been imported into Scriptcase, from projects to general backups. USER img / scriptcase_NM_bg_NM _ *: Background images at the scriptcase level. PUBLIC img / scriptcase_NM_bg_NM _ *: Background images at the scriptcase level. Img / scriptcase_NM_menu_img_NM _ *: Menu images at the scriptcase level. ![]() Img / scriptcase_NM_img_NM _ *: Images of the entire briefcase. Img / scriptcase_NM_ico_NM _ *: Icons at the Scriptcase level Img / scriptcase_NM_btn_NM _ *: Button images at the scriptcase level. SCRIPTCASE img / scriptcase_NM_bg_NM _ *: Background images at the scriptcase level. Img / grp_NM_helpcase_NM _ *: Images of the help case at the project level Img / grp_NM_menu_img_NM _ *: Menu images at the project level. Img / grp_NM_img_NM _ *: General images at the project level. Img / grp_NM_ico_NM _ *: Icons at the project level Img / grp_NM_btn_NM _ *: Button images at the project level. ![]() PROJECT img / grp_NM_bg_NM _ *: Background images at the project level. _lib / googlefonts: Google theme sources _lib / friendly_url: application friendly URLs _lib / font: Report PDF and Captcha fonts Libraries: External libraries of the project. It is used only to manage applications in Development, not for backup or Production.įriendly_url: application friendly addresses This folders stores everything related to project applications, source code, libraries, themes, languages, images, etc. The folders that are installed with Scriptcase is one of them, here I explain the structure of it. If you investigate here: you will see various examples of using the native tc_pdf functions.As a Scriptcase developer, it is convenient to know everything in detail about the environment. Take into account that the tc_pdf library that scriptcase uses doesnt update so quickly as the original tc_pdf functions. The complete code for an example is there, made with tc_pdf functions which you can also do with sc_pdf_ functions… So if you want to find a function you can make it with tc_pdf functions of with sc_pdf funcions from scriptcase. and you will find that the tc_pdf and the scriptcase.īasically those libraries are the same. Scriptcase uses sc_tc_pdf but it has made it a bit different then the original tc_pdf. If you want to use other pdf functions that are not available under tc_pdf_* then you can use $this->Pdf->x where is is the function you need. Be aware that you can not run scriptcase functions in the code section (I reported this, so they may change it). Close and output PDF document not needed it seems scriptcase does this $pdf->setImageScale(0.3) //PDF_IMAGE_SCALE_RATIO $pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM) $pdf->SetAutoPageBreak($auto_page_break, $bMargin) $img_file = K_PATH_IMAGES.'image_demo.jpg' $auto_page_break = $pdf->AutoPageBreak $bMargin = $this->Pdf->getBreakMargin() $this->Pdf->setPageMark() //MultiCell,WriteCell,WriteHTML after this Sc_pdf_set_author('University of Groningen') Sc_pdf_set_author('Rijksuniversiteit Groningen') $pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false) ![]() I have this code in my page code section in layout pdf. $pdf = new ZNW_PDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false) New PDF doc with class ZNW_PDF (Tools / Libraries / Project / znw_header_footer.php) Include the main TCPDF library (search for installation path). set the starting point for the page content $img_file = './_lib/img/sys_NM_zeitnachweis.png' But it is tricky to find it out in detail. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |