I will call this project TE Mailer 1.6
(see my previous post in this thread if you haven't read it yet).
All files of the new build 0.0.2
are available here http://altipoint.ch/dev/temailer
, as wells as screenshots
In the zip archive are also two ".sql" files that you can use to create and populate some demo tables.
What's new in this build:
- Mailing list and Mailing groups tabs are now correctly initialized
Next things to do
(contributors are welcome):
In function ShowTable() of MySQLPHPGrid/mysqlphpgrid.class.php, a the HTML header contains a script with lot a javacript functions.
(These functions are what makes the tables dynamic.)
The script containing these functions should be moved to <head> in inc/headermin.php (which is called by temailer.php) or alternatively echoed by mysqlphpgrid.class.php. In such case, the script would insert inself in to the <body> of the module. The important think to keep in mind is that this new version of TE Mailer will still use Ajax.
In function UpdateTable() of MySQLPHPGrid/mysqlphpgrid.class.php, I had to comment out this line
if ($_REQUEST["a"]) exit($res); //Ajax: don't do any further processing'
as $res was false and the exit() blocked the module.
A solution must be found to adapt this code instead of commenting it out.
The height of tab panes is not adapting to the content.
In inc/headermin.php, I tried added the .clearfix css class.
Then, in temailer.php, I tried to replace <div class="tab-pane"
by <div class="tab-pane clearfix", but it conflicted with how the tabs behave.
a version of mysqlphpgrid.class.php with comments echoed to help debugging is available in the file debugging__mysqlphpgrid.class.php
If you improve the module and want to share it with others, please put your files contact me per PM. I will publish the new builds.
Don't know if you are known with github.
I can add it to github if you want so other people can download it
Thanks. I'm aware of GitHub but not using it currently.
All files are now available in a zip file, including SQL queries to create the tables. If others help in coding, I'll post the latest version.
[ed. note: Jul last edited this post 5 years, 8 months ago.]