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


CMS Demo

Thread began 6/04/2012 7:20 am by Daryl | Last modified 6/07/2012 2:34 pm by Jason Byrnes | 1025 views | 5 replies |

DarylBeta Tester

CMS Demo

Ive just had a look through your PowerCMS Demo Site (not really sure why...) and have noticed that some of the content areas are surounded by paragraph tags, however the header image isnt.

What configuration are you using to do this?

Sign in to reply to this post

Matthew Meling

Hey Daryl,

When you first add content areas through PowerCMS Builder in Design Extender, only the selected code is added. <p> tags should not be added until after you have edited content in the PowerCMS's admin.

You can also remove any tags you need from the content areas by editing the database values.


Sign in to reply to this post

DarylBeta Tester

Hi Matthew

Thanks for your reply.

I am aware that you can change an entry in the config to not include the <p> tags at all and have also used the striptags function to some success, but have wanted to be able to just not have <p> tags in specific content areas specifically for people to be able to add images etc.

It would be great if this had a gallery extension built in....

anyway, you mention that tags can be removed by editing database values. Do you mean to login through phpMyadmin and delete them manually?

Sign in to reply to this post

Jason ByrnesWebAssist

Power CMS Does not allow you to set the enter mode to BR for some content areas and leave it defaulted to p tags for others. this is not supported.

You can use Power gallery and Power CMS together, but it requires a little hand coding to accomplish. see this post for details:

Yes, Matt was referring to editing the DB Directly through PHPMyAdmin

Sign in to reply to this post

DarylBeta Tester

Thanks Jason

How did you change;

<p><a href="/"><img alt="PowerCMS Demo" id="header-logo" src="" /></a></p>

In the CMS source, to;

<a href="/"><img alt="PowerCMS Demo" id="header-logo" src="" /></a>

In the webpage

Sign in to reply to this post

Jason ByrnesWebAssist

I was not involved in creating the demo site, but i would use the st_replace function on content areas I wanted to remove the <p> tags from in the code, for example:

<?php echo str_replace(array("<p>","</p>"),"",WA_getCMSContent($database_PowerStoreConnection$PowerStoreConnection'Featured Pod' 'Header')); ?>
Sign in to reply to this post

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...