Joomla Virtuemart – Change Sales Price Without Tax Text to What I Want

On a virtuemart project I wanted to show the Sale Price without Tax; however, I just wanted the text to read “Price”.

Joomla Language Extension to the rescue.

In the admin area go to Extensions >> Language >> Language Overrides.  Click new to create a new override.

For my case I found the “constant” in the “prices.php” file in the “Components\com_virturmart\sublayouts\prices.php”. In there the constant is listed as “COM_VIRTUEMART_PRODUCT_SALESPRICE_WITHOUT_TAX”.

I used the following tutorial from InMotion Hosting to figure this out.

http://www.inmotionhosting.com/support/edu/joomla-3/languages/overrides

I hope this helps someone else out there…

 

[Solved] – Joomla – Error displaying the error page: The apc Cache Storage is not supported on this platform.: The apc Cache Storage is not supported on this platform.

I got this error after upgrading the clients PHP version from 5.4 to 5.6 on Godaddy shared hosting. I couldn’t get back into the site after that. I would just get the following error on the front and back end.

Error displaying the error page: The apc Cache Storage is not supported on this platform.: The apc Cache Storage is not supported on this platform.

This article helped me get the site working again:  http://stackoverflow.com/questions/38348225/an-error-has-occurred-0-the-file-cache-storage-is-not-supported-on-this-platfor

In the config file I deleted out “apc” in the cache handler. FTP’ed the configuration file back up the site and working again.

I hope this helps someone else out there….

 

[Solved] – Not Getting Emails From Website or This sender failed our fraud detection checks and may not be who they appear to be

This issue started with website owner stopped getting emails from a recently moved website. Domain name is with Network Solutions, Hosting is with Godaddy, and email is through Office 365.  The issue only happened when the email address it was going to was within the same domain. For example “john.doe@somewhere.com” wasn’t getting email from the website with the domain “somewhere.com”.

The answered lied with the Office 365 SPF setting. I had the add the ip address to SPF record in Network Solutions.

spf_record_1

This got the email to be delivered to the client; however, there was a warning in the email.

This sender failed our fraud detection checks and may not be who they appear to be.

I contacted Office 365 tech support. They had me add the Godaddy smtp server as well as the IP address. We used a website http://www.spfwizard.net and build the SPF txt file.

spf_record_2

The final SPF entry:  v=spf1 mx ip4:000.000.000.000 a:spf.protection.outlook.com include:smtp.sercureserver.net

The IP address isn’t 000.000.000.000 of course. Just use the IP of the hosted website.

I sure hope this helps someone else out there….

Correction:

Turns out the top method isn’t what I needed although I don’t think it is bad to have. What I needed to do is the following:

  1. Go into the Godaddy Webhosting CPanel.
  2. Go down to “Email”.
  3. Click on MX Entry.
  4. Remove old MX Record which comes standard with new hosting.
  5. Add your Office 365 MX Record.
  6. Change to “Remote Mail Exchanger”

Cross your fingers….

Solved – Office 365 / Outook.com Not Receiving Emails From Website Form

Finished a site that is on Godaddy hosting, Domain is with Network Solution, and the Email is with Microsoft Office 365 Online.  The issue was the customer wasn’t receiving emails from the forms on the site.

The form would send to any email address except the clients email address. I contacted Microsoft and got wonderful help.

The fix was to use their “@theirdomain.onmicrosoft.com” email address and not the alias.

Microsoft told me it took them 3 days to determine this fix.

I really hope this helps someone else out there….

 

 

Joomla – The MySQL server is running with the –read-only option so it cannot execute this statement SQL=DELETE FROM `#__session` WHERE `time` < '1479401841'

After deleting the website in fear it was attacked I discovered this article about simply deleting and adding back the sessions database.

http://serversideguy.com/2011/08/29/how-do-i-fix-a-corrupt-joomla-jos_session-table/

This may have been my fix. If I have time I will try to restore what I have, see if I get the same error, and see if this fix helps.

I hope this helps someone else out there…

 

 

Joomla Virtuemart – Warning, the Safe Path is not accessible

I am setting up a new virtumart store and got some errors I needed to work through, so I am documenting them so I don’t forget these setting again.

ERROR: “Warning, the Safe Path is not accessible (does not exist or no permission), for safety reasons it is very important to create a folder in a path not accessible by an URL, create also a folder invoices in it to store your sensitive data secure. Our suggested path is for your system home/user/name the directory/, use this link to the config”

This YouTube video helped me get this part resolved.

 

The next error was: “vmError: The path for invoices seems to miss the correct file permissions Safe Path /” and the path was my Safe Path I just fixed.

This will fix itself when you re-save the configuration, because it will add the folder called “invoices” if it didn’t exist.

I hope this helps someone else out there…

 

Joomla 3.X – Log Out And Return To Home Page

I used this set up to for logging users out of Joomla and return them to the home page.

  1. I installed Sourcer plug-in to run some PHP. Just a great plug-in to use any ways.
  2. I create a link in the main menu and set it to registered, so once the login in it shows.
  3. Create an article called “logout” and add the following code to that page.

{source}

<?php

$mainframe =JFactory::getApplication(); $mainframe->logout();

$allDone=&JFactory::getApplication();

$allDone->redirect(‘/’);

?>
{/source}

I hope this helps someone else out there…

 

JCE Mediabox – Popup Icon Set To No But Still Showing

I installed the recent beta of the JCE’s Mediabox because Ryan is working on a responsive version. It is working well; however, I was having an issue making the Popup Icon not show. I set it to not show, but it showed up anyways.

jce-mediabox-icon

I was able to get it to not show by adding the following to my CSS.

.wf-icon-zoom-link {
display:none;
}

I discovered you can disable this globally by going to  Extensions >> Plugins  >> Mediabox 2 >> Options Tab.  Set Zoom/Popup Icons to No.

I hope this helps some else out there…

 

[Solved] – Chronoforms Dropdown Selected Item

Working a Joomla! 3.6.4 site and using Chronoforms V5 the customer wanted a dropdown item to start in the middle.

chronoform_dropdown_preselect

It was easier than I thought.  Here is what I had to do in the back end.

In the form designer I selected the dropdown element and added the Options item value I wanted to be the selected it, and added that in the “Selected Values”. The option I was looking for was the 100,000.

chronoform_dropdown_preselect_admin

I hope this helps someone else out there….

 

 

chronoforms multi-select Checkbox Group Last Item Only

I used Chronoforms to build a form that had checkboxes where a user could select more than one option; however, when it got submitted and I got the email only the last item showed.

I found this article, but I was still didn’t understand.

https://www.chronoengine.com/forums/posts/f2/t102571/i-cant-get-multiselect-to-work.html?hilit=use+checkboxes

Bob Janes was mentioning to the other user to use “[]” in the field group name. I didn’t find any “group name”, just the name of the field in the chronoforms element.  The first time I added it there it didn’t work but eventually it was working. So below is an image of what and where to add the “[]”.

chrono_multi_checkbox_1

I also used a “array handler” element from Chronoforms. It is in the basic setup section.

chrono_multi_checkbox_2

Make sure the “Array handler” is above the email container.

I hope this helps someone else out there.