News:

Looking for documentation? Take a look on our wiki

Main Menu

Tutorials?

Started by Setup1337, November 07, 2011, 14:45:12 PM

Previous topic - Next topic

Setup1337

I am pretty confused on how VirtueMart templating works. Are there any good tutorials?

One of my main questions is that how do you actually display a VirtueMart component in the website? What do you have to write into the index.php file? If it is jdoc:include then what do you have to put in the name="" and type="" field? Are the names that you have to put there changeable somewhere?

PRO

http://forum.virtuemart.net/index.php?topic=90935.0
http://forum.virtuemart.net/index.php?topic=92756.0


ALSO; are you building a joomla template from scratch?

include "component" just like any other joomla component

Setup1337

#2
Yes I am building the template from scratch because the website is going to be very specific.

What do you mean by "include component"? I'd really like a specific instruction on, for example, how to display the product categories as a menu list on the side of my site.

PRO

there is a module that comes standard with vmart. It will show all the categories.


Setup1337

But how EXACTLY do I implement it? What line do I have to write into the index.php file?

PRO

Maybe its best for you to choose a standard joomla template, and customize it.

BUT, this might help.
http://www.barryflood.com/blog/34-blog/94-tutorial-creating-a-joomla-17-compatible-template.html

zorkhh

<jdoc:include type="message" />
<jdoc:include type="component" />

... there are good books available about creating Joomla Templates.

Or take one of the default J! Templates and check how they work.
Virtuemart Professional Support at http://www.vm-expert.com

Visit the large Virtuemart Group on Joomla.org: http://people.joomla.org/groups/viewgroup/30-Virtuemart.html

Setup1337

I have made a Joomla website before, I know about jdoc:include. What I wanted to know is how to I use VirtueMart with it. For example, to show the category listing as a menu on my website (with exact instructions).

This is the website I made (it is not completely finished), in case you don't believe that I've made one http://sinipixel.ee/Finnframe/index.php/et/

zorkhh

You don't need to add special commands to the index.php for Virtuemart. It is loaded just like any other component.

You should at least add a Virtuemart menu item and activate one of the virtuemart menu / category modules in an active module position.
Virtuemart Professional Support at http://www.vm-expert.com

Visit the large Virtuemart Group on Joomla.org: http://people.joomla.org/groups/viewgroup/30-Virtuemart.html

Setup1337

I must be pretty stuck with standard templating because I am not following you. What I understand is that including a component means that you are including the article linked to that page?

If you use "jdoc:include component" (pseudocode) doesn't that simply show the article for that site in that particular position? How do you tell VirtueMart where you want the menus to go, where you want the products to go, etc.?

PRO

This   <jdoc:include type="component" />

IS DYNAMIC, so it will include virtuemart on virtuemart pages, and content on content pages.


PRO

go into your menu manager, and click NEW menu item. CHOOSE virtuemart default layout as the type

Setup1337

I will see what I can do.

Do you happen to have MSN or something though? This website I am making might spark a lot of questions, so it would be really good if I could directly ask questions. Thanks in advance.

PRO

NO, I only help in the forums. Sorry.


Setup1337

#14
Oh, okay then.

Your next post will be your 6,000th :)

I wrote the jdoc:include component into the div that has must have the category listing with Joomla menus as well, and as I expected, nothing showed up in there. Could you tell me specifically what I have to do?