- Posts: 2
- Thank you received: 0
test your extension
4 years 3 weeks ago #11
by HDcms
test your extension was created by HDcms
hello
I am currently testing your extension. I find it interesting because it would allow me to display a message on another module as a test.
However, I've been asking for several weeks on different forums and I don't have an answer
I would like to test
1/ if the connected member has a contact form?
the "user_id" field of contact_details
2/ the category of the article visited
More simple I tried
$this->item->catid
$article->catid
but it doesn't work
I understand that you don't want to answer, but I'll give it a try.
Regards
I am currently testing your extension. I find it interesting because it would allow me to display a message on another module as a test.
However, I've been asking for several weeks on different forums and I don't have an answer
I would like to test
1/ if the connected member has a contact form?
the "user_id" field of contact_details
2/ the category of the article visited
More simple I tried
$this->item->catid
$article->catid
but it doesn't work
I understand that you don't want to answer, but I'll give it a try.
Regards
Please Log in or Create an account to join the conversation.
- administrator
- Offline
- Administrator
-
Less
More
- Posts: 98
- Thank you received: 13
4 years 3 weeks ago #12
by administrator
JoomHelper - Free Joomla Extensions and Tutorials.
- Facebook: bit.ly/3Fmq9AN
- Youtube: bit.ly/33onadN
- Donate: bit.ly/3uu8yFs
Replied by administrator on topic test your extension
Hello,
The PHP Condition is a standalone conditional script written in the PHP language. In your example, it will not work because it don't know $this and $article variables
.
In this case, besides PHP, you need to learn more about Joomla Framework.
Hope to help you!
The PHP Condition is a standalone conditional script written in the PHP language. In your example, it will not work because it don't know $this and $article variables
In this case, besides PHP, you need to learn more about Joomla Framework.
Hope to help you!
JoomHelper - Free Joomla Extensions and Tutorials.
- Facebook: bit.ly/3Fmq9AN
- Youtube: bit.ly/33onadN
- Donate: bit.ly/3uu8yFs
Please Log in or Create an account to join the conversation.
4 years 3 weeks ago #13
by HDcms
Replied by HDcms on topic test your extension
Hi
Yes, I understand that it is a matter of context, because depending on where you are, the calls are different.
A generic example would have helped me because I don't know where to look!
Regards
Yes, I understand that it is a matter of context, because depending on where you are, the calls are different.
A generic example would have helped me because I don't know where to look!
Regards
Please Log in or Create an account to join the conversation.
Latest articles
-
Top free Joomla 5 template to build news sitesYou are planning to build a news website, these are the templates you should not miss.
-
Content AuthorContent Author is an add-on extension for Joomla Content. By installing it, you can categorize articles by author. Make it easy for users to access the content they are interested in.
-
Password for SP Page BuilderSometimes you want to restrict viewing to certain articles, setting a password is a great solution.
-
YouTube Video ChaptersVideo chapters divide YouTube videos into clear sections, making it easy to revisit any part instantly.
-
Export Database table to CSV fileSometimes you want to export some database tables to a CSV file for analysis or backup.
1. The "radio buttons" extra field doesn't transfer the values in the additional field, e.g., "yes" or "no," and only enters certain values into the #__fields_values database.
2. The "textarea" extra field with the "Use editor" option checked converts to "textarea" when it should be "editor."
3. In K2, the extra field group is assigned in the category. In Joomla Articles, the category is assigned in the extra field. It would be nice if this were automatically completed. A checkbox could be added if someone doesn't want this option.