Power CMS Power Gallery inclusion error
Hi
I have installed Power CMS on my site and on pages that have a Power Gallery inclusion I am getting the following error:
Warning: opendir(/home/mindwork/public_html/otel/WA_Globals/galleries/ribbon_fullsize_lightbox/css/themes) [function.opendir]: failed to open dir: No such file or directory in /home/mindwork/public_html/otel/powergallery/admin_gallery/common/functions.php on line 490
I have been through the threads and seems that the functions.php file may need tweaking - Not sure what to though.
i am on DW CS6 and using Design Extender 1.1.7 and Databridge 1.1.9
See below for code with and without Power CMS added.
your help will be greatly appreciated.
Thanks Kata
Here is the code with Power CMS added to page with existing Power Gallery (this code is returning the error):
<body>
<h4>Curtain Side Bodies</h4>
<div class="galContainer">
<div class="galCopy"> <?php echo WA_getCMSContent($database_PowerCMSConnection, $PowerCMSConnection, 'Vehicle Builds', 'Curtain Sides'); ?> </div>
<div class="galPlug">
<?php
$pg_id = '4';
$pg_theme = 'otel';
include('/home/mindwork/public_html/otel/powergallery/galleries/ribbon_fullsize_lightbox/index.php');
?>
<!--end galPlug--></div>
<br class="clearfloat" />
<!--end galContainer--></div>
<div class="clearfloat"> </div>
<?php WA_manageSEO(); ?>
</body>
Here is the Original Code prior to adding Power CMS where the gallery was working fine:
<body>
<h4>Curtain Side Bodies</h4>
<div class="galContainer">
<div class="galCopy">
<ul>
<li>Any length and width
</li>
<li>Timber decks; either Shiplap hardwood Balau, Calophylum or Heavy Hopea, Trans Tek, container ply 25 0r 28mm or just treated plywood
</li>
<li>Steel decks; either mild steel plate, corten plate or treadplate at what ever thickness required
</li>
<li>Load anchorage rails with hooks and or chain plates if required
</li>
<li>Lashing rings fitted into deck if required
</li>
<li>Flush mounted headboards lined with ply or steel on inside
</li>
<li>Roof support poles as required to suit body length (our own unique design)
</li>
<li>One piece aluminum roof
</li>
<li>T3 curtain tensioners
</li>
<li>Curtains to colour of your choice rated as per LTNZ requirements
</li>
<li>Pressed steel mudguards and OTEL embossed mudflaps
</li>
<li>Tail lifts, what ever brand/style you require
</li>
<li>Optional folding or removable internal side screens and rails
</li>
<li>All painted to your requirements</li>
</ul>
</div>
<div class="galPlug">
<?php
$pg_id = '4';
$pg_theme = 'otel';
include('/home/mindwork/public_html/otel/powergallery/galleries/ribbon_fullsize_lightbox/index.php');
?>
<!--end galPlug--></div>
<br class="clearfloat" />
<!--end galContainer--></div>
<div class="clearfloat"> </div>
</body>
</html>