LuxCal Forum

The place for questions, suggestions and news about the LuxCal Event Calendar

User:   Password:   Remember Me?   
LuxCal Forum / General / Support / Help with new sidebar
Posted:  19 Dec 2014 13:24
I thought I was through this kind of basic poblem, but I seem to have fallen over here.

I'm creating another sidebar to be used on a mobile page.  The sidebar works fine with this link:

but when I try to display the sidebar on this page:

there's nothing.

This is the code I am using:

$sbClass = 'sideBar';
$sbUpDays = '90';
include '';

Keeping fingerrs crossed & hope you can help please.

The Middle Marches Benefice
The villages of Bedstone & Bucknell
Posted:  19 Dec 2014 19:42   Last Edited By: Roel B.
Hi Graham,

I think it's a matter of getting the path to the script lcsbar.php right.
Try replacing the include statement . . .
include '';
include '../courses/lcsbar.php';

Your sidebar script  lcsbar.php is located in the folder: "ssw/courses/"
The folder of the page where the sidebar script is included is: "css/mobile/"
So the path should first go back from "mobile/" to "ssw/", which is done by the "../", and then forward to "courses/".

If it doesn't work, please let me know and we'll find a solution.
Posted:  20 Dec 2014 07:11   Last Edited By: Roel B.
Hi Roel

Thanks for the suggestion.  It was one of several alternate ways I had tried to reference the sidebar script.

However, changing the page name to a php file: - sorted the problem.

Thanks again for your timely help Roel - I hope you and your family have a happy Christmas and thanks for all your help in the past.
The Middle Marches Benefice
The villages of Bedstone & Bucknell