Table of Contents
TWEAKING MySQL DEMO DATA
MySQL tweaking in the component area
00:00:00 (Click on these time links to see Youtube video)
Open a component (in this instance, 'Editting a component'). Go to 'settings', and you'll find a 'MySQL' tweak. What is its function? If you have multiple versions of a component and partly demo relating to a certain version of it and implementation of items and you do not want those items included in another version, there is the 'MySQL' tweak area where a specific view can be selected. 00:00:43
Note: This feature may only be used if you're using this area where we added database connection between the view 'dummy data' and 'view' itself. 00:01:07
If 'Field types', one of Component Builders own views, is opened and connected to the database through 'MySQL'; if 'yes' is added and table selected, then Field types are selected in the database and allows it all to be taken into the 'Build' file. (See video.)
Tweaking Feature
Some of the versions distributed with Component Builder does not have all the field types. They are limited to a certain few field types. To explain what has been done, return to the tweaking feature. With Component Builder open, go to settings. 00:01:57 In this tweak feature, added values may be seen; certain of them, like Custom Admin, had been set to 'no'. Do not include the add MySQL (to view table) if it is set in the view. 00:02:19 If 'MySQL' was selected in the view it can be controlled which item's actual 'ids' should be included through this feature. As in the Admin View, these two 'ids' (33,42) had been included from the database. They are the 'ids' in the Admin View table. It is ID based. There is the feature including all. (See video.)
ID Based
It is a function used to indicate what is needed here. (See video.) If 'ids' between 1 and 50 are used, this arrow notation with an equals open bracket (=>) can be used to notate that between 1 and 500 you want to add. 00:03:15 Here, 1,2,3,4or1=>4, a comma is placed, 20, another comma and 40=>90, so in the same comma-delimited list, this notation can be added to show that 1 to 4 has to be included, after 20 is added and all the ids will be grabbed. 00:03:41 It eliminate any other ids and only use the ones that had been notated. Here is another example of using 1,4,23,199: it goes on from 597=>604,682=>684. (See video.) 00:04:08 It is in the same comma-delimited list, id based; include these by clicking 'yes'. That is what it can be used for. If dummy data or example data had not been included in the component build structure, this area is redundant and not necessary to use it at all. 00:04:46 Ignore it if there aren't any data selected.
This feature helps with the management of dummy data between versions in your applications.
- Home
- Beta Testing
- Custom Code
- PHP Settings
- Demo Component
- Tutorials
- Hello World JCB
- Intro JCB Guide
- JCB Installation Steps
- Planning Components
- Field Type Overview
- Basic Fields Creation
- Admin View Management
- Advanced Field Usage
- Admin Component Integration
- Component Setting Customization
- Scripting Components
- Component FTP Options
- Dynamic Get Method
- Site View DynamicGet
- Site View Templates
- Template Setup Guide
- Layout Configuration Steps
- Custom Admin Management
- Adding Site Views
- Custom Admin Integration
- MySQL Demo Tweaking
- Global JCB Settings
- Custom Time Field
- User Helper Integration
- Email Helper Usage
- Message Store Email
- List View Unescape
- Export Import Customization
- Overwrite Custom Fields
- List Field Filtering
- Automatic Code Import
- Manual Code Implementation
- Component Export Import
- Custom Admin Buttons
- Translation Management
- Site View Permissions
- Component SQL Updates
- Site Edit Configuration
- JCB Backup System
- Helper Structure Integration
- JCB v2.5 Upgrade
- Tab Setup Guide
- JCB v2.6 Release
- Extended HelloWorld
- Field Rule Validation
- Community Snippets Intro
- Snippet Forking Tutorial
- Pull Request Snippets
- Library Manager Area
- Excel-based Translation
- Dynamic Router Details
- Database Auto Updates
- Subform Quick Demo
- VDM Package Import
- Dynamic File Inclusion
- File Field Upload
- Drag-n-Drop Upload
- Quick HelloWorld JCB
- Non-database Fields
- Dashboard Customization
- Menu Prefix Toggle
- Community JCB Packages
- Collaborative JCB Workflow
- JCB Package Install
- JCB JAB18 Event
- Convenient New Fields
- Component Language Strings
- Library Functionality Anticipation
- Join Field Relations
- License Template Change
- Code Reusability
- Local Dev Environment
- Extended Field Types
- Joomla Custom Fields
- Custom Field Expansion
- Site View Listing
- Run Expansion Method
- Form Site View
- Field URL Update
- Additional Helper Methods
- Field Validation Rules
- New Placeholder Feature
- Component Config Params
- Per-field Default Values