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?
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?
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.
Thanks
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?
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:
showpost.php?p=124587&postcount=2
Yes, Matt was referring to editing the DB Directly through PHPMyAdmin
Thanks Jason
How did you change;
<p><a href="/"><img alt="PowerCMS Demo" id="header-logo" src="http://powercms-demo.com/images/3afa6bab25/logos/customlogo.png" /></a></p>
In the CMS source, to;
<a href="/"><img alt="PowerCMS Demo" id="header-logo" src="http://powercms-demo.com/images/3afa6bab25/logos/customlogo.png" /></a>
In the webpage
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')); ?>
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
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.