Field labels displaying in Editor AND on viewer detail Web page

6 posts by 3 authors in: Forums > CMS Builder
Last Post: August 20, 2008   (RSS)

I have three questions:

1. How do I stop the Field labels from displaying on the viewer detail Web page? If I remove them manually from the code, they no longer appear in the Editor, which is not what I want.

2. On the viewer detail Web page at the end of my content, the number "1" is displayed with a horizontal line beneath it. I see nothing in the code that I can remove to make this stop. Where is it coming from and how do I make it go away?

3. I need to remove some of the functions on the TinyMCE tool bar. How do I do this?

Thanks,

Katherine

Re: [katherine502] Field labels displaying in Editor AND on viewer detail Web page

By Jake - August 18, 2008

Hi Katherine,

You can remove the field labels from the HTML of your viewer pages without affecting their display in the back end of the software. Had you been removing these from within CMS Builder itself?

The number at the bottom of your page is probably a link created with the record's number as its text. Look for a line of code on your page like this and remove it:

<a href="<?php echo $record['_link'] ?>"><?php echo $record['_link'] ?></a>

You can remove buttons in the WYSIWYG editor by editing the settings in the "wysiwyg.php" file in CMS Builder's /lib directory.

Let us know if you have any other questions. [:)]
-----------------------------------------------------------
Cheers,
Jake Marvin - Product Specialist
support@interactivetools.com

Hire me!
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.

Re: [Jake] Field labels displaying in Editor AND on viewer detail Web page

You can remove the field labels from the HTML of your viewer pages without affecting their display in the back end of the software. Had you been removing these from within CMS Builder itself?

Hi, Jake. I had removed the labels from both CMS Builder AND the code at the same time. Should have done them one at a time to test which way works. Was in the middle of the learning curve and brain dead at that point.

The number at the bottom of your page is probably a link created with the record's number as its text. Look for a line of code on your page like this and remove it:
<a href="<?php echo $record['_link'] ?>"><?php echo $record['_link'] ?></a>

No, I had already removed that code. I just discovered what I did. That was yesterday, and as I said, I was brain dead. I had published the correctly coded viewer page to the /html directory instead of the staging/html directory. So in CMS Builder when I clicked "View Website," I continued to see the same incorrect Web page over and over even though I had it right all along.

You can remove buttons in the WYSIWYG editor by editing the settings in the "wysiwyg.php" file in CMS Builder's /lib directory.

Is there more in depth documentation somewhere that discloses information such as this? Or did I just miss this in the online documentation?

Thanks again for your help, Jake.

Katherine

Re: [katherine502] Field labels displaying in Editor AND on viewer detail Web page

By Dave - August 19, 2008

You can remove buttons in the WYSIWYG editor by editing the settings in the "wysiwyg.php" file in CMS Builder's /lib directory.

Is there more in depth documentation somewhere that discloses information such as this? Or did I just miss this in the online documentation?


Technically the ability to modify the wysiwyg is an undocumented, unsupported feature. But we often give people help with it anyways when we can.

We don't make the wysiwyg ourselves but use a popular free one called tinymce. You can find docs for it here:
http://wiki.moxiecode.com/index.php/TinyMCE:Index

And you can find the button codes here:
http://wiki.moxiecode.com/index.php/TinyMCE:Control_reference

Hope that helps!
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Field labels displaying in Editor AND on viewer detail Web page

Thank you so much, Jake and Dave. You've been a wonderful help............Katherine