Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
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.
1
vote
How to only transfer new column values from one table to another?
You can adjust your code to:
$db = JFactory::getDBO();
$query = $db->getQuery(true);
$query->select('a.user_id as id') /* changed to load object and insert it */
->from('#__user_usergroup_map as …
3
votes
Accepted
Loop Joomla Modules
php
} …
1
vote
How to retrieve RSForm submission data grouped by SubmissionId?
Here you are:
$query->select($db->qn('s.SubmissionId','id'))
->select($db->qn('s.DateSubmitted','date'))
->select($db->qn('sv.FieldValue','status'))
->select($db->qn('nv.Field …
2
votes
Accepted
403 Forbidden Access, when accessing custom html/php files directly
|php)\ HTTP/
RewriteCond %{REQUEST_URI} !^/administrator/
RewriteRule (([^/]+/)*)index\.(html? … |php)\ HTTP/
RewriteCond %{REQUEST_URI} !^/administrator/
RewriteCond %{REQUEST_URI} !^/subdir/.*?
RewriteRule (([^/]+/)*)index\.(html? …
0
votes
PHP function with JDatabase queries
Well, may be at your stage of development there is to late to look into something to build from, but your can look at the implementation of specific method of Model of JooYii Library.
There is method …
1
vote
Copy user data into custom table on user registration
You can create plugin with user onUserAfterSave function and put users data in whichever table you need
You can see example in /plugins/user/profile/profile.php
1
vote
Ajax call returns html baggage
in your php file there should be something like this:
ob_end_clean();
header('Content-Type: application/json');
echo json_encode($data);
die();
so you will clean output - warning and notices
set …
1
vote
Is it possible to insert a view of a component into an article or into the template without ...
Check an extension called "Components Anywhere" by Regular Labs. It works by adding the following text werever you want to load your component:
{component url/of/the/component}
And no, there's no o …
1
vote
How do I write an install.script.php file to install multiple components, modules and plugins
You don't need to, just use built-in feature: package
https://docs.joomla.org/Package
0
votes
unplublish article showing on frontend for every one
It sounds like you're logged in at front-end, try to go with browser in incognito mode and check if issue appears.
0
votes
How to override/customize pagination links?
There is the issue with joomla pagination - you need to keep track of both start and limitstart as far as I know, because pagination link is:
<a href="#" onclick="document.adminForm.limitstart.value= …
0
votes
What does 'lft' and 'rgt' do in #__menu table?
If need real info about it - see Wiki "Nested Sets"
Concerning Joomla and adding menu items via custom PHP - it's simple if you use what provided here https://docs.joomla.org/Using_nested_sets
Concerning …
1
vote
Get date value with jinput
Try to change it to:
"+$dt days"
Also, I may be wrong but, I believe you must provide dates in correct order as if dates diff is <0 then it would return 0 which corresponds to 01/01/1970
1
vote
Change default selection on drop down menu
Either you need to have
$tickettype->unlimited_seats = 1;
or just
echo JHtml::_('select.genericlist', $unlimited_seats_options, "ticket_type_unlimited_seats[]", 'class="chzn-done jticket_access" o …
0
votes
porting data from mysql to another mysql database
You can simply create 3 MySql queries (if it's not custom DB tables) like
"insert ... select ..."
so it will select data as you need it and insert into another table in 1 transaction so migration of …