Keyword

testing multiple versions of category.php

  • David Schafer
  • David Schafer's Avatar Topic Author
  • Offline
  • New Member
More
6 years 6 months ago #167892 by David Schafer
testing multiple versions of category.php was created by David Schafer
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
6 years 6 months ago #167893 by David Schafer
Replied by David Schafer on 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.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 6 months ago #167912 by Krikor Boghossian
Replied by Krikor Boghossian on topic testing multiple versions of category.php
No reason to delete it, it might help other users :)

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum