Jump to content


- - - - -

remove link from parent category in top menu


Best Answer MaxD , 05 June 2013 - 01:11 AM

Write before

$org_html .= "<li><a href='".$category['href']."'>".$category['name']."</a>";

this line:

if ($category['children']) $category['href'] = '';
Go to the full post


4 replies to this topic

#1 emma (guest)

emma (guest)
  • Guests

Posted 04 June 2013 - 03:42 AM

When I use touch screen, I cannot get to the drop down menu from category because touching category will take me to category page. It's frustrating.

 

So I want to remove the link from category that have children and still be able to click category that doesn't have children

 

Please help. I'm using opencart 1.5.5.1 and openshop template


  • 0

#2 MaxD

MaxD

    Administrator

  • Administrators
  • 692 posts

Posted 04 June 2013 - 04:18 PM

I don't have touch device right now to check this. What about tapping?

 

Anyway, you can go to top category and navigate deeper from it.


  • 0

#3 MaxD

MaxD

    Administrator

  • Administrators
  • 692 posts

Posted 05 June 2013 - 01:11 AM   Best Answer

Write before

$org_html .= "<li><a href='".$category['href']."'>".$category['name']."</a>";

this line:

if ($category['children']) $category['href'] = '';

  • 0

#4 dfgdfgfd (guest)

dfgdfgfd (guest)
  • Guests

Posted 28 February 2018 - 07:21 AM

http://www.toursandtravelideas.com http://www.travelleisuretips.com http://www.travellingpolicies.com http://www.idealtravelplan.com http://www.gettravelalerts.com http://www.globalbus...stravelling.com http://www.facultyoflawyers.com http://www.lawandregulations.com http://www.legallawcenter.com http://www.findratedlawyers.com http://www.lawyerlegalpractice.com http://www.chooseattorneylawyer.com http://www.expertbusinessadvices.com http://www.topbusinessanalysis.com http://www.getbusinessbackup.com http://www.securebusinesssolution.com http://www.launchdreambusiness.com http://www.todaysbusinessdemand.com http://www.minihometricks.com http://www.smarthomestrend.com http://www.ideallivinghome.com http://www.homesdecoratingidea.com http://www.awesomediyhomedecor.com http://www.financecapitalhelp.com http://www.microfinancesaving.com http://www.advancedpersonalloan.com http://www.financeandgrowth.com http://www.fashionstylestips.com http://www.allstylesfashion.com http://www.fairfashionstyles.com http://www.fashiontrendsadvice.com http://www.hiteducationaltopic.com http://www.educationopinion.com http://www.educationaldrive.com http://www.newarrivalshopping.com http://www.shoppingandstyles.com http://www.shoppingpackers.com http://www.foodssector.com http://www.foodslabels.com http://www.entertain...culturenews.com http://www.entertainmentvice.com http://www.realtimehealthylife.com http://www.abouthealthcaresystem.com http://www.getinsurancechart.com http://www.getainsuranceplan.com http://www.parentingchapter.com http://www.smartparentingadvices.com http://www.mortgageadvisorhelp.com http://www.basicwebdesigning.com http://www.termofservices.com

 

 


  • 0

#5 ddfdsf (guest)

ddfdsf (guest)
  • Guests

Posted 16 April 2018 - 05:56 AM

http://www.sciencesandtechnology.com http://www.technologychanging.com http://www.luxuryfashionideas.com http://www.ideasaboutfashion.com http://www.petsexperience.com http://www.petshealthyfoods.com http://www.sportstimemagazine.com http://www.sportsclubsfitness.com http://www.getsportsrules.com http://www.servicesforautomotive.com http://www.innovativeautomotives.com http://www.automotivesectors.com http://www.toprealestatepoints.com http://www.luxurypropertytrade.com http://www.openrealestatearea.com http://www.findrentalsproperty.com http://www.ideasaboutfinance.com http://www.smartfinancechoice.com http://www.luxuryvacationpack.com http://www.bestvacationsideas.com http://www.smalltripadvisor.com http://www.travellingedges.com http://www.diyinteriordecoration.com http://www.homebasicdesign.com http://www.singlehomeimprovements.com http://www.homesrenovationidea.com http://www.homeimproveservice.com http://www.shoppingsections.com http://www.ideasabouteducation.com http://www.educationstatistic.com http://www.facultyoflawyer.com http://www.lawsremedies.com http://www.thelawandpractice.com http://www.legallawfaces.com http://www.lawandpolicyblog.com http://www.sciencesforhealth.com http://www.healthdiscoveryplan.com http://www.healthcareandmedicine.com http://www.healthrecoverysupport.com http://www.eathealthiestfoods.com http://www.healthcaredrives.com http://www.riskinsurancepolicies.com http://www.securelifeinsuranceplan.com http://www.fullinsurancepolicy.com http://www.selectcheapinsurance.com http://www.lifeinsurancechart.com http://www.getabusinessinsurance.com http://www.typesofservice.com http://www.serviceexperienced.com http://www.servicesbusinessplans.com http://www.servicesdrive4u.com http://www.different...nessesideas.com http://www.mediumbusinesssolutions.com http://www.businessipcenter.com http://www.discoverbusinesslabel.com http://www.fastbusinessgrowing.com http://www.generalleads.com http://www.generallifetalk.com http://www.generalscrolls.com http://www.genaralindex.com

 

 


  • 0



Reply to this topic



  



 

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Community Skin by Fredson Nunes Junior