Reinstall PDF examples
The PDF example forms are not installed automatically, but require subsequent installation. This can be done easily by clicking the Install PDF Demo tile in the Visforms dashboard under the Manage Subscription group.
The PDF example forms can be deleted at any time if they are no longer needed. However, the PDF example forms can only be installed once. Even if Visforms and Subscription are reinstalled, the Install PDF Demo tile no longer appears in the dashboard.
Redisplay of the “Install PDF Demo” tile in the dashboard
Storage location in the Joomla database
The setting PDF Demo is installed is a parameter of the component and is stored in the Joomla database as follows:
- in the #__extensions table
- in the params field
- which contains text in JASON format
- in the demoFormInstalled parameter
- as a Boolean value.
Where #__ is the placeholder for the specific prefix of the Joomla table names. The placeholder for the prefix of the Joomla table names must be replaced with the specific prefix used in the Joomla database.
The demoFormInstalled parameter is set to true after the PDF demo forms are installed. This also causes the button for installing the demo forms to disappear.
Change with SQL Statement
The following SQL statement resets the above parameter demoFormInstalled to false.
update jx_extensions set params = replace(params, '"demoFormInstalled":true', '"demoFormInstalled":false') where element = 'com_visforms';
The SQL statement can be executed, for example, in the PHP software phpMyAdmin, which is widely used by many providers, after selecting the Joomla database. After executing the SQL statement, the status looks like this:
- The parameter demoFormInstalled is set to false.
- The Install PDF Demo tile appears again in the Visforms dashboard under the Manage Subscription group.
- Clicking the Install PDF Demo tile reinstalls the PDF sample forms.
Note: The Visforms dashboard page may need to be reloaded for the changes to take effect in the database.