Curves UI
[Solved] ASK - Printable Version

+- Curves UI (https://www.curvesui.com)
+-- Forum: Product Support (https://www.curvesui.com/forumdisplay.php?fid=12)
+--- Forum: Support (https://www.curvesui.com/forumdisplay.php?fid=4)
+--- Thread: [Solved] ASK (/showthread.php?tid=34)



ASK - Kenzx - 23-02-2024

Does anyone know how to fix it?, I'm very confused

PHP Code:
Parse errorsyntax errorunexpected string content ""expecting "-" or identifier or variable or number in C:\xampp\htdocs\forumss\inc\functions.php(4817) : eval()'d code on line 2 



RE: ASK - Matty - 23-02-2024

What version of PHP are you running?


RE: ASK - Kenzx - 23-02-2024

version 8.2.4


RE: ASK - Matty - 23-02-2024

(23-02-2024, 07:32 AM)Kenzx Wrote: version 8.2.4

Are you using the Curves UX theme? If so....

Go to Admin CP > Templates & Style > Templates > (your theme) > Navigation Templates > Nav

Find this code:

PHP Code:
<if $_SERVER['REQUEST_URI'] != '/' then>
<
div class="navigation">
{
$nav}{$activesep}{$activebit}
</
div>
</if> 

and replace with:

Code:
<div class="navigation">
{$nav}{$activesep}{$activebit}
</div>



RE: ASK - Kenzx - 23-02-2024

working now., thanks for helping me