Ah, I've edited my entry while you replied ;)
I've now tested some mixtures and it always seems to work. I'd rather not make an extra plugin. The way it is now, all one needs to do is modifying the entryproperties plugin.
The only "downside" is that it interprets the value as a string and sorts ...
Search found 16 matches
- Tue Jan 11, 2011 3:46 pm
- Forum: General discussions
- Topic: Customizable entry order
- Replies: 10
- Views: 8875
- Tue Jan 11, 2011 3:17 pm
- Forum: General discussions
- Topic: Customizable entry order
- Replies: 10
- Views: 8875
Re: Customizable entry order
Oh, there is nothing commented out in that function that I could put back in.
And I see the failed SQL query. It is the following (probably should have included that before):
SELECT
ep_sticky.value AS orderkey,
ep_sorting_priority.value AS sorting_priority,
e.id,
e.title,
e.timestamp,
e ...
And I see the failed SQL query. It is the following (probably should have included that before):
SELECT
ep_sticky.value AS orderkey,
ep_sorting_priority.value AS sorting_priority,
e.id,
e.title,
e.timestamp,
e ...
- Tue Jan 11, 2011 11:17 am
- Forum: General discussions
- Topic: Customizable entry order
- Replies: 10
- Views: 8875
Re: Customizable entry order
Okay, I managed to create a working sorting value field into the entryproperties plugin.
But when I try to order by that value, I get the following SQL error:
/ Unknown column 'sorting_priority' in 'order clause'
caused by trying to sort by "sorting_priority DESC".
I also tried with ep.sorting ...
But when I try to order by that value, I get the following SQL error:
/ Unknown column 'sorting_priority' in 'order clause'
caused by trying to sort by "sorting_priority DESC".
I also tried with ep.sorting ...
- Tue Jan 11, 2011 9:58 am
- Forum: General discussions
- Topic: Customizable entry order
- Replies: 10
- Views: 8875
Re: Customizable entry order
Alright, I think modifying the entryproperties plugin will be a lot easier.
I also noticed that after logging out and in again, the priority value was not saved, it was reset to 0. No idea what I did wrong that caused the value not to be saved, but I hope things will turn out better when I just add ...
I also noticed that after logging out and in again, the priority value was not saved, it was reset to 0. No idea what I did wrong that caused the value not to be saved, but I hope things will turn out better when I just add ...
- Mon Jan 10, 2011 12:26 pm
- Forum: General discussions
- Topic: Customizable entry order
- Replies: 10
- Views: 8875
Re: Customizable entry order
Alright, here is what I achieved so far:
I took the entryproperties plugin and based my own one on that. I tried to remove everything where I could guess that it was not needed in my plugin and left everything else in.
The result is that each entry now has an additional textbox that belongs to the ...
I took the entryproperties plugin and based my own one on that. I tried to remove everything where I could guess that it was not needed in my plugin and left everything else in.
The result is that each entry now has an additional textbox that belongs to the ...
- Mon Jan 10, 2011 9:27 am
- Forum: General discussions
- Topic: Customizable entry order
- Replies: 10
- Views: 8875
Re: Customizable entry order
Yeah, this surely is against blog standards.
But what I'm doing is more of a homepage than a blog, made with s9y.
And coding skills I do have, just not in php/databases/javascript. But you have to start somewhere, I guess.
So, I'll just start figuring out how to add an entry property (shouldn't be ...
But what I'm doing is more of a homepage than a blog, made with s9y.
And coding skills I do have, just not in php/databases/javascript. But you have to start somewhere, I guess.
So, I'll just start figuring out how to add an entry property (shouldn't be ...
- Fri Jan 07, 2011 1:51 pm
- Forum: General discussions
- Topic: Customizable entry order
- Replies: 10
- Views: 8875
Customizable entry order
Hey there,
I know that there is a plugin where you can set the orders ascending or descending, based on the date, but what I want is to give each entry an individual "sorting priority" (best place would be in the "edit entry" page), and then sort the entries in a category according to that variable ...
I know that there is a plugin where you can set the orders ascending or descending, based on the date, but what I want is to give each entry an individual "sorting priority" (best place would be in the "edit entry" page), and then sort the entries in a category according to that variable ...
- Sun Dec 12, 2010 8:18 pm
- Forum: Bugs
- Topic: Language selection problem
- Replies: 4
- Views: 3174
Re: Language selection problem
Well, I solved the problem with the default language being selectable for the user by removing the line that added the selection to the footer from the php file.
This way, no user should ever be able to select the default version of an entry (other than by typing stuff in the browser, maybe;) ).
This way, no user should ever be able to select the default version of an entry (other than by typing stuff in the browser, maybe;) ).
- Thu Dec 09, 2010 10:37 pm
- Forum: Plugins
- Topic: Tried all WYSIWYG editors - none are working.
- Replies: 9
- Views: 5563
Re: Tried all WYSIWYG editors - none are working.
So all I have to do should I need new features is install Xinha plugins. 
Allright, thanks.
Allright, thanks.
- Thu Dec 09, 2010 5:22 pm
- Forum: Plugins
- Topic: Tried all WYSIWYG editors - none are working.
- Replies: 9
- Views: 5563
Re: Tried all WYSIWYG editors - none are working.
Ah, okay, so the default one you get when you select no special plugin already is Xinha?
- Thu Dec 09, 2010 5:19 pm
- Forum: Bugs
- Topic: Language selection problem
- Replies: 4
- Views: 3174
Re: Language selection problem
Yes, I thought so.
But anyway, couldn't you fix the issues that:
1. There is a different version of an entry for the Default language. This is actually the main problem. When editing the Default version of an entry, you should actually be editing the version of the current default language (so ...
But anyway, couldn't you fix the issues that:
1. There is a different version of an entry for the Default language. This is actually the main problem. When editing the Default version of an entry, you should actually be editing the version of the current default language (so ...
- Wed Dec 08, 2010 8:06 pm
- Forum: Bugs
- Topic: Language selection problem
- Replies: 4
- Views: 3174
Language selection problem
Hey,
I found out about another problem with the multilingual plugin.
For some reason, when I select a language on my site (sidebar language selection plugin), the selected language becomes the default language.
This again makes the selected language unselectable when editing or creating an entry ...
I found out about another problem with the multilingual plugin.
For some reason, when I select a language on my site (sidebar language selection plugin), the selected language becomes the default language.
This again makes the selected language unselectable when editing or creating an entry ...
- Wed Dec 08, 2010 6:37 pm
- Forum: Plugins
- Topic: Tried all WYSIWYG editors - none are working.
- Replies: 9
- Views: 5563
Re: Tried all WYSIWYG editors - none are working.
No, I don't use the Firefox beta... :(
I tried the FCKeditor again and it gets an 404 when trying this line:
http://mysite.eu//plugins/serendipity_event_fckeditor/fckeditor/editor/fckeditor.html?InstanceName=serendipity%5Bbody%5D&Toolbar=Default
Which is kinda strange since that fckeditor.html ...
I tried the FCKeditor again and it gets an 404 when trying this line:
http://mysite.eu//plugins/serendipity_event_fckeditor/fckeditor/editor/fckeditor.html?InstanceName=serendipity%5Bbody%5D&Toolbar=Default
Which is kinda strange since that fckeditor.html ...
- Wed Dec 08, 2010 5:04 pm
- Forum: Plugins
- Topic: Tried all WYSIWYG editors - none are working.
- Replies: 9
- Views: 5563
Re: Tried all WYSIWYG editors - none are working.
Disabled Javascript in the browser?
No.
Tried different browsers?
No, but tried on different PCs with Firefox.
And since I always use Firefox, it just wouldn't be worth switching browsers just to get the other WYSIWYG editors.
Checked the permissions for the directories where you stored the ...
No.
Tried different browsers?
No, but tried on different PCs with Firefox.
And since I always use Firefox, it just wouldn't be worth switching browsers just to get the other WYSIWYG editors.
Checked the permissions for the directories where you stored the ...
- Tue Dec 07, 2010 10:38 pm
- Forum: Plugins
- Topic: Tried all WYSIWYG editors - none are working.
- Replies: 9
- Views: 5563
Tried all WYSIWYG editors - none are working.
Hey again,
Yes, that is basically my problem. I tried all three WYSIWYG editors and all of them end up not being shown at all when creating or editing an entry.
I always followed the installation guides, tried all the different relative paths - with "/", without, with "/tinymce", without, from ...
Yes, that is basically my problem. I tried all three WYSIWYG editors and all of them end up not being shown at all when creating or editing an entry.
I always followed the installation guides, tried all the different relative paths - with "/", without, with "/tinymce", without, from ...