3 weeks and 4 days ago, I had asked about the order of articles/items displayed with CB Articles. The default is to order them by date created. I had asked about changing the "sort" or "order by" to categories. My understanding was that I needed to go to components/com_comprofiler/plugin/user/plug_cbarticles/models/joomla25.php and for Joomla articles or components/com_comprofiler/plugin/user/plug_cbarticles/models/k2.php for K2 items/articles. Then I would change this line of code: "\n ORDER BY a." . $_CB_database->NameQuote( 'created' ) . " DESC";
I assume 'created' refers to date created? So I would just change 'created' to 'category_title' if I want to sort by category title?
Since then, I realized that it would be even better to sort by the item (article) title since then the end user could number the articles in the specific order they want them to appear. So if that is the case, would I just change 'created' to 'name' ??
I suppose I could just try different things but editing php is a bit intimidating for me and always afraid I am going to totally mess things up. Before I do anything, I will make a backup but thought I would check again, just to make sure I am on the right path for changing the order of the K2 items displayed in CB Articles.
As always, thanks for your assistance.