Author Topic: NO MORE THEME. 2+ uses VIEWS (Layout Override)  (Read 247510 times)

jey09

  • Beginner
  • *
  • Posts: 22
Re: NO MORE THEME. 2.0 uses VIEWS (Layout Override)
« Reply #90 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!

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10442
  • VirtueMart Version: 3+
Re: NO MORE THEME. 2.0 uses VIEWS (Layout Override)
« Reply #91 on: March 28, 2013, 16:02:15 pm »
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

  • Beginner
  • *
  • Posts: 22
    • www.klikmcc.com
  • VirtueMart Version: 2.0.20b
Re: NO MORE THEME. 2.0 uses VIEWS (Layout Override)
« Reply #92 on: August 07, 2013, 10:07:20 am »
Where to put the vmsite-ltr.css? inside

templates/MYTEMPLATES/css?

Can anyone confirm this for me?

AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3514
  • VirtueMart Version: 4.0.12.10777
Re: NO MORE THEME. 2.0 uses VIEWS (Layout Override)
« Reply #93 on: August 07, 2013, 13:10:29 pm »
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
Code: [Select]
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/css/vm-mods.css" type="text/css" />
Regards
A

Joomla 3.10.11
php 8.0

servlet

  • Jr. Member
  • **
  • Posts: 353
  • Business optimization
    • Фототапети
  • VirtueMart Version: 3.2.2
Re: NO MORE THEME. 2.0 uses VIEWS (Layout Override)
« Reply #94 on: November 09, 2013, 21:29:06 pm »
How to override com_virtuemart/views/askquestion/view.html.php
it is not in tmpl folder?
I am using: Joomla 3.7.2 VM 3.2.2
Он-лайн магазин за фототапети http://mishelfoster.com

Maxim Pishnyak

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2656
Re: NO MORE THEME. 2.0 uses VIEWS (Layout Override)
« Reply #95 on: November 22, 2013, 20:13:20 pm »
With the help of own plugin.
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

  • Beginner
  • *
  • Posts: 49
    • Staffy
Re: NO MORE THEME. 2.0 uses VIEWS
« Reply #96 on: June 13, 2014, 14:14:58 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]
staffy.mrpet.rs

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10803
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.8.8
Re: NO MORE THEME. 2.0 uses VIEWS (Layout Override)
« Reply #97 on: June 13, 2014, 14:59:42 pm »
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
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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