-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
carousel not display in xbootstrap #415
Comments
As for that change suggestion, absolutely no. The change to the xoops_page variable was made about seven months ago and has worked perfectly as far as I know. It solved several issues. See #197 Sounds like you might have the 2.5.9 xbootstrap on an older version of xoops? At any rate, we would need more info on how to recreate the failure as it most definitely works as delivered. |
.i just downloaded the latest 259 beta2 from github today and test it in localhost and used the xbootstrap theme the carousel is not showing...if it helps...my url in localhost is localhost/259/ |
There is reason, it doesn't work! This is line 277 of theme.php which is problematic With this code it works: Problem with realpath()! The addition is here: #198 |
@GregMage Can you show me the output of: echo 'path ' . XOOPS_ROOT_PATH;
echo 'realpath ' . realpath(XOOPS_ROOT_PATH);
echo 'script ' . $_SERVER['SCRIPT_FILENAME'];
echo 'realscript ' . realpath($_SERVER['SCRIPT_FILENAME']); Also, what stack are you using? (WAMP, XAMP, etc.) I'll look again, but I never have seen this issue with my windows environment. I need to see the raw values from a system where it doesn't work. |
I use WAMP 3 with Windows 10 |
|
If I change:
With:
It works!
|
Thanks! That is what I thought might be going on. I'll add a normalization step that will handle the symlink (realpath) expansion AND the directory separator. From what I am seeing, the realpath() behavior can vary under some circumstances. |
Your solution works very well! Fixed |
in themes/xbootsrap/tpl/slider.tpl carousel is not showing in xbootstrap theme
need to change
<{if $xoops_page == "index"}>
to
<{if $xoops_dirname == "system"}>
The text was updated successfully, but these errors were encountered: