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…

 

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.

 

JS Jobs – Not Displaying Company Logo on Job Search

I am taking JS Jobs component out for a test drive. I posted a few test jobs from a test company and logo doesn’t show on the jobs page.

I was able to get this to work by doing the following.

In the file “components/com_jsjobs/views/job/joblisting.php” line 75,  I added the following.

<img src="'. $path  .'">'

The whole line now looks like

$html .=        '<div class="js-image"><img src="'. $path  .'">';

I hope this helps someone else out there…