News:

Support the VirtueMart project and become a member

Main Menu

NO MORE THEME. 2+ uses VIEWS (Layout Override)

Started by PRO, September 14, 2011, 21:28:43 PM

Previous topic - Next topic

jey09

Hi people,

I want to put the name of the product and the manufacturer of the list view of the products when you click a category , but I don't know where in the view folder is this, in order to change it.

i'm trying to change the php file in \templates\ot_bicyclegreen\html\mod_virtuemart_product\default.php too, but when I tried to put the complete short description, or the name  but I cant, I put:

Short Description

<?php echo $product->product_s_desc ?>

where before was
<?php echo shopFunctionsF::limitStringByWord($product->product_s_desc, 40, '...') ?>

but it still having the description with final "..." and stripping the text.

I also edit the default php from C:\Users\mt-2010-3\Desktop\Web\Mowes\www\Pruebas\components\com_virtuemart\views\category\tmpl ,  but nothing happen

I use virtuemart 2.0.20b and joomla 2.5,

what more can I do to see all the short description and manufacturer and product name in product list?

Help please!
thanks!

PRO

Quote from: jey09 on March 28, 2013, 10:41:04 AM
Hi people,

I want to put the name of the product and the manufacturer of the list view of the products when you click a category , but I don't know where in the view folder is this, in order to change it.

i'm trying to change the php file in \templates\ot_bicyclegreen\html\mod_virtuemart_product\default.php too, but when I tried to put the complete short description, or the name  but I cant, I put:

Short Description

<?php echo $product->product_s_desc ?>

where before was
<?php echo shopFunctionsF::limitStringByWord($product->product_s_desc, 40, '...') ?>

but it still having the description with final "..." and stripping the text.

I also edit the default php from C:\Users\mt-2010-3\Desktop\Web\Mowes\www\Pruebas\components\com_virtuemart\views\category\tmpl ,  but nothing happen

I use virtuemart 2.0.20b and joomla 2.5,

what more can I do to see all the short description and manufacturer and product name in product list?

Help please!
thanks!


you are editing the product MODULE

please look at this picture


romeo2die

Where to put the vmsite-ltr.css? inside

templates/MYTEMPLATES/css?

Can anyone confirm this for me?

AH

I prefer to use a separate CSS file, calling it something like vm-mods.css and only put in this the elements I am overriding, plus any new elements I make (and there are a few of those, lol!)

That way I know what I have "adjusted" and do not load the total css elements twice for VM.

This should go in the:-
root/yourtemplate/wherever your template gets its css files from

You need to load it in the default template, otherwise it will just be ignored!
e.g. for beez5
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/css/vm-mods.css" type="text/css" />

Regards
A

Joomla 4.4.5
php 8.1

servlet

How to override com_virtuemart/views/askquestion/view.html.php
it is not in tmpl folder?
Он-лайн магазин за фототапети http://mishelfoster.com

Maxim Pishnyak

You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

kelecz

Quote from: PRO on September 20, 2011, 20:06:16 PM
Link the picture to the flypage from the category Page

Hello, thx for Ship plugin, works in a minute. I need it for different weight prices in same country.

I am pretty new and do not know any php coding, little css. I want to put in same line Ask about question (Povprašajte o izdelku) and Social b. module. In this situation they are both in position 2 on my template but module is going cross over product description text or it is ok when there is no description.

Virtue 266
Joomla 2522
localhost




[attachment cleanup by admin]

GJC Web Design

1.  Please don't post on the end of a 7 page general discussion on VM templating - make your own topic labeled with your question

2. http://forum.virtuemart.net/index.php?topic=104795.0

3. this is a standard html/css question which you should easily be able to fix with this post:  http://forum.virtuemart.net/index.php?topic=102850.msg341610#msg341610

hint: all it needs is some css clearing - but as no live site etc can't help more

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