Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#37 2016-06-04 06:31:42

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,373

Re: Feedback to: Textpattern CMS 4.6.0 beta released

philwareham wrote #299454:

Those secondary links I want to keep subtle (not as buttons) as the screen looked a whole lot more cluttered when they were buttons.

But this is at the expense of consistency. Prev, Next, Log out, Upload, Create, Cancel etc are all styled as buttons.

And on the theme of consistency:

  • “Create new section” is styled as a button, but “Create new page”/“Create new form” are styled as links.
  • All links are font weight normal, “Install” on the Languages tab is bold.
  • “Create new”, “Duplicate” & “View” on the Article tab are the only links with icons – so maybe if they’re not to be buttons, the icons are superfluous (and cluttering)?

BTW please don’t be offended by my niggles, I just want the default theme to be even better than it already is. Besides, now’s the time to mention these things before betas become releases – even if I get shot down in flames.

Offline

#38 2016-06-04 20:55:29

GugUser
Member
From: Quito (Ecuador)
Registered: 2007-12-16
Posts: 1,473

Re: Feedback to: Textpattern CMS 4.6.0 beta released

If this is the latest documentation, then is missing the description for <txp:if_description>.

Offline

#39 2016-06-04 21:48:46

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: Feedback to: Textpattern CMS 4.6.0 beta released

GugUser wrote #299525:

If this is the latest documentation, then is missing the description for <txp:if_description>.

Thanks for the report, I will flag it as a TODO in the docs site (which I really need to work on again soon). I’m on vacation as of tomorrow for a week so I’ll add it when I return.

Offline

#40 2016-06-04 23:33:47

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,373

Re: Feedback to: Textpattern CMS 4.6.0 beta released

gomedia wrote #299507:

All links are font weight normal, “Install” on the Languages tab is bold.

On reflection … if buttons indicate actions and links take you to other pages, then “Install” should be a button anyway!

Offline

#41 2016-06-05 06:18:03

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,007
Website GitHub Mastodon Twitter

Re: Feedback to: Textpattern CMS 4.6.0 beta released

Updated on dev environment with no apparent errors on the front or the back side of the site.

Active plugins: act_if_mobile-0.1.2, glx_if-0.7, fha_time_diff-0.23, zem_redirect-1.2.1, zem_contact_reborn-4.5.0.0, pap_contact_cleaner-0.1, mdn_count-1.4, rvm_privileged-0.5, adi_mobile-0.2, pat_speeder-0.7.3, abc_feed-0.1, smd_wrap-0.20, rss_admin_db_manager-4.3, rah_external_output-1.0.4, rvm_css-1.1, spf_js-0.51, adi_matrix-2.0, kuo_file_stats-0.1, smd_lib-0.36, smd_where_used-0.2, adi_notes-1.3.1, ied_plugin_composer-0.83, adi_search_db-0.3

Big thanks to the devs!!!!


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#42 2016-06-05 21:19:30

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,578
Website

Re: Feedback to: Textpattern CMS 4.6.0 beta released

+100. Big thanks to all from me, too. Been using 4.6 for ages and found it pretty robust. I love how with each new version, I can dispense with one or another workaround I used to use because it’s now doable in the core. Similarly, the admin area is getting ever better thanks to Phil’s stalwart and diligent work. Phil, have a good vacation!


TXP Builders – finely-crafted code, design and txp

Offline

#43 2016-06-06 10:40:04

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,909
Website

Re: Feedback to: Textpattern CMS 4.6.0 beta released

Can someone explain the “database INDEX permissions” situation… Is there a simple command to run for checking and adding if needed?

(Been trying to read the MySQL docs. I might as well be reading Egyptian hieroglyphics. How can anybody understand those docs. It’s beyond me.)

Sorry, never mind. This works for me

Well, this didn’t work, in fact:

mysql> grant INDEX on *.* to ‘root’@'localhost’;
    '> 

And now I can’t get out of that '> state. Using \c isn’t working. Help?!

Just found this:

To use GRANT, you must have the GRANT OPTION privilege, and you must have the privileges that you are granting.

So if I didn’t have INDEX privs, then that would have worked anyway.

Need a tutorial here, if anyone would be so kind. Also recommend maybe explaining this in the ReadMe’s Update info. Clearly morons like me need it.

Last edited by Destry (2016-06-06 11:17:57)

Offline

#44 2016-06-06 11:48:59

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,250
Website GitHub

Re: Feedback to: Textpattern CMS 4.6.0 beta released

Destry wrote #299564:

Can someone explain the “database INDEX permissions” situation… Is there a simple command to run for checking and adding if needed?

Checking:

show grants for [mysql_username_here]
e.g. show grants for 'txpconnect'@'localhost'

(assuming your admin user listed in config.php was txpconnect and your ‘host’ was localhost. Don’t ask about the quote syntax and ‘at’ symbol, it’s bloody stupid imo).

Granting:

grant INDEX on [database].* to [mysql_username_here];
e.g. grant INDEX on csf_db.* to 'txpconnect'@'localhost';

You probably don’t want to assign privileges to the root mysql user, as that should have all privileges by default and primarily be used to add and remove grants for other accounts with more limited scope. Our system requirements page lists all the privs your database user needs at minimum, so you can comma-separate those in the grant command, or you can just GRANT ALL PRIVILEGES if you prefer.

Most of the time, they’ll be set up fine by your hosting company when you use their cpanel/plesk/whatever to create a database and user. The defaults are usually okay. I suspect the INDEX thing is more applicable to those people who are super-security conscious and batten down their privs, or roll their own hosting.

Been trying to read the MySQL docs. I might as well be reading Egyptian hieroglyphics. How can anybody understand those docs. It’s beyond me.

Ha! You and me both. They’re probably the second most impenetrable docs on earth, after UNIX man pages.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#45 2016-06-06 11:56:06

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,909
Website

Re: Feedback to: Textpattern CMS 4.6.0 beta released

Bless you. Any idea how to get out of here?

mysql> grant INDEX on *.* to ‘root’@'localhost’;
    '> 
    '> /c
    '> \c
    '> \c
    '> q
    '> \q
    '> exit
    '> \h
    '> stop
    '> quit
    '> end
    '> kill
    '> \o/
    '> f***me

Offline

#46 2016-06-06 12:03:35

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,250
Website GitHub

Re: Feedback to: Textpattern CMS 4.6.0 beta released

Destry wrote #299568:

Bless you. Any idea how to get out of here?

CTRL-c? Or just a blank enter and take the error on the chin?

That’s a continuation prompt due to either missing off the semicolon (which I do all the bloody time), or having a mismatched quote, as you have in the third apostrophe being straight not curly.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#47 2016-06-06 12:05:16

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,909
Website

Re: Feedback to: Textpattern CMS 4.6.0 beta released

Blank enter didn’t do it, but Ctrl-c did. I didn’t know that one. Thanks again.

Offline

#48 2016-06-12 20:19:42

GugUser
Member
From: Quito (Ecuador)
Registered: 2007-12-16
Posts: 1,473

Re: Feedback to: Textpattern CMS 4.6.0 beta released

I would like one little thing more, the possibility to edit in te admin-themes an existing but empty, for example, “additional_user_css.css”.

This would require to add the following three lines in “admin-themes > hive > hive.php” and “admin-themes > hiveneutral > hiveneutral.php”.

if (defined('additional_user_css')) {
    $out[] = '<link rel="stylesheet" href="admin-themes/additional_user_css.css">';
}

To enable this “additional_user_css.css”, users could add one line to the “config.php”:

define('additional_user_css', true);

The content of my “additional_user_css.css” is at the moment, for example:

#view_modes, #txp-textfilter-group, #txp-advanced-group, #txp-comments-group, .keywords {
	display: none !important;
}

.txp-header h1 {
  padding-left: 0 !important;
  background: none !important;
}

.txp-header h1 a {
  margin-left: 0 !important;
}

#custom_field_group input[type="text"], .glz_custom_field input[type="text"] {
	width: 100% !important;
}

/* 1 line */

input#title, textarea[id*="custom-"] {
	width: 100% !important;
	height: 1.875em !important;
	min-height: 1.875em;
	max-height: 1.875em;
	padding-top: .25em;
	padding-bottom: .125em;
}

input#title {
	max-height: 1.7em;
	min-height: 1.7em;
	padding-top: .2em;
	padding-bottom: .1em;
}

/* 2 lines */

textarea#custom-xy {
	max-height: 3.375em;
}

/* 3 lines */

textarea#custom-xy {
	max-height: 4.875em;
}

/* 4 lines */

textarea#custom-xy {
	max-height: 6.375em;
}

/* 5 lines */

textarea#custom-xy {
	max-height: 7.875em;
}

/* 6 lines */

textarea#custom-xy {
	max-height: 9.375em;
}

/* 8 lines */

textarea#excerpt, textarea#custom-xy {
	height: 4.875em !important;
	max-height: 12.375em;
}

What think you about this?

Offline

Board footer

Powered by FluxBB