close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

source code disppearing after update

Thread began 2/09/2011 4:09 am by nigel.cousins409229 | Last modified 2/09/2011 9:54 am by nigel.cousins409229 | 1104 views | 3 replies


source code disppearing after update

I wish to be able to edit a content area on my webpage with PowerCMS.

The content area displays a gallery of images for which I would like to use Lightbox2. I originally set this up so that the code for the Lightbox links was within the page code, so I am taking code from my dreamweaver page and pasting it into the PowerCMS content area.

Firstly I select 'Source' view and paste my code into the window. This is my code...

<p><a href="images/Galleries/NatStonePebble/Gallery1/NSP1__MG_2822.jpg" rel="lightbox[NSP1]"><img src="images/S_peb2.jpg" alt="natural stone pebble" width="210" height="100" border="0" /></a>
<a href="images/Galleries/NatStonePebble/Gallery1/NSP1_DPP_0033.jpg" rel="lightbox[NSP1]"></a>
<a href="images/Galleries/NatStonePebble/Gallery1/NSP1_DPP_0066.jpg" rel="lightbox[NSP1]"></a>
<a href="images/Galleries/NatStonePebble/Gallery1/NSP1_DPP_0083.jpg" rel="lightbox[NSP1]"></a>
<a href="images/Galleries/NatStonePebble/Gallery1/NSP1_IMG_4642.jpg" rel="lightbox[NSP1]"></a>
<a href="images/Galleries/NatStonePebble/Gallery1/NSP1_IMG_4647.jpg" rel="lightbox[NSP1]"></a>
<a href="images/Galleries/NatStonePebble/Gallery1/NSP1_IMG_6763.jpg" rel="lightbox[NSP1]"></a></p>

When I update and view the page all works well and I am able to view all 7 images.

However, it is when I go back into edit content that my problem occurs. I select 'Source' and the code has now changed to the following...

<p><a rel="lightbox[NSP1]" href="images/Galleries/NatStonePebble/Gallery1/NSP1__MG_2822.jpg"><img width="210" height="100" border="0" alt="natural stone pebble" src="images/S_peb2.jpg"></a></p>

When I update and view my page there is now, as you would expect from the code above, only 1 image to view.

Has anybody else experienced this loss of code?

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...