Author Topic: NO MORE THEME. 2.0 uses VIEWS (Layout Override)  (Read 161583 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: 10272
  • 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

I do NOT do development work for hire.

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: 2624
  • VirtueMart Version: 3.2.5
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.8.2
php 5.6 + php 7

servlet

  • Jr. Member
  • **
  • Posts: 331
  • 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

  • Virtuemart 2 is quite bugfree now
  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2657
  • Virtuemart 2 is quite bugfree now
    • Virtuemart Ukraine division
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.
Virtuemart 2 is quite bugfree now. You can support Community by voting for Project on the JED
http://extensions.joomla.org/extensions/e-commerce/shopping-cart/129/review
Join us in
https://www.facebook.com/virtuemart
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: 7596
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.2
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 http://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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation