News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

In Product Details view -no space between "Manufacturer" and company's name

Started by Cyber Beginner, June 24, 2016, 16:46:27 PM

Previous topic - Next topic

Cyber Beginner

Joomla! 3.5.1 / K2 v2.7.0 / VirtueMart 3.0.2

In Product Details view -no space between "Manufacturer" and company's name.
Do you have any idea, how could I solve this issue? (see attachment)

Thanks in advance for your help.

jenkinhill

Use Firebug to see what css to use.  http://forum.virtuemart.net/index.php?topic=116620.0

You should use VirtueMart 3.0.16 with Joomla 3.5.1 or VM emails won't work. Test on a backup as it looks like you are using a commercial template.  http://dev.virtuemart.net/projects/virtuemart/files
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Cyber Beginner

Thanks for your response.
I already downloaded the recommended version of VM and I'd install it.
Sorry for my basic questions but I'm really very beginner.
I tried to solve this issue with Firebug, I didn't find any css which could be responsible for the missing space. I tried to find this text in different language files as well, but I didn't find it.
On the left side of Firebug (see attachment), I found the text "Manufacturer" and when I insert a space after the word, I have screened instead of "ManufacturerCompany Name" the "Manufacturer Company Name" result – what I'd like.
The only one problem: I don't know how to save this change – or where could I edit this code (seems to be html)?
Can you help me?

GJC Web Design

overwrite components\com_virtuemart\views\productdetails\tmpl\default_manufacturer.php
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Cyber Beginner

Thanks for your response.
My php file you recommended to change can you see below, I couldn't figure out what I have to overwrite for getting the solution of my problem.
Could you help me?


<?php
/**
 *
 * Show the product details page
 *
 * @package VirtueMart
 * @subpackage
 * @author Max Milbers, Valerie Isaksen

 * @link http://www.virtuemart.net
 * @copyright Copyright (c) 2004 - 2010 VirtueMart Team. All rights reserved.
 * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
 * VirtueMart is free software. This version may have been modified pursuant
 * to the GNU General Public License, and as distributed it includes or
 * is derivative of works licensed under the GNU General Public License or
 * other free or open source software licenses.
 * @version $Id: default_manufacturer.php 8610 2014-12-02 18:53:19Z Milbo $
 */
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die('Restricted access');
?>

<div class="manufacturer">
    <?php
    $link 
JRoute::_('index.php?option=com_virtuemart&view=manufacturer&virtuemart_manufacturer_id=' $this->product->virtuemart_manufacturer_id[0] . '&tmpl=component'FALSE);
    
$text $this->product->mf_name;

    
/* Avoid JavaScript on PDF Output */
    
if (strtolower(vRequest::getCmd('output')) == "pdf") {
echo JHtml::_('link'$link$text);
    } else {
?>

        <span class="bold"><?php echo vmText::_('COM_VIRTUEMART_PRODUCT_DETAILS_MANUFACTURER_LBL'?></span><a class="manuModal" href="<?php echo $link ?>"><?php echo $text ?></a>
    <?php ?>
</div>

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Cyber Beginner

[SOLVED]

Awesome!
Problem is solved.
Thanks for your help I really appreciate it!
:)