xml parsing - Issue Changing Simple Text on header.tpl using VQMOD in OpenCart -


I am trying to use the VQMod for the first time and when I do not have any code given at the bottom of my page Varies.

I tried changing the home link to the top right of the home page (open train) on my home but the text did not change. Unfortunately, there was no error in the VQMOD manager.

My XML code is below Do I need to add something to my TPL or make any other changes?

  & lt; Research & gt; & Lt; File name = "catalog / view / theme / * / template / common / header.tpl" & gt; & Lt; Operation & gt; & Lt; Search Status = "Replace" & gt; & Lt ;! [Cdata [   

You can not replace header.tpl as your code. VQMOD "can only search for single lines" Not a particular variable

Try this code:

  & lt; File name = "catalog / view / theme / * / template /common/header.tpl"> & Lt; Operation & gt; & Lt; Search Status = "Change" & gt; & Lt ;! [CDATA [& lt; Div class = "link" & gt; & Lt; A href = "& lt ;? php echo $ home ;? & gt;" & Gt; & Lt; Echo php $ text_home; ? & Gt; & Lt; / A & gt; & Lt; A href = "& lt ;? php echo $ wishlist ;;>" Id = "Wishlist-Total" & gt; & Lt ;? Php ek $ text_wishlist; ? & Gt; & Lt; / A & gt; & Lt; A href = "& lt ;? php eko $ account ;;> & Gt; & Lt ;? Php echo $ text_account; ? & Gt; & Lt; / A & gt; & Lt; A href = "& lt ;? php echo $ shopping_cart ;? & gt;" & Gt; & Lt ;? Php echo $ text_shopping_cart; ? & Gt; & Lt; / A & gt; & Lt; A href = "& lt ;? php echo $ checkout ;? & gt;" & Gt; & Lt ;? Php echo $ text_checkout; ? & Gt; & Lt; / A & gt; & Lt; / Div & gt; ]] & Gt; & Lt; / Search & gt; & Lt; Add & gt; & Lt ;! [CDATA [& lt; Div class = "link" & gt; & Lt; A href = "& lt ;? php echo $ home ;; & gt; & Gt; Your own link & lt; / A & gt; & Lt; A href = "& lt ;? php echo $ home ;? & gt;" & Gt; & Lt ;? Php echo $ text_home; ? & Gt; & Lt; / A & gt; & Lt; A href = "& lt ;? php echo $ wishlist ;;>" Id = "Wishlist-Total" & gt; & Lt ;? Php ek $ text_wishlist; ? & Gt; & Lt; / A & gt; & Lt; A href = "& lt ;? php eko $ account ;;> & Gt; & Lt ;? Php echo $ text_account; ? & Gt; & Lt; / A & gt; & Lt; A href = "& lt ;? php echo $ shopping_cart ;? & gt;" & Gt; & Lt ;? Php echo $ text_shopping_cart; ? & Gt; & Lt; / A & gt; & Lt; A href = "& lt ;? php echo $ checkout ;? & gt;" & Gt; & Lt ;? Php echo $ text_checkout; ? & Gt; & Lt; / A & gt; & Lt; / Div & gt; ]] & Gt; & Lt; / Add & gt; & Lt; / Operation & gt; & Lt; / File & gt;    

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -