Virtue Mart Joomla - joomla

I have my shop showing this URL when a user checks out.
index.php?page=checkout.index&option=com_virtuemart&Itemid=65&redirected=1&Itemid=65
for all the steps it does not show the checkoout_stage as i would expect below in the URL hence it ends up using the home template with the layout distorted
What i expect instead:
index.php?page=checkout.index&option=com_virtuemart&Itemid=65&redirected=1&Itemid=65&checkout_stage=1
index.php?page=checkout.index&option=com_virtuemart&Itemid=65&redirected=1&Itemid=65&checkout_stage=2
index.php?page=checkout.index&option=com_virtuemart&Itemid=65&redirected=1&Itemid=65&checkout_stage=3
index.php?page=checkout.index&option=com_virtuemart&Itemid=65&redirected=1&Itemid=65&checkout_stage=4

One common mistake that will give you this type of problem is not having a menu item for Virtuemat or the VM module published somewhere. You have to have a menu item for VM, even if its in a hidden menu, same with the VM module. Even if you put it in a hidden position you still have to have one and it needs to be published.
If that doesn't do it, we need a lot more information before we can help.

Related

Prevent "direct access" to menu items but keep them accessible when embedded in articles

I've been building a Joomla website for a couple of weeks now and having started with virtually zero Joomla and PHP knowledge I have to say I've been kind of fumbling my way through all of this. Anyway, I'm having a small "problem" and hope you guys can help me sort it out:
I'm using Plugin Include Component to embed content inside articles. Naturally, this content is associated with menu items. The thing is, I want these menu items to be accessible only through the articles in which they are embedded. This means that I want to somehow restrict direct access to the menu items, but still allowing users to see their content inside the articles.
For the sake of comprehension I'll try to be more graphic:
I have a Category Blog associated with menu item A.
By means of the plugin I mentioned above, I have A embedded inside article B. So far so good! When B is displayed, the category blog in A is also shown as a part of it. But I don't want users to be able to type B's url into the browser and access it directly, because it's detrimental to my site's structure and navigation. Obviously, unpublishing the menu item wouldn't help at all because it would cease to be visible inside the article.
My apologies if I didn't make myself clear. Any hints or tips?
Ok, as far as not being able to directly access the menu items for item A, just publish the menu item in a new menu that is not added to any module position. This way there are no direct links that the user can access through the front end.
As far as a user TYPING in the url for item A, you are out of luck. There is no way to prevent that. Once you have created the menu item, there is a URL which necessarily must be accessible. Using the hidden menu trick, the user would have to know that the URL exists to be able to get there, but it will be there if they know it. The way you are putting the site together the user shouldn't be to see the url so they will likely never type it in, but it would be possible.

Why my top menu dissappear when in register or reset page in joomla 2.5

I have created a custom joomla template based on blank joomla template from http://blank.vc/. Everything was fine until i clicked either forgot password?, forgot your username? or create account link that bring me to register or reset page in frontend but strangely the top menu was gone.
This is the screenshot :
http://i63.photobucket.com/albums/h145/affan2fly/menugone.jpg
i have no idea why this could happenned.
Please help with this. I appreciate all the help. Thanks!
The problem is because only on the pages selected option for module assignment is set. If you open a page which doesn't belong to any menu, then module won't be shown on it.
You can either check menu module to be shown on all pages, or make a new menu item for forgot password functionality, and then assign that menu for both menu module, and breadcrumbs module.
I don't know which Joomla version you're using and what you use for translation, but if you use Joomfish or Falang, language translation should be much easier.
If you don't use any of those, and you really need to leave everything as it is, then you can also detect current user language in the template, and load either one or the other menu module based on it. That way you can set module to be shown on all pages, and make sure it is displayed only for the choosen language.

Get preview link to article before publishing

In Joomla 1.5, I created an article. Before publishing it, I want to send a preview URL to my colleagues (they are not registered to Joomla).
I'm looking for something like adding task=preview to the URL and it would show the article.
It would be enough if the article would be normally published but would not be displayed on the main page in the latest news. I tried to set "Front Page" to "No" but without success.
How can I solve the problem?
Joomla! 1.5 doesn't have a feature like this and from the way it's built I'm not sure it's possible without modifying the core com_content files. You could try a search of the Joomla! Extension Directory to see if someone has implemented what you're after.
In the meantime if the article is turning up on the websites front page even when you've set it not to - then the front page must be using a Section/Category Blog page style rather than a Joomla Frontpage page. In this case you could find out which category is set to show on the menu item being used for the front page and then temporarily change your article to another that doesn't appear there.
Once you've got it in another Category you should be able to get a link to the article by doing a search from the front end (assuming you don't want to create a menu link).
try creating a new category called Preview and since that wouldn't have been assigned to any pages yet, it should not appear. If you have trouble finding the article then, you could temporarily publish it either on the home page or somewhere in the menu. Then when you have found and copied the url, you can remove the article from the home page or menu or wherever you temporarily have it appear.
If you should ever want several 'preview' articles appearing on one page, create a new menu item, assign it to the Preview category you made, and in System Parameters, click on Show Title: 'No' so it doesn't appear in the menu. I don't know about what shows up in Google for example so if it's sensitive data I can't say it won't show in search engines, it probably will.
It probably appears on the Front Page because as you say it's part of the 'latest news' module. You could also try removing it from the module feed, but a new category is what I'd do.
Paul
I just selected Section: "Uncategorised" and the article went out from the latest news. Hope it's not accessible any other way in the current setup (there is no search function hopefully). It's not a cleanest solution, but it seems to work.

display custom attributes on Virtuemart browse page

I need the browse page to show quantity box, custom attributes, and Add to Cart button all together.
It doesn't show it at all. Only when you go to the product page, you can see them.
Any solutions?
Thanks, Ahmed.
Ahmed, you'll have to modify the template directly to do something like that. VM uses a large number of template files written in PHP. If you're using the default template, you can find them here:
components/com_virtuemart/themes/default/templates/
From there, it takes a little looking around to figure out exactly which template you need to edit. If you need to edit a browse template, my recommendation is go to your VirtueMart Administration in Joomla backend and look at Admin | Configuration | Site | Layout to get an idea of which files you're using. It will probably say "Default" in the dropdown, with a Configuration link directly below. Click that link and look at the very first item, Product List Style. From the description of your layout desires, you might be using Flat Product List.
The main file for editing that layout is:
components/com_virtuemart/themes/default/templates/browse/includes/browse_listtable.tpl.php
If you're a programmer, you should be able to look thru the code and correctly guess which code elements are being used to display VM product details. If you're not a programmer, you can still fake it by commenting out sections to see what "goes away" on the actual product page. Use what you learn to strip out useful code and move it around.
Another useful file to pull VM product code from is:
components/com_virtuemart/themes/default/templates/product_details/flypage.tpl.php
This is the actual product view (unless it's been changed in VM config), and contains pretty much all the common code elements that extract product details. You should be able to lift some of that code and place it where it needs to go in other forms.
Good luck with all of this. I find VM coding painful, and community support in the VM forums can be... sparse...

How do I edit the actual content of this TYPO3 plugin object?

I've inherited a site using TYPO3 and I don't have that much experience with it. I have a page with a left column in the layout. In that left column is an object using an "insert" plugin. On the actual page is a graphic map. I'm just wondering how to edit the actual content that this is referring to. Here is a screenshot:
Here it is a bit more zoomed in...
Based on all of the meta-data this is some kind of "Magento"/"Insert" plugin being used. Again, the question is, where do I edit/change the actual content associated with this object?
If I click on the plugin icon to the left of the "Magento Left" label and select "edit", this is what I get:
Clicking the "Plugin" tab gives me this:
HELP!
My guess (and it is a guess, since I've never used Magento before) is that you can't, at least not through the TYPO3 backend. The Magento plugin is probably creating the output itself and then piping it into the plugin directly. So to alter the output you'd need to go into the Magento plugin's source code and edit that.
I have also not used this particular extension, but you might have success in clicking the plugin icon just to the left of the "Magento Left" title. At any rate, if this is the plugin called "Magento", it seems to be simply a bridge for content from somewhere else, and the displayed content should then probably be edited somewhere else. All speculation here. Further info about the plugin might be obtained from
http://typo3.org/extensions/repository/view/fb_magento/current/.

Resources