11
Tarik
Re: div by $ and bootstrap
  • 2013/7/20 22:29

  • Tarik

  • Not too shy to talk

  • Posts: 170

  • Since: 2010/2/3 1


probably because $category.categoryid is used in the check while the id isnt uniform - you probably deleted category with id 2 -

12
tatane
Re: div by $ and bootstrap
  • 2013/7/21 7:20

  • tatane

  • Just can't stay away

  • Posts: 649

  • Since: 2008/5/6 1


Quote:

Tarik wrote:
probably because $category.categoryid is used in the check while the id isnt uniform - you probably deleted category with id 2 -


That's it.I add <{counter start=1 skip=1 print=false assign=a}> and this work

Thank

13
Mamba
Re: div by $ and bootstrap
  • 2016/1/22 18:11

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


Recently I had a similar issue with "div by", in my case it was:
<{if $category.count is div by 3}>
The workaround that I found on the Web was to change to code to this:
<{if $category.count == 0}>
Maybe it will help somebody
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

Login

Who's Online

223 user(s) are online (44 user(s) are browsing Support Forums)


Members: 0


Guests: 223


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits