xoops forums

Tarik

Not too shy to talk
Posted on: 2013/7/20 22:29
Tarik
Tarik (Show more)
Not too shy to talk
Posts: 170
Since: 2010/2/3 1
#11

Re: div by $ and bootstrap

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

tatane

Just can't stay away
Posted on: 2013/7/21 7:20
tatane
tatane (Show more)
Just can't stay away
Posts: 649
Since: 2008/5/6 1
#12

Re: div by $ and bootstrap

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

Mamba

Moderator
Posted on: 2016/1/22 18:11
Mamba
Mamba (Show more)
Moderator
Posts: 10838
Since: 2004/4/23
#13

Re: div by $ and bootstrap

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.10 | Docs | Modules | Bugs