VirtueMart Forum

VirtueMart 2 + 3 + 4 => Frontend Modules => Topic started by: zapiy on January 04, 2012, 17:01:44 PM

Title: Frontpage Modules
Post by: zapiy on January 04, 2012, 17:01:44 PM
Is it possible to display certain products via modules on the frontpage of joomla...

I have various modules but they only display, random/featured and so on.. I actually want to choose what to display.

Thanks
Title: Re: Frontpage Modules
Post by: Stephen Roberts on January 04, 2012, 17:58:52 PM
Isn't that what featured products is? You select which products are featured and they show up in the module.
Title: Re: Frontpage Modules
Post by: PRO on January 04, 2012, 18:30:45 PM
zapiy, im sure someone will create a "show product" module for 2.0.

There is not one available yet
I would keep a look out here
http://extensions.joomla.org/extensions/extension-specific/virtuemart-extensions/virtuemart-products-display



Title: Re: Frontpage Modules
Post by: zapiy on January 04, 2012, 19:09:58 PM
Quote from: Stephen Roberts on January 04, 2012, 17:58:52 PM
Isn't that what featured products is? You select which products are featured and they show up in the module.

I dont see any option within this module to select a certain product.

Quote from: BanquetTables.pro on January 04, 2012, 18:30:45 PM
zapiy, im sure someone will create a "show product" module for 2.0.

There is not one available yet
I would keep a look out here
http://extensions.joomla.org/extensions/extension-specific/virtuemart-extensions/virtuemart-products-display

Thanks for the link and info.
Title: Re: Frontpage Modules
Post by: PRO on January 04, 2012, 19:58:55 PM
zapiy, I started making a module after this post. It should be finished tomorrow

It has

Header Text
Name
Image
Price
Footer Text

It is a manual module, so you have to fill in the price, name, and link it to where you want.
Title: Re: Frontpage Modules
Post by: zapiy on January 05, 2012, 14:43:28 PM
Fantastic, cheers
Title: Re: Frontpage Modules
Post by: PRO on January 05, 2012, 17:54:49 PM

It works on J1.7 only. It shows 1 product.

http://www.kaizenmediaworks.com/virtuemart-20-show-product-module
Title: Re: Frontpage Modules
Post by: zapiy on January 05, 2012, 20:05:25 PM
Congrats on making the module.. Sadly i am running J1.5  anyway this can be converted please?

Thanks
Title: Re: Frontpage Modules
Post by: PRO on January 05, 2012, 20:27:55 PM
Quote from: zapiy on January 05, 2012, 20:05:25 PM
Congrats on making the module.. Sadly i am running J1.5  anyway this can be converted please?

Thanks


arggg, it can. It will take a couple days though. Its not hard, its just a matter of changing the xml file
Title: Re: Frontpage Modules
Post by: zapiy on January 05, 2012, 21:35:09 PM
Thank you soooo much fella, total noob with this program..

Thanks
Title: Re: Frontpage Modules
Post by: zapiy on January 08, 2012, 19:44:16 PM
Wondered how this was progressing fella.

Thanks
Title: Re: Frontpage Modules
Post by: PRO on January 08, 2012, 21:54:38 PM
Give a me until tuesday
Title: Re: Frontpage Modules
Post by: PRO on January 09, 2012, 18:11:32 PM
ok, its updated to work on j1.5 (i think) I dont have 1.5 on my development server, so you gotta test it.
Title: Re: Frontpage Modules
Post by: zapiy on January 09, 2012, 20:30:29 PM
I get this install when i try and install it.

Error! Could not find a Joomla! XML setup file in the package.

Thanks for doing it.
Title: Re: Frontpage Modules
Post by: PRO on January 09, 2012, 20:53:17 PM
you have to unzip the file, and then the installer is inside.

and there is a small css file, that you need to copy and place in your template css.
Title: Re: Frontpage Modules
Post by: zapiy on January 10, 2012, 14:50:12 PM
Yeah i did mate i extracted mod_show_virtuemart_product and used the extension install manager and it fails.
Title: Re: Frontpage Modules
Post by: PRO on January 10, 2012, 15:04:27 PM
try it now
Title: Re: Frontpage Modules
Post by: zapiy on January 10, 2012, 15:58:15 PM
Installs now but get this when editing the moduley JFolder::files: Path is not a folder.
Title: Re: Frontpage Modules
Post by: PRO on January 10, 2012, 16:29:27 PM
its fixed,

the problem is in the xml file. The part in bold was capitalized.

<params addpath="/administrator/components/com_virtuemart/elements">
   <param   name="layout" type="filelist" label="MOD_SHOW_VIRTUEMART_PRODUCT_LAYOUT"
                description="MOD_SHOW_VIRTUEMART_PRODUCT_LAYOUT"
                directory="/modules/mod_show_virtuemart_product/tmpl"
                default="default" hide_default="1" hide_none="1"
                stripext="1" filter="\.php$" exclude="^_" />


Title: Re: Frontpage Modules
Post by: zapiy on January 10, 2012, 17:31:58 PM
Cheers for this fella, sorry for being for a better word a Noob. Where do i put the CSS file exactly?
Title: Re: Frontpage Modules
Post by: PRO on January 10, 2012, 17:34:40 PM
in your template.css   file
Title: Re: Frontpage Modules
Post by: zapiy on January 10, 2012, 17:42:10 PM
So i modify the template.css file and add it to the bottom using notepad ++ or something similar?
Title: Re: Frontpage Modules
Post by: PRO on January 10, 2012, 18:35:53 PM
yes
Title: Re: Frontpage Modules
Post by: zapiy on January 10, 2012, 19:03:50 PM
Cheers mate, can i add a border around the module, pref a rounded corner one?
Title: Re: Frontpage Modules
Post by: PRO on January 10, 2012, 19:26:19 PM
I forgot to add this to the css file

.border {border: 1px solid #CCCCCC;border-radius: 6px 6px 6px 6px;}


wait, you mean for the single product and not the category feature layout?

if so, add this

.showproduct {border: 1px solid #CCCCCC;border-radius: 6px 6px 6px 6px;}
Title: Re: Frontpage Modules
Post by: zapiy on January 11, 2012, 14:26:56 PM
Thanks a lot for this.
Title: Re: Frontpage Modules
Post by: PRO on January 11, 2012, 16:05:30 PM
I just updated the module and added a "banner" field for the category feature layout
Title: Re: Frontpage Modules
Post by: zapiy on January 11, 2012, 17:18:50 PM
Nice one fella, will take a look.
Title: Re: Frontpage Modules
Post by: Venkko on January 12, 2012, 07:33:42 AM
Hi!

Could you give a link to site where this is so that I could see what it looks like?

thanks
Title: Re: Frontpage Modules
Post by: PRO on January 12, 2012, 13:41:05 PM
http://extensions.virtuemart.net/index.php?option=com_sobi2&sobi2Task=sobi2Details&sobi2Id=792&Itemid=2
Title: Re: Frontpage Modules
Post by: ShowLiFE on January 12, 2012, 19:49:17 PM
Hello
I recently installed this module (Joomla 1.7, VM 2.0.0),  http://extensions.joomla.org/extensions/extension-specific/virtuemart-extensions/virtuemart-products-display/18639 (http://extensions.joomla.org/extensions/extension-specific/virtuemart-extensions/virtuemart-products-display/18639) has considerable potential.
How to work horizontally can be seen http://www.termaltrade.si/trgovina (http://www.termaltrade.si/trgovina)
Vertically it http://www.termaltrade.si (http://www.termaltrade.si) left position.
Shows: product image, name, brief description, and link more.
You can select a specific category, selected products ....

Best regards Show LiFE
Title: Re: Frontpage Modules
Post by: coubilias on August 01, 2012, 08:30:50 AM
First to say that this is a handy module  :)

The only think I would sujest is the addition to the xml file of the following two parts

<params group="advanced">
<param name="cache" type="radio" default="0"
label="Enable Cache"
description="Select whether to cache the content of this module">
        <option value="0">No</option>
        <option value="1">Yes</option>
</param>
<param name="moduleclass_sfx" type="text" default=""
label="Module Class Suffix"
description="A suffix to be applied to the css class of the module (table.moduletable), this allows individual module styling" />
<param name="class_sfx" type="text" default=""
label="Menu Class Suffix"
description="A suffix to be applied to the css class of the menu items" />
    </params>



and

    <fieldset name="advanced">
<field name="cache" type="list"
default="1"
label="COM_MODULES_FIELD_CACHING_LABEL"
description="COM_MODULES_FIELD_CACHING_DESC"
>
            <option value="0">No</option>
            <option value="1">Yes</option>
</field>
<field name="moduleclass_sfx" type="text" default=""
label="COM_MODULES_FIELD_MODULECLASS_SFX_LABEL"
description="COM_MODULES_FIELD_MODULECLASS_SFX_DESC" />
<field name="class_sfx" type="text" default=""
label="Menu Class Suffix"
description="A suffix to be applied to the css class of the menu items" />
    </fieldset>



in order to be able to use the template overides.

Excellent work and I belive this is going to be need alot.

Title: Re: Frontpage Modules
Post by: Maciej on August 16, 2012, 13:36:34 PM
Hey, does anybody know, how to embed the certain I-frame from Youtube into the VM?
For example as a table in the desciption of categories, or somewhere else?
We have some products that have their own vids on Youtube and wonna to use them that way.
Its rather urgent for me to know, so please HELP! ???
Title: Re: Frontpage Modules
Post by: PRO on August 16, 2012, 16:42:17 PM
Quote from: Maciej on August 16, 2012, 13:36:34 PM
Hey, does anybody know, how to embed the certain I-frame from Youtube into the VM?
For example as a table in the desciption of categories, or somewhere else?
We have some products that have their own vids on Youtube and wonna to use them that way.
Its rather urgent for me to know, so please HELP! ???

You should be able to paste the source code in the description.

MAKE sure your JCE editor parameters allow it