Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2015-05-02 17:50:14

whocarez
Plugin Author
From: Germany/Ukraine
Registered: 2007-10-08
Posts: 305
Website GitHub Twitter

sort order of custom fields in article edit window

Hello,

I have a strange problem.
After switching between database storage engines the sort order of the custom fields has changed. So now first appears custom_10 and than custom_1, custom_2 and so on. The problem appeared after switching back from ARIA to InnoDB. Aria promises to be a crash-safe alternative to MyISAM, but I wasn*t satisfied. Anyway, now it looks like that:

<div id="custom_field_group">
<h3 class="lever expanded"><a href="#custom_field">Benutzerdefinierte Felder</a></h3>
<div id="custom_field" class="toggle" style="display:block">
<p class="custom-field custom-10"><label for="custom-10">tag</label><br />
<input type="text" value="" name="custom_10" size="32" id="custom-10" /></p>
<p class="custom-field custom-1"><label for="custom-1">Personen</label><br />
<input type="text" value="" name="custom_1" size="32" id="custom-1" /></p>
[...]
<p class="custom-field custom-9"><label for="custom-9">woche</label><br />
<input type="text" value="" name="custom_9" size="32" id="custom-9" /></p></div></div>

In phpmyadmin I can’t see any difference.

26      custom_1 	varchar(255) 	utf8_general_ci 	
[...]
34 	custom_9 	int(11)
35 	custom_10 	int(11)

I’m aware that it is not really a textpattern specific problem, but it is annoying.
Has someone an idea?

Offline

Board footer

Powered by FluxBB