Please Log in or Create an account to join the conversation.
The query would be as follows.For the record, I tried adding/substituting "*" with or in place of "params", and I tried substituting it with "title", all results just errored or said "You have to choose at least one column to display",
Yes.I assume it's safe to change the ordering values like I did to whatever I want with values from 0 to anything higher, so I can for instance renumber all six of the login modules as desired to get them into my chosen order of preference? (e.g. I may want current number 5 order to be order 1 (or 0)
Because this module was created back in the Mambo days. Joomla didn't just start out as Joomla 3.0 or anything of the sort. CB runs on multiple versions of Joomla and long before all these nice features even exist. This was the only solution at that time. We however can not just suddenly change it as that's a usage change that has been in place for years. It'll be changed with CB 2.0 however as it'll be a migration and not an upgrade so we can depreciate out of date usages.BTW, I wonder why having "none" or some other unavailable position name (e.g. "DefaultCBLoginPage") in the value for the module's position would not be a more suitable and intuitive way of defining which is used instead of using an unpublished module in database order? It might then avoid all this confusion of not knowing which one is going to get selected (i.e. not based on position and ordering in backend module view).
Please Log in or Create an account to join the conversation.
krileon wrote:
Code:SELECTÂ * FROM #__modules WHERE module = 'mod_cblogin' ORDER BY ordering
Yup, that's what I did several times the other day and again today (replacing # with my db prefix, plus removing one of the two underscores maybe specified by accident).
The query box adds in some tabbed spaces and whether I "Selected All" to clear them or not, the query errored saying I have to specify at least one column. Then for some strange reason it suddenly started working using the exact same copy and pasted full query (but only when clearing the query box's extra spaces.)
No idea why! maybe some odd spaces were left? But it works now.
Thanks for your explanations and help
Please Log in or Create an account to join the conversation.