Questions tagged [joomla-3.4]

For question regarding Joomla 3.4.x of the Content Management System only. Joomla 3.4.x is a STS (Short Term Support) version. Support ends one month after the next release of Joomla is released. One click upgrades to the next STS or LTS version is possible.

Filter by
Sorted by
Tagged with
4
votes
2answers
3k views

How can I use google recaptcha in my custom page?

1) Get recaptcha keys from http://www.google.com/recaptcha 2) Set these keys to recaptcha plugin and activate it if it's not. 3) Put below code where you want to show recaptcha php code: ...
0
votes
2answers
340 views

I can't access the control panel in joomla 3.4

Trying permits users, the next problem arose me; I can access the backend with my super user keys, but not visualize when accessing the control panel of joomla, only information about users, but not ...
1
vote
1answer
540 views

Parent menu item not marked if sub menu item is active

As the title says, when one of sub menu items is active, parents of that item are not marked in any way. I'm using latest default Joomla and stock menu module without any overrides and mods. I ...
1
vote
1answer
263 views

Need to Change the Default URL on Mobile Joomla

As you can probably see in my previous queestions, I'm new to Joomla with less than a year's worth of experience. I'm looking to start building out Mobile pages - but a previous developer left me in a ...
0
votes
1answer
761 views

VM - custom payment plugin and payment methods do not work

I can't make my VM payment plugin to work at joomla v3.5.0 and virtuemart v3.0.12. I've install a custom payment plugin. Initially it worked, yet the same time other payment methods (when invoked) ...
0
votes
1answer
159 views

Convert from MySQL query using SUBSTRING_INDEX into Joomla API query?

I have a query which gets the information that I want using SUBSTRING_INDEX in MySQL. I am trying to convert this to use the Joomla query building syntax, but I am not sure how it should be formatted? ...
0
votes
3answers
166 views

Removing /index.php/ from URLs in Joomla 3.x leads to Error 404

I want to remove /index.php/ from the URLs in Joomla 3.x. I enabled "Use URL Rewriting" in the configuration. It removed the /index.php/ but leads to error 404. Except for the home page.
8
votes
2answers
2k views

Redirect users to the last page visited, after login from component

In Joomla 3.5.1, I want to redirect users to the page they were before logging in. If they login from mod_login, no problem, since the module is pending from the top menu, they just stay at that ...
6
votes
1answer
367 views

Joomla singular and plural view names

Is there a built in functionality available in joomla to determine the view name to plural? I created 2 views as 'delivery' and 'deliverys'. The view 'delivery' is to display the records in a list ...
1
vote
2answers
4k views

JFolder::create: Path not in open_basedir paths - Unable to create destination

I have been having a few problems installing an application called DB Replacer. I keep on getting the error “JFolder::create: Path not in open_basedir paths Unable to create destination” It was ...
0
votes
1answer
128 views

Docker compose Start command throwing "No volume error"

I am working on deploying a Joomla application on a Linux server using Docker. When I use the docker-compose start command, I get the following error: "Cannot start service joomla-1: get ...
3
votes
3answers
383 views

Access Levels Explanation Joomla 3

Can someone please explain the rights given to users that are assigned any of the following access levels shown in the image. Cheers Carlton
0
votes
1answer
32 views

Inspect Page Doesn't Reflect Color on Web Page

I am driving to change the background color where it says Module1:Initial Configuration. I have changed the css to 0088cc as shown in the image, but the color blue doesn't show on my web page. The ...
5
votes
1answer
3k views

Adding class to content 'Read More'

I want to add a class to the Read More link found in //components/com_content/views/category/tmpl/blog_item.php I want the class to be: <a class="btn btn-primary readmore-link"> But I can't ...
1
vote
5answers
3k views

Article - "Read more" button -> Link to other article

I want to do something similar as asked in this question: How to create teaser articles on home page with "read more" link to article page How ever with the difference that I want to ...
1
vote
3answers
1k views

Location detection in joomla

I have implemented multilingualism in my joomla 3.4.5 website. I have two languages, french and English. I would like to make it possible that when a user logs onto this website the site automatically ...
2
votes
2answers
352 views

Broken website due to outdated installation and host php upgrade - how to migrate/upgrade manually?

My father maintains a website for my sisters small business, recently he has been unable to login and the website only gives a blank page. Upon a little digging on my end I have found out his host ...
1
vote
1answer
965 views

Joomla-Development: Set default view

I would like to set up a default view. If my component gets called by using administrator/index.php?option=com_bestia&view= I'm getting the error: 404 View not found [Name, Typ, Präfix]: bestia,...
2
votes
2answers
582 views

Joomla 3.4.x to 3.6.4 Update and invalid security token on front-end login

I have to update a Joomla 3.4.7 site. I did first a localhost update to test - everything worked fine. But now on the live site I am not able to login in the front-end. I am getting the invalid ...
0
votes
4answers
854 views

Remove form fieldset

I am trying to remove a fieldset from a form. I have not found a function that does this, so I do it through an array to remove them individually. $infofield = $form->getFieldset('company'); ...
0
votes
1answer
309 views

Problem with 2 slide show

SP Smart Slider (optima slider): the image is not at the centered Unite Revolution Slider 2: the sub menu is hiding behind the revolution slider and it does not appear unless you scroll down. SP ...
1
vote
1answer
181 views

How to query for users from a specific user group?

I want to list only the users with a group_id value of 10. Why doesn't the following query work? $db = JFactory::getDbo(); $query = $db->getQuery(true); $query->select('a.id, a.name, a....
1
vote
2answers
513 views

Selecting data from 2 tables and inserting into a 3rd table

Could someone help me to create a query using the Joomla API? I've been going round in circles. What I have so far: <?php // Get a db connection. $db = JFactory::getDbo(); // Create a new query ...
1
vote
2answers
3k views

Check if items from an array exists in table and if not insert them into new records?

I have an array of image file names which i want to compare against a table in my DB, if the filename is not present then i want to insert it. I have started work on the insert statement, so i will ...
0
votes
2answers
428 views

How can I generate a csv file using query results and email the file as an attachment?

I am trying to email the results of a query as an attached .csv file to my admin email. The code correctly saves the .csv file, but the email is never actually sent. If I put the sendmail code into ...
0
votes
2answers
983 views

How to make a mysqli connection and execute a SELECT query in Joomla?

I am having an issue with a basic query in PHP. The query runs perfectly in PHPMyAdmin, but in the browser I am getting: Warning: mysqli_free_result() expects parameter 1 to be mysqli_result, ...
1
vote
2answers
2k views

How to fix Joomla site both frontend and backend shows error page (site down) after fix database?

I have Joomla 3.4.8 site (multilingual site) that shows this error on the front-end that said : **Fatal error:** Call to undefined method JLanguageMultilang::getSiteLangs() in **/mysite/public_html/...
2
votes
1answer
1k views

How to load and use external libraries in a component?

I am wondering how to load "external" php-libraries into my component. I would like to fetch mail via imap. To get this working, I would like to use a lib which is able to handle smime-encoded mails. ...
1
vote
3answers
2k views

Can't click next on new installation

Not the place I though I would get stuck. My web host (buddy) reinstalled his OS and since I had never really worked on the site much I opted to start over. He is using NGINX if it matters. Simple ...
0
votes
3answers
2k views

How to view joomla user in frontend with profile data?

I use Joomla 3.4.4 I would like to view list of users in front end. Along with username i need to view profile data, email and phone, in front end. Is there and extension/plugin/component available? ...
4
votes
0answers
1k views

Joomla An error has occurred. 0 JForm::validateField() rule `number` missing. Return to Control Panel

Got An error has occurred. 0 JForm::validateField() rule number missing. Return to Control Panel while tying to change email id and Name from mail settings in joomla's Global Configuration>...
4
votes
1answer
2k views

Joomla 3.4 login api - how to "remember" session

This works great for 3.4 Joomla. How do I keep the user logged in? i.e. "remember"? JPluginHelper::importPlugin('user'); $options = array(); $options['action'] = 'core.login.site'; $response->...
1
vote
1answer
3k views

The MySQL adapter 'mysql' is not available and session Warnings

I am getting the following errors: Database connection error (1): The MySQL adapter 'mysql' is not available. Warning: session_write_close(): Cannot call session save handler in a ...
1
vote
2answers
123 views

Joomla 3.4 custom fields names strange behavior in JForm

I'm working for FE component with form to make ability to user set some values to filter data from DB (ex: select, text). After user make submit these fields need to show values user have selected ...
2
votes
2answers
2k views

Show intro image in Category List

I added this line in my custom template to display the image: <?php echo $article->images; ?> And I got this as a result: {"image_intro":"images\/articles\/liang2.jpg","float_intro":""} ...
1
vote
1answer
30 views

How to execute custom php/mysql code after a user successfully logs in?

After a user logs in, I want to call a little mysql program. How and where (in what module eg. mod_login) do I place the code?
1
vote
3answers
1k views

How to get the generated id after a successful INSERT query?

I would like to get the id of the last saved dataset in a JTable-Operation. At the moment I got this: // Create and populate an object. $value = new stdClass(); $value->userid = (int)$...
4
votes
2answers
749 views

Get Timestamp from Database

I have data stored in a db table, with an auto timestamp. In a module I want to then display a result based on the latest timestamp. It's not working and I'm getting an error Warning: strtotime() ...
0
votes
1answer
634 views

Display Image via Imagick

I would like to display an image which is not accessible for users (.htaccess denies all). This is my source: header('Content-Type: image/png'); $filePath = ...
2
votes
3answers
414 views

Help chaining a query?

i am struggling to get the correct syntax for my query. The query is: $query = "SELECT product_sku FROM #__virtuemart_products WHERE created_on <= NOW();"; I currently have: $query ->...
1
vote
3answers
4k views

Unable to access /administrator in Joomla on localhost, error 403 forbidden access

I have received a zip file from someone which contain all the data for a Joomla site. And he asked me to do some CSS configurations to change the look of homepage. I unzipped the zip file an found a ....
5
votes
3answers
1k views

Load javascript script before </body> closing tag

I'm using $doc->addScript($path.'/js/script.js'); to load a Javascript file inside the head section. Is there any native way to load it in the bottom of the page, before the closing </body> ...
2
votes
2answers
401 views

Using tags: JTable::store() returns false

I'm using tags in my components. Hm, well - I would like to use them ;-) This is my form-declaration for tags: <field name = "tags" type = "tag" ...
0
votes
2answers
65 views

Assigning Users to Accesss Levels

Can someone please show me how to assign a user to the access level shown in image 'No Access2'? Carlton
5
votes
2answers
1k views

Remove 'Publishing', 'Language' and 'Metadata' options from frontend editor in Joomla 3.4

I would like to remove the 'Publishing', 'Language' and 'Metadata' options from the frontend. Does anyone know how this can be done? Any help would be greatly appreciated! Thank you!
4
votes
1answer
2k views

OAuth 2.0 Example

Joomla! 3.4.3 I'm looking for a working example on how to implement OAuth2.0 client code to Google, Facebook, etc. I understand (and see) a variety of OAuth classes in the Joomla! library hierarchy, ...
0
votes
2answers
247 views

Canonical issues- incorrect URL shown on home page

I'm having canonical issues with my website. When I visit the homepage, I see http//www.vincousa.com/?productsublayout=0 as the URL in my address bar. I would like http://www.vincousa.com as the URL. ...
2
votes
1answer
404 views

CSS/JS compression distorts the website template/look

My website has a score of 50/100 on pagespeed. I am trying to improve it's load speed. When i implement compression either via template (T3 template option)or JCH plugin the website completely looses ...
2
votes
1answer
5k views

How to add meta tags to a page header based on an url parameter?

Hello Joomla community, I'm forced to write a minimum Joomla (3.4.1) plugin that injects custom meta tags based on an URL parameter. It will be used to serve localized Facebook Open Graph stories. ...

1
2 3 4 5 6