- Posts: 9
COMMUNITY FORUM
Custom Code Problem
- Giovanni Ciavarelli
-
Topic Author
- Offline
- New Member
Less
More
10 years 1 week 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!!
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
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 1 week 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.
Please Log in or Create an account to join the conversation.
- Giovanni Ciavarelli
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 9
10 years 1 week 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!
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
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 1 week 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.
Also please view my last answer about PHP's missing brackets.
Please Log in or Create an account to join the conversation.
- Giovanni Ciavarelli
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 9
10 years 1 week 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!
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
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 1 week ago #143593
by Krikor Boghossian
Replied by Krikor Boghossian on topic Custom Code Problem
You 're welcome Giovanni.
Please Log in or Create an account to join the conversation.