I'm in Module Manufacturer List View (index.php?option=com_virtuemart&view=manufacturer) ... if i put the "... print_r ..." php code to see the command list \templates\mp5\html\com_virtuemart\manufacturer\default.php
But I cant see anything to view that option ...
and with the link in One Manufacturer Brand (id 2) ( index.php?option=com_virtuemart&view=category&virtuemart_manufacturer_id=2 )
is different that comming from the normal Product Categories the url ( index.php?option=com_virtuemart&view=category&virtuemart_category_id=2 )
............................
this Manufacturer Page doesnt show to the Header Title Name of Manufacturer too...
only displays this in html: <h1></h1> .. :|
any solution to solve this?!
I'm trying to apply in Manufacturer Name (Page view) one Menu with the Category Listing view option... but its too complicated to know the php command to call that...
Best I can do is this
<?php if ( JRequest::getInt('virtuemart_manufacturer_id')!='0') {
$document = &JFactory::getDocument();
$titled = $document->getTitle();
$titled= str_replace( 'TEXT-TO-STRIP', '', $titled);
echo $titled;
}
?>
The code grabs the page title, and then strips the "Store Name, or sitename out of it, and then echos it
Change The "text to what you dont want
hummm.. i think that i've found the reason for this problem in the com_virtuemart/views/category/default.php file here:
<div class="browse-view">
<h1><?php echo $this->category->category_name; ?></h1>
This only displays the Category Name! Not the Manufacturer Name...
So if you will use the Module VM Manufacturer ... and you try to see the Manufacturer Title Name you'll wont get that name in the page ... and will give you a empty area <h1></h1> with no name of the Brand ..
Update: I've tryed to add this:
<h1><?php echo $this->category->category_name; ?><?php echo $this->manufacturer->mf_name; ?></h1>
this:
<h1><?php echo $this->category->category_name; ?><?php echo $manufacturer->mf_name; ?></h1>
and even this:
<h1><?php echo $this->category->category_name; ?><?php echo $mf_name; ?></h1>
but doesnt work!
now i confirm that its a bug in all VM2 websites... there is no Title in Manufacturer Product view
you could see that Empty <h1></h1>
i checked others VM2 websites online:
http://devshop.bellussi.com/index.php/component/virtuemart/produttore/belcanto
http://www.lpctents.com/component/virtuemart/manufacturer/brookstone
http://www.linelab.org/virtuemart-templates/index.php/virtuemart-2-example/manufacturer/manufacturer-example
http://www.flexiblewebdesign.com/virtuemart-2-template-fashionmart/virtuemart-frontpage/manufacturer/calvin-klein
etc....