Keyword

Custom Code Problem

  • Giovanni Ciavarelli
  • Giovanni Ciavarelli's Avatar Topic Author
  • Offline
  • New Member
More
8 years 11 months ago #143547 by Giovanni Ciavarelli
Custom Code Problem was created by Giovanni Ciavarelli
Hello .. asking for a solution I found this topic:



But following the instructions I can't have the result, but only the Code text on the module in the frontpage too

retrieve the counter of k2 items, k2 users

It's simply printing code on the page ...

How could I use that code, please?

My goal is having the total number of the articles

Thanks!!

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 11 months ago #143565 by Krikor Boghossian
Replied by Krikor Boghossian on topic Custom Code Problem
Use the K2 Tools module instead and enable the execution of PHP.

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

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

  • Giovanni Ciavarelli
  • Giovanni Ciavarelli's Avatar Topic Author
  • Offline
  • New Member
More
8 years 11 months ago #143574 by Giovanni Ciavarelli
Replied by Giovanni Ciavarelli on topic Custom Code Problem
Hi Krikor, Thanks for your reply
Unfortunately It does not work. It just "print" code on the page:



Please note that both "Parse Php Code" on or off does not change the result!

:-\

Anyway ... even if I will be able do make It work, what customizations should I do to make it work for my Database?

Thanks again!

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 11 months ago #143586 by Krikor Boghossian
Replied by Krikor Boghossian on topic Custom Code Problem
Please do not double post.
Also please view my last answer about PHP's missing brackets.

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

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

  • Giovanni Ciavarelli
  • Giovanni Ciavarelli's Avatar Topic Author
  • Offline
  • New Member
More
8 years 11 months ago #143590 by Giovanni Ciavarelli
Replied by Giovanni Ciavarelli on topic Custom Code Problem
Sorry !
I did not mean to double post, but I did not get an answer! Now I did! :) Thanks! I will try the brackets!

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 11 months ago #143593 by Krikor Boghossian
Replied by Krikor Boghossian on topic Custom Code Problem
You 're welcome Giovanni.

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