Tag: php

50 votes
12 answers
1.7K views
How can I create a new Joomla user account from within a script?

We're creating an XML API for Joomla that allows partner sites to create new accounts for their users on

avatar
Emilia
0 1 0 9
asked 07 September, 2021
54 votes
3 answers
1.3K views
How to get the path to the current template in Joomla 1.5?

I'm writing a component and would like to insert images from the template folder. How do you get the cor

avatar
Rudolf
0 1 0 9
asked 07 September, 2021
57 votes
3 answers
394 views
What is difference between conservative caching and progressive caching in joomla 2.5?

In Global Config in joomla have 2 caching is conservative and progressive, what is difference both ?

avatar
Leonardo
0 1 0 9
asked 07 September, 2021
51 votes
4 answers
2.5K views
Using PHP's substr() with special characters at the end results in question marks

When I use the substr() function in PHP, I get an question mark (a square with a question mark - depending on

avatar
Joseph
0 1 0 9
asked 07 September, 2021
59 votes
1 answers
910 views
Joomla database settings

What is the file, where database setting are stored in Joomla CMS? Like server, user name, database name and

avatar
Leonardo
0 1 0 9
asked 07 September, 2021
62 votes
2 answers
348 views
Fabrik form submission issue, getting JSON response instead of thank you page

I have a Joomla site 2.5.4 and contact form is build using Fabrik plugin. When I submit the contact form I rec

avatar
Serina
0 1 0 9
asked 07 September, 2021
53 votes
4 answers
2.2K views
SQL query to prepend prefix to existing value in a field

I have searched and searched for an answer to this, and I think this must be child's play for anyone who

avatar
Emilia
0 1 0 9
asked 07 September, 2021
63 votes
8 answers
1K views
How to get component parameters?

I have a problem here and just cant solve it :-/ I am developing an Joomla component with backend. In the bac

avatar
Cortez
0 1 0 9
asked 07 September, 2021
49 votes
9 answers
2.8K views
joomla password encryption

I need to access the joomla user table jos_users for login checking from external php script [codeignitor]. j

avatar
Tuan
0 1 0 9
asked 07 September, 2021
57 votes
2 answers
1.4K views
How to detect the current language of a Joomla! website?

I just want to generate a code that will detect the current language of my websit in joomla + php

avatar
Majorie
0 1 0 9
asked 07 September, 2021
55 votes
1 answers
746 views
Adding qty and add-to-cart in related products on product detail page for virtuemart 3 and display in linear fashion

I would like to know how to add qty , add-to-cart button and display them in a linear fashion on the vm3 produ

avatar
Don
0 1 0 9
asked 07 September, 2021
61 votes
17 answers
503 views
How can I send a Firebase Cloud Messaging notification without use the Firebase Console?

I'm starting with the new Google service for the notifications, Firebase Cloud Messaging. Thanks to thi

avatar
Emilia
0 1 0 9
asked 07 September, 2021
52 votes
15 answers
1.5K views
FPDF error: Some data has already been output, can't send PDF

I am using the fpdf library for my project, and I'm using this to extend one of the drupal module. These

avatar
Roger
0 1 0 9
asked 07 September, 2021
53 votes
3 answers
662 views
How are people handling content management system production staging?

I've been dipping my toe into web development technologies for fun (ya, i should get out more), and am a

avatar
Deedee
0 1 0 9
asked 07 September, 2021
61 votes
3 answers
2.4K views
what is the difference between $_SERVER['REQUEST_URI'] and $_GET['q']?

what is the difference between $_SERVER['REQUEST_URI'] and $_GET['q'] (which is used in Dr

avatar
Margo
0 1 0 9
asked 07 September, 2021
57 votes
4 answers
1.2K views
Can you Create your Own Hook in Drupal?

Is it possible to create your own hook in a Drupal module for other Drupal modules to consume? If not, is the

avatar
Wilber
0 1 0 9
asked 07 September, 2021
57 votes
7 answers
2.2K views
How to log error message in drupal

How to log our own error messages(for ex: error due to invalid user date entry) which is generated in php prog

avatar
Daniel
0 1 0 9
asked 07 September, 2021
60 votes
17 answers
3K views
displaying a Drupal view without a page template around it

I would like to display a Drupal view without the page template that normally surrounds it - I want just the p

avatar
Brianne
0 1 0 9
asked 07 September, 2021
65 votes
5 answers
1.4K views
Getting the URL of a node in Drupal 7

Goal: To send an email with a list of URLs generated from nodes. In my custom module I have managed to get th

avatar
Alphonso
0 1 0 9
asked 07 September, 2021
67 votes
12 answers
2.7K views
array_flip():Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->load()

I have recently migrated my module to Drupal7 (on PHP Version 5.3.1) and now I am getting following errors:

avatar
Robyn
0 1 0 9
asked 07 September, 2021