A Few Choice Technical Challenges
Bruce Scherzinger Northern Virginia JUG Co-Founder and Chair Professional Aerospace Software Systems Engineer First presented July 20, 2017
Technical Challenges Bruce Scherzinger Northern Virginia JUG - - PowerPoint PPT Presentation
A Few Choice Technical Challenges Bruce Scherzinger Northern Virginia JUG Co-Founder and Chair Professional Aerospace Software Systems Engineer First presented July 20, 2017 Agenda Investigating and fixing a template problem
Bruce Scherzinger Northern Virginia JUG Co-Founder and Chair Professional Aerospace Software Systems Engineer First presented July 20, 2017
Note: This presentation is designed for parallel demonstration using a live Joomla website.
JoomlART Purity III / T3 Platform
Requires T3 framework (v2.6.5)
Chrome browser element inspector Joomla site debug mode Patience and persistence
Front-end editing an article Using Google Chrome’s element inspector, you can see there’s very little HTML
It is clear the template code did not load.
Using Development level error reporting and reopening the editor in the front end caused this error to be reported: Fatal error: Cannot use object of type ContentViewForm as array in /home/userid/public_html/mydomain.co m/plugins/system/t3/base- bs3/html/layouts/joomla/edit/params.php
Lines 13-15 are using the $displaydata
array. Searching for another params.php file in the t3 folders that might hold a clue.
Found similar code in the file plugins/system/t3/base/html/layouts/joomla/edit/params.php that did not use $displaydata as an array. Copied the base-bs3 code to the base params.php file for the fix.
(looks like I need to work on that Captcha box alignment)
Template update process did not replace the errant file. JA style management maintains many copies of similar
Forum post/discussion of my report of the issue
https://www.joomlart.com/forums/topic/bug-found-in-t3-2- 6-5
Purity III Template Download
https://www.joomlart.com/downloads/free- templates/purity-iii/
JoomlART Free Templates
https://www.joomlart.com/downloads/
Website Member-based Community Email Lists by
A Perl script written by Justin Simoni.
Over a decade of development and support.
Free to use, support requires a subscription.
Free version supports up to 3 lists.
Has its own web interface, mainly for administration. Uses any email account with POP3/SMTP access.
Not dependent on Joomla site server being up and running.
Uses text files or MySQL for data management.
MySQL option allows integrating with Joomla.
Cronjob runs script at scheduled interval.
No site activity required. Site can be in maintenance mode. Dada Bridge plug-in allows members to use their favorite email client or service.
Need arose when neighbors couldn’t keep website and Mailman logins straight. Demanded integrated solution. Allows site members to click checkboxes to subscribe to and unsubscribe from lists. Notifies user & admin of subscription changes
Install DadaMail using the same database as the Joomla site.
Configure DadaMail to your preferences, USE MySQL. Create your lists. Recommend making lists “closed”.
Install Community Builder. Configure to preference.
Add one profile field per email address to support.
Install and configure Dada Mail Subscriptions CB Plugin.
Enter Dada Mail settings database table name (dada_settings) Identify email address fields by name (email, cb_email1, etc.)
Multiple email addresses must be enabled if desired
Setup notification messages
Set to admin, user, or both Email subject, return address, etc. Message/subject tags: [USER], [SITE], [EMAIL], [OLD], [LIST]
Each email list needs a field setup like the one on the left. Use single for only
Add one option for each list, e.g.:
Each email address in addition to the account email needs a field like the one on the right. It is recommended that all of these fields be located on a profile tab specifically for email lists.
Plug-in fields configuration List field options configuration
Usage Restrictions Privacy policy
One checkbox field for each email address supported Could use multi-select drop list field, but uglier
Use of the Regular Labs Tabs & Sliders plugins is highly recommended
Events generated for front or back end profile updates
Plugin checks for changes to named email fields Updates Dada Mail subscriptions table directly Sends email notifications as configured
Event generated for new, approved site registrations
Auto-subscribe option in plugin configuration
Event generated for user deletion
Plugin deletes all Dada Mail subscription records for all addresses in named email fields Sends an unsubscribe notification email
Dada Mail Product webpage
http://dadamailproject.com
Download
There’s a free download link on this page http://dadamailproject.com/purchase/pro.html
Community Builder
Joomlapolis account required for free downloads http://joomlapolis.com
Dada Mail Subscriptions CB Plugin
http://joomlacode.org/gf/project/dadamailmanager/frs/ Note: The manager component is obsolete
Creating Reports from Your Joomla Site Database with
An Eclipse-based replacement is available, but is HUGE
Similar in concept to MS Access report designer. Yes, you need to write code! Yes, you need to understand the database schema. But it’s largely a visual tool.
May require IP permission grant by hosting company. Queries can be any combination of database tables.
Determine your report layout. Determine the query needed to populate the report. Setup server “data source” and test connection. Use Designer to implement the report.
Enter complete query and run a test. Consider font size, column width, page layout, same as you would for any other app (e.g., Word, Excel, etc.) Add fields from query to the report.
Test periodically to ensure query provides data as expected Adjust as needed after previewing full report result. Save final report design.
Open report template at any later time to generate, preview, and print.
for first-timers.
support links.
(paid) products.
Included drivers make data source setup a snap.
You need a decent understanding of SQL You won’t be writing a whole Java program
You’ll only use language snippets for formatting
(or is it vice versa?)
Sample report in Designer
Page header Column heading Data record Page footer
Java used to combine fields
(you can hold them in your hands)
Preview in Designer allows you to see your report before printing. Note group headings: first letter of last name.
Last heading repeats on next page if necessary
Not for the latest version, but close enough
https://www.jaspersoft.com/olp/developing-reports- jaspersoft-ireport-designer
v5.6.0 was the last release before product was dropped
https://sourceforge.net/projects/ireport/
v6.4.0 is the latest release
https://sourceforge.net/projects/jasperstudio/