Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: rss_admin_db_manager: Database management in Textpattern
If I choose a suitable grid class from core, yeah flexbox might work. Would probably still need decent classes on each action to give them space. I’m not super clear on what core classes are best for this.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
Re: rss_admin_db_manager: Database management in Textpattern
For the first time I checked the html of the back end and we are using tables… Apologies:). There appears to be a normalisation in the classes which all start with txp-list-col-column_name. Which could mean that they may be dynamically named. You know more about this than me:)
I would think that a css selector would be able to style all. Something like td[class] |="txp-list-col-"]{} might work.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: rss_admin_db_manager: Database management in Textpattern
colak wrote #329955:
I checked the html of the back end and we are using tables…
Yeah, it’s tabular data :) When I agreed about a flexbox grid, I meant maybe applying a flexbox to just the cells in that final column so the individual actions could stack side by side if there was space or wrap if not. Not sure if that’ll work. CSS, for me, is mainly a process of hack it in the Inspector until it sort of works then save it quick and hope it hasn’t broken anything on other pages.
There appears to be a normalisation in the classes which all start with
txp-list-col-column_name.
I just hijacked Phil’s naming convention for other tables in the back-end and used it in the plugin.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
Re: rss_admin_db_manager: Database management in Textpattern
Stef, for those action links (button-links really), try with the markup pattern used under the Save/Publish submit on the Write panel.
<p class="txp-actions"><a href="…">foo</a> <a href="…">bar</a>
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
phiw13 on Codeberg
Offline
Re: rss_admin_db_manager: Database management in Textpattern
phiw13 wrote #329957:
Where is that emoji for a solar powered submarine when you need it ?
I checked – no submarine but here is a nice canoe🛶
Offline
Re: rss_admin_db_manager: Database management in Textpattern
Bloke wrote #329948:
Nope, I think this works better as a plugin.
Yeah, 100% with you on that. It is a nice to have module, but not a Core “necessity”.
—^–^–
BTW, there is quite a bit of room to improve the markup and structure. Upthread I had given an improved template for the Run SQL panel, the DB backup panel also could use some love…
Current mockups: Run SQL and DB backup
for the latter, I left one thing “as is was”: the line that starts with lock tables; me thinks you could rather use the same pattern as the other 3 items (the pattern is copied from all edit panels). That was partly out of lazyness :-/
PS – I tried to create a .sql file backup, but that failed with Backup failed. Error: 126 (in a warning message pane, not an error one)
Last edited by phiw13 (2021-04-22 03:10:23)
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
phiw13 on Codeberg
Offline
Re: rss_admin_db_manager: Database management in Textpattern
Offline
Re: rss_admin_db_manager: Database management in Textpattern
phiw13 wrote #329959:
there is quite a bit of room to improve the markup and structure.
Oh my, I totally forgot about your work there. So sorry. I’ve started to make amends by sprucing the backup panel based on your mockup. I just added a twisty disclosure to the settings so they can be tucked away. And I fixed the warning/error thing. Thank you.
I’ll do the SQL panel next.
EDIT: Done.
Last edited by Bloke (2021-04-22 13:35:28)
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
Re: rss_admin_db_manager: Database management in Textpattern
Bloke wrote #329963:
Oh my, I totally forgot about your work there. So sorry. I’ve started to make amends by sprucing the backup panel based on your mockup. I just added a twisty disclosure to the settings so they can be tucked away. And I fixed the warning/error thing. Thank you.
I’ll do the SQL panel next.
EDIT: Done.
Excellent, works perfectly as far as I can tell.
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
phiw13 on Codeberg
Offline
Re: rss_admin_db_manager: Database management in Textpattern
Plugin mostly works with PHP 8.1 and 4.8.8-latest, as far as I can tell
On the Database backup panel:
8192 "Function strftime() is deprecated"
in /Users/username/Sites/phiw13-local/plugin_core/rss_admin_db_manager/rss_admin_db_manager.php at line 402.
plugin_core/rss_admin_db_manager/rss_admin_db_manager.php:402 adminErrorHandler()
textpattern/lib/txplib_misc.php:1589 rss_admin_db_manager->db_bak()
textpattern/include/txp_diag.php:90 callback_event()
textpattern/index.php:230 include()
Core already patched this (date / time issue) on its side. The plugin might need some love.
Last edited by phiw13 (2021-12-13 07:13:53)
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
phiw13 on Codeberg
Offline
Re: rss_admin_db_manager: Database management in Textpattern
Thanks for the nudge. Fixed in the diag-panel branch.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
Re: rss_admin_db_manager: Database management in Textpattern
Bloke wrote #332209:
Thanks for the nudge. Fixed in the diag-panel branch.
TY, everything works fine now on PHP 8.1. As far as I can tell :-)
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
phiw13 on Codeberg
Offline
Re: rss_admin_db_manager: Database management in Textpattern
Hi
I installed the last version fron GitHub v4.6.0 on aftesh install of 4.9.0, the plugin itself installed correctly but the textpack haven’t installed, i had to comy/past manually on language tab.
Cheers.
Offline
Re: rss_admin_db_manager: Database management in Textpattern
Dragondz wrote #342321:
I installed the last version fron GitHub v4.6.0
Off my repo? If you’re installing that, try the one on the diag branch instead.
I’ll swap those over when I get a chance so this diag panel version becomes the default.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
Re: rss_admin_db_manager: Database management in Textpattern
Hi
I downloaded the php file on the repo uploaded it and installed it! And nothing apears on the menu!
I tryed twice same result!
I reversed to the one on the release instead. It works.
Cheers.
Offline