Support will be in summer mood from 6-17 August, 2018 while the JoomlaWorks folks get some rest.
Keyword

testing multiple versions of category.php

  • David Schafer
  • David Schafer's Avatar Topic Author
  • Offline
  • New Member
More
3 months 4 days ago #167892 by David Schafer
David Schafer created the topic: testing multiple versions of category.php
I want to work on and test 3 different versions of k2's category.php. I'd like them all to be deployed at once, choosing between them by changing the URL. Is this possible?

Here's what I tried that doesn't work:
I put three new files (categoryT0.php, categoryT1.php and categoryT2.php) in my template's html/com_k2/default folder.
I tested with a variation of the K2 categories URL that I get when I create a menu item for categories.
/index.php?option=com_k2&view=itemlist&layout=categoryT0&task=category&id=303

Only to receive this errror:
Call to a member function get() on null in .../htdocs/templates/jsn_time2_pro/html/mod_breadcrumbs/default.php on line 17

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

  • David Schafer
  • David Schafer's Avatar Topic Author
  • Offline
  • New Member
More
3 months 4 days ago #167893 by David Schafer
David Schafer replied the topic: testing multiple versions of category.php
Oh, duh, I forgot the itemid. I would like to delete the original post but I can't seem to find the button.

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

More
3 months 3 days ago #167912 by Krikor Boghossian
Krikor Boghossian replied the topic: testing multiple versions of category.php
No reason to delete it, it might help other users :)

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

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

Moderators: william white