Make a popup link to content article in php - virtuemart

I want to have a INFO button on my cart template wich shows a popup whith the content of a article.
In the article is more information about ordering products.
So no images just plain text.
I found out that it can be done with MODAL.
But this
{modal url="http://www.youtube.com/embed/W0FOZ0-VpcU}{/modal}
in the php won't work.
How can I do this?
Joomla 2.5.11 an Virtuemart 2.0.20b

Related

Joomla Insert Content into product details

I use VirtueMart. I need to add some content to product details page to specific DIV. I cant only change template. I need to do this by php because it will be Joomla plugin.
Look at the override system for customizing Joomla, it also applies to Virtuemart. You can add code or simple html to the product details page and place it in the templates HTML folder (where overrides go).
If you only wish to have this on some products, you can have that product details file named something other than default.php and then it will be available to select as the layout to use in the Virtuemart product edit screen.

Suggestion for designing product page in Wordpress

I have a wordpress website and I am looking for the plugin suggestions for my Products page. I want that when user clicks on any company name on the Products page, a page like SubProducts should open up. On the 'SubProducts' page, there is a sidebar on the left. When user will click on 'Drills' in the sidebar, content should load in the 'Main Content' on the SubProducts page.
When user clicks on next product, it's content should load in the Main Content. I vaguely know that AJAX is useful for such purposes when we don't want to reload the page again.
Is there any plugin for this requirement. I don't want ecommerce plugins as I am not selling the products here.
I am also looking for some resources for implementing this in AJAX, I have found some pages but they are not doing what I want.
Please suggest.

How do I create a custom page in Joomla 1.5

I have a website here that I need to create a custom page where in I can call the header and the footer as well as the sidebar.
If you're going to do it in Wordpress its easy as this link says:
https://developer.wordpress.org/themes/template-files-section/page-template-files/page-templates/
However, Joomla is a bit different on this one. If I will try to add a new article I wont be able to customize the layout that I want. Let's say in the custom page I want to create I don't want the footer to show up and I want to add internal CSS on it which is possible on Wordpress custom page.
Any idea how do the same thing Joomla 1.5??
Thanks!

joomla virtuemart customization

Is there any possible solution to develop this http://www.tailorstore.co.uk/tailor-made-shirts
kind of functionality in joomla virtuemart like any component or module available for this attributes ?
There is any possible solution with Joomla. Simply create a component that has the buttons and javascript to edit the image on the page you've shown there - and pass it all across into a virtuemart cart.
In terms of clicking on a button and changing the image - this is pretty basic javascript. See this How to add product to virtuemart Cart without saving to darabase? About adding a product into the virtuemart cart outside of virtuemart
Or use a simple shopping cart module like this: http://extensions.joomla.org/extensions/e-commerce/shopping-cart/10116
In terms of an existing component changing the images like on your site the answer is no it almost certainly doesn't exist - but that's the beauty of Joomla - being able to build it easily.

Joomla: homepage url

Joomla requires that home page was linked with some component.
So, if i link menu item of homepage to some article, i get a url like:
"index.php?option=com_content&view=article&id=68&Itemid=464" on frontend.
How to link homepage to "/" ?
UPD:
Joomla verion 1.7
Maybe, i not accurately explained.
I link home menu item with some article.
When i go to www.mysite.com - all fine, choosen article is shown on homepage.
But then the home menu item on frontend became "index.php?option=com_content&view=article&id=68&Itemid=464", not just '/'
You must use the default Joomla format for setting something as the "home" page. in 2.5 (since you failed to tell us which version you're running) you do this by using 'featured articles'. By default, any featured article is displayed on the homepage.
In older versions (1.5) you must mark it to display on the 'front page'
In doing that when you go to http://www.yoursite.com/ - you will see the articles listed as 'featured' or 'front page' articles. You can adjust how they display by using the front page or featured article manager.
I apologize if I've misunderstood your question - but hope this helps. It also looks like you don't have SEF URL's turned on - you may want to look into that. Regardless your front page will display without any additional URL stuff if you use the methods outlined above.
In your menu manager (backend), create a new entry for 1 article and select it in the list. After that, just define this new menu entry as default (or homepage).
This article will be the default homepage of your website and will be accessible via www.yoursite.com/

Resources