Can anyone lend a hand?
@TheDoc I got the following
syntax error, unexpected ‘)’
I ended up solving it by doing this:
< ?php foreach($pages->invisible()->slice(1, 1) AS $p): ?>
This reply has been reported for inappropriate content.
isOpen()) ? ' active' : '' ?><br />
Any reason for the ternary operator?
isOpen()) echo ‘ active’ ?>
@BenWalker Thank you!!! I literally just copied it from the foreach statement above it with just a few alterations.
You must be logged in to reply to this topic.