Keyword

Multiple Category Menu Item Layout order??

  • Warrick Van Den Heever
  • Warrick Van Den Heever's Avatar
  • Offline
  • New Member
More
13 years 11 months ago #91260 by Warrick Van Den Heever
Replied by Warrick Van Den Heever on topic Multiple Category Menu Item Layout order??
Thanks Mat! Such a simple fix!

Joomla has the same problem.

Please Log in or Create an account to join the conversation.

More
13 years 10 months ago #91261 by Rishona Campbell
Replied by Rishona Campbell on topic Multiple Category Menu Item Layout order??
This fix worked for me as well; thanks so much for sharing it!

Please Log in or Create an account to join the conversation.

More
13 years 10 months ago #91262 by Roger Edrinn
Replied by Roger Edrinn on topic Multiple Category Menu Item Layout order??
This may be my solution too. I'm posting now to save this thread.

Please Log in or Create an account to join the conversation.

More
13 years 10 months ago #91263 by Roger Edrinn
Replied by Roger Edrinn on topic Multiple Category Menu Item Layout order??
I want to try this fix but not sure where to start, some question:

 

Where do I access the .php file (components/com_k2/models/itemlist.php)?

From the K2/Joomla Admin area?
From Cpanel, if so where?

Do I use a text editor or a special PHP editor?
mat said:

Edit around line 235 in : components/com_k2/models/itemlist.php

Please Log in or Create an account to join the conversation.

More
13 years 10 months ago #91264 by matthew turner
Replied by matthew turner on topic Multiple Category Menu Item Layout order??
Hi Roger,

I use Notepad, and accesss the files using FTP. I will also repeat the obvious : Back Up the file you are editing first !!

Glad this "fix" has helped others, although I am not convinced it is a K2 bug, more of a work a round to get the desired effect....

 

Roger Edrinn said:

I want to try this fix but not sure where to start, some question:

 

Where do I access the .php file (components/com_k2/models/itemlist.php)?

From the K2/Joomla Admin area?
From Cpanel, if so where?

Do I use a text editor or a special PHP editor?
mat said:

Edit around line 235 in : components/com_k2/models/itemlist.php

Please Log in or Create an account to join the conversation.

  • Odin Mayland
  • Odin Mayland's Avatar Topic Author
  • Offline
  • Platinum Member
More
13 years 10 months ago #91265 by Odin Mayland
Replied by Odin Mayland on topic Multiple Category Menu Item Layout order??
Roger,

 

Yes you can use the file manager section of cpanel to edit the php file.  You do not need an additional program if you use cpanel as the editing is done inside your browser.
Roger Edrinn said:

I want to try this fix but not sure where to start, some question:

 

Where do I access the .php file (components/com_k2/models/itemlist.php)?

From the K2/Joomla Admin area?
From Cpanel, if so where?

Do I use a text editor or a special PHP editor?
mat said:

Edit around line 235 in : components/com_k2/models/itemlist.php

Please Log in or Create an account to join the conversation.

  • Odin Mayland
  • Odin Mayland's Avatar Topic Author
  • Offline
  • Platinum Member
More
13 years 10 months ago #91266 by Odin Mayland
Replied by Odin Mayland on topic Multiple Category Menu Item Layout order??
Mat,

If this is not a bug, then how would you use the "Multiple Category Menu Item Layout" and not have it be in a totally random order?  I assume there are uses for random layouts but I assume they are more rare.

mat said:

Hi Roger,

I use Notepad, and accesss the files using FTP. I will also repeat the obvious : Back Up the file you are editing first !!

Glad this "fix" has helped others, although I am not convinced it is a K2 bug, more of a work a round to get the desired effect....

 

Roger Edrinn said:

I want to try this fix but not sure where to start, some question:

 

Where do I access the .php file (components/com_k2/models/itemlist.php)?

From the K2/Joomla Admin area?
From Cpanel, if so where?

Do I use a text editor or a special PHP editor?
mat said:

Edit around line 235 in : components/com_k2/models/itemlist.php

Please Log in or Create an account to join the conversation.

More
13 years 10 months ago #91267 by Roger Edrinn
Replied by Roger Edrinn on topic Multiple Category Menu Item Layout order??
Thanks Mat & Modernmagic,

Before you both posted and with a lot of stumbling, bumbling and Googling I was able to Filezilla (FTP) my into Cpanel and find the folder with itemlist.php, which I placed a copy on my HDD. I then opened itemlist.php in Vim which has a line counter, so finding line 235 was trivial. The edit was easy and I replaced the original with the edited copy.

Now the testing, later today. I'll report back success or failure, not totally sure this is THE answer to my problem. Here's hoping.

Please Log in or Create an account to join the conversation.

More
13 years 10 months ago #91268 by matthew turner
Replied by matthew turner on topic Multiple Category Menu Item Layout order??
Hi,

Not sure about Random, but the Date ordering has always been the ordering of choice for my clients - date ordering for News items, works well. But we needed things done in a more of a catalogue style of ordering.

In fact it seemed illogical to order it any other way, until the next client wanted it ordered by date again !!

Needs must etc etc.

 

 

modernmagic said:

Mat,

If this is not a bug, then how would you use the "Multiple Category Menu Item Layout" and not have it be in a totally random order?  I assume there are uses for random layouts but I assume they are more rare.

mat said:

Hi Roger,

I use Notepad, and accesss the files using FTP. I will also repeat the obvious : Back Up the file you are editing first !!

Glad this "fix" has helped others, although I am not convinced it is a K2 bug, more of a work a round to get the desired effect....

 

Roger Edrinn said:

I want to try this fix but not sure where to start, some question:

 

Where do I access the .php file (components/com_k2/models/itemlist.php)?

From the K2/Joomla Admin area?
From Cpanel, if so where?

Do I use a text editor or a special PHP editor?
mat said:

Edit around line 235 in : components/com_k2/models/itemlist.php

Please Log in or Create an account to join the conversation.

More
13 years 10 months ago #91269 by matthew turner
Replied by matthew turner on topic Multiple Category Menu Item Layout order??
Hi,

I think what would be better is a wider selection of display/ordering options for multi category pages:

Group by Category,

Group by Author,

Group by ExtraField etc,

And then apply the ordering (by date, or Ordering or even Random (why?)

Unfortunately I do not enough time to fix/create a better solution for this until a client needs it, but will post any further help if I can.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum