Solved

Joomla - Virtuemart - insert category link detail flypage

Posted on 2011-09-19
4
571 Views
Last Modified: 2012-05-12
Hello,

Let's say we are in the product page (in the "hand drills" category). The customer wants me to put the category link between previous product and next product like this:


<- Yellow hand drill                       Back to hand drills                        Red hand drill->

How can I do this?

Thank you
0
Comment
Question by:starhu
  • 3
4 Comments
 
LVL 7

Expert Comment

by:rashgang
ID: 36567648
yes you can get the hand drills link and set it there.

Can you post me the live url
0
 

Author Comment

by:starhu
ID: 36567937
0
 
LVL 7

Expert Comment

by:rashgang
ID: 36573867
hi

you can get the category id from the product and link back to that particular category


Query the category in that page and link it
0
 
LVL 7

Accepted Solution

by:
rashgang earned 500 total points
ID: 36573894
hi

i got the idea

http://www.duestelle.hu/index.php/katalogus?page=shop.product_details&flypage=flypage_sts2.tpl&product_id=770&category_id=4
her i sthe link
get the category id

$category_id_sample = $_REQUEST['category_id'];

example:
$query = "select category_name from category_table where id or cat_id=$category_id_sampl"
$result = mysql_query($query);
$row = mysql_fetch_assoc($result);
echo $row['category_name'];

$link = index.php/katalogus?page=shop.browse&category_id=$category_id_sample

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Welcome Friends, This is the tutorial for how to create new simple module in joomla 1.5. In the module has two important files. One is XML file and another file is PHP controller file. First you need to create the XML file. (CODE) …
What you will need: Any version of Photoshop or similar product (examples in Photoshop) Internet Access FTP Access to your joomla install or ability to upload images within joomla administrator backend Create Image: Lets start off with cre…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now