Questions tagged [php]

PHP is a server-side scripting language designed for web development but also used as a general-purpose programming language. Joomla is based on PHP.

Filter by
Sorted by
Tagged with
-1
votes
1answer
113 views

Simple plugin to check folder contents on component update

I'm wanting to make a very simple plugin. All it needs to do is On installation of the plugin, copy a folder to a particular component's library folder. When a particular component library is ...
-1
votes
2answers
120 views

Is it possible to load one module only after the whole page has loaded?

On my site, one module is taking considerably longer to load than the other content on the page. I'm wondering if it's possible to delay the loading of this module? For example, after the page is ...
-1
votes
2answers
72 views

Where does the shadow class come from? (purity iii, pricing table1)

theres this line of code: Where does the shadow att and the other css come from? I only know the box-shadow attribute. I know i simply can delete the att, but i am interested in where it comes from. ...
-1
votes
1answer
337 views

How to write a conditional check on a column value with a mysql query?

I am trying to setup a simple default statement on the results page of a testing system. This seems like it would be relatively simple, but I cannot get my if statement to process properly. The ...
-1
votes
1answer
57 views

add text after value that is retrieving from SQL in php [closed]

This is the code that i retrieve data from sql in this case ¨Km¨ is added before value but i will ¨Km¨ after value .. example : now is like this : Km 129.000 but i will 129.000 km $insert1 =" /// ...
-1
votes
1answer
378 views

0 String could not be parsed as XML, joomla administrator is not working [closed]

0 String could not be parsed as XML, this error is displaying on my joomla administrator and it is not working.
-1
votes
1answer
357 views

Joomla insert Query not run

When I try to execute my insert query then, I get the following error: Below is my code: $fname = $posted['firstname']; $email = $posted['email']; $phone = $posted['phone']; $productinfo = $posted['...
-1
votes
1answer
284 views

Why are Fabrik packages not installing in joomla after packaging? [closed]

I just installed fabrik cck, which is good by the way, I then packaged my forms created in the localhost so as to reuse them in the live site. When I try to install, I get a blank page on this ...
-1
votes
1answer
231 views

JFBConnect and jfbclogin module in joomla 3

Hi everyone I've been used JFBConnect in joomla ver 1.5 and jfbclogin module but I am migrating in joomla version 3 the jfbclogin module are not working. Any idea will appreciated and if there an ...
-1
votes
0answers
19 views
-1
votes
1answer
28 views

How do I find the first NON bootstrap class ancestor of my current module position?

Not sure I'm wording this right so please forgive me. I'm working on a situation where I want to apply the background to the 1st NON .container ancestor of my current module. So, for example.. <...
-1
votes
1answer
242 views

Selecting data from SQL database

I am trying to select data from 'xxx_user' table, based on the usergroup the user is assigned to EG 'administrator' Is there any way this could be done? And would it be possible to do it with a cron ...
-2
votes
1answer
1k views

PHP code to display Registered Date & Last Visited Date?

How can I make a PHP script that displays a users Registered Date and Last Visited Date as it appears in the core Joomla profile page?
-2
votes
1answer
1k views

Difficulties in calling ajax from joomla 2.5 module

Hi i am having problem to call another file by ajax from module.As i don't want to make a component to call it for ajax from module, so what i am thinking is calling index.php file from ajax passing a ...
-2
votes
1answer
36 views

What does the line in the code below does? [closed]

$hasContent = empty($this->item->module) || isset($this->item->xml->customContent); line 23 in /administrator/components/com_modules/tmpl/module/edit.php
-2
votes
2answers
365 views

How to access the email of the user who created a submission?

I have the following working javascript code: var user_email = document.getElementById("jform_user_email"); user_email.value = "<?php echo JFactory::getUser()->email; ?>"; The next lines ...
-2
votes
1answer
278 views

How can I link my PHP file to the HTML of a module?

I have this newsletter module in joomla with this code <form method="POST" name="contactform" action="prova.php"> <div class="tm-block-bottom-b tm-block-padding tm-block-primary-dark tm-...
-3
votes
3answers
135 views

Puting script labels in a module problems

I'm trying to put a jQuery pluin in a module which I have developed. When I do it, it doesn't work. The code where I put this labels is this: <?php // no direct access defined('_JEXEC') or ...

1
10 11 12 13
14