This topic has been marked as not resolved.
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
This topic has 2 voices, contains 3 replies, and was last updated by TB Support 4321 days ago.
ThemeBurn Support › Forums › OpenCart Themes › Shoppica OpenCart Theme › general vqmod issues
This topic has been marked as not resolved.
Hi, I have started a fresh install of OpenCart 1.5.3.1 with shoppica 2.1.2. and vqmod 2.1.6 I want to add something in the footer catalog/view/theme/*/template/common/footer.tpl <file name="catalog/view/theme/shoppica2/template/common/footer.tpl"> <operation> <search position="before"><![CDATA[ </body></html> ]]></search> <add><![CDATA[ <?php echo $statcounter; ?> ]]></add> </operation> </file> I was searching for “</body></html>” wich is obviously there in footer.tpl, but my vqmod log states that this can not be found. SEARCH NOT FOUND (ABORTING MOD) If i use the vqmod file with default template, no problem, but appearantly shoppica works differently. And i have a big bunnncchhh of other vqmod files that used to work with the default template, but no longer work with shoppica. Do i have to build vqmod files up differently for this theme, or what am i overlooking? Thanks. Lenny |
|
July 16, 2012 at 12:19 pm #11357
|
|
The tags are there indeed. But your are overlooking the fact, that they are placed on two rows: and you are searching one row in your vqmod. I guess you are safe to remove </html> from your search:
Regards, |
|
July 16, 2012 at 12:27 pm #11361
|
|
Hi, However, just body just does work. So all and all on of the big differences with how Shoppica handles VQMOD is that it doesn’t ignore whitespacing then? Thanks!
|
|
July 16, 2012 at 12:54 pm #11362
|
|
Yes, vqmod ignores the whitespaces, but not the newline symbols. You can’t search by two rows in vqmod. You must search by 1 row only. Shoppica does not have any special vqmod handling. Vqmod is external to Shoppica. The vqmods are applied to the I don’t see a reason why leaving only the Regards, |
|
July 16, 2012 at 1:18 pm #11364
|