Text Fields

7 posts by 4 authors in: Forums > CMS Builder
Last Post: March 23, 2009   (RSS)

By weblinks - March 19, 2009

Q. How to set default preferences such as TEXT SIZE, BOLD, TEXT COLOR, ETC. for TEXT FIELD? I know how in a wysiwyg field but I don't want Users to be able to have access to these settings.

Bob
WebLinks

Re: [weblinks] Text Fields

By ross - March 19, 2009

Hi Bob

Thanks for posting!

So what you are have are a bunch of plain text boxes but you want to have some styles for them right?

What you would do is apply the styles on the template. Like this:

<span class="myTextFormatting">
<?php echo $record['content']; ?>
</span>

Does that sound like what you are looking for?
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@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: http://www.interactivetools.com/consulting/

Re: [ross] Text Fields

By weblinks - March 19, 2009

Sorry for being so dumb but... I'm confused. Do I place the text below in the code on the web page? If so, precisely where to I place it?

And, with regard to the [font "Verdana"]<span class="myTextFormatting"> ... how do I specify the format I wish... and where.

[font "Verdana"]Again, my apologies for this... I'm not as tech savy as I would like.

[font "Verdana"]Bob

Re: [weblinks] Text Fields

By Bassman - March 19, 2009

You're going to need to learn about Cascading Style Sheets if you want to do that successfully: a CSS file is where you set the format of whatever elements of the page you choose. See http://www.w3.org/Style/CSS/

Re: [Dave] Text Fields

By weblinks - March 23, 2009

[font "Verdana"]Dave....
Thanks... Big Time... This hopefully will allow me to just use Text Field so that the user doesn' have access to all of the bells and whistles in wysiwyg... Hope you can help me with this....

I have 4 text fields for individual users [advertisers] to fill in... I need to somehow allow the user to LINK THE TITLE TO THEIR WEB ADDRESS in the [title] field.. Please look at the TEST PAGE BELOW... If I were the user I would want to link "The Vermont Sugar Shack" to my website with a different nam... e.g.
[url "http://www.interactivetools.com/forum/forum.cgi?url=http%3A%2F%2Fwww.mywebsite"][font "Verdana"]http://www.mywebsite[/#003366][/url][font "Verdana"]..... I KNOW I CAN DO THIS IN A WYSIWYG FORMAT, BUT I DON'T WANT TO GIVE THE USER THIS WHOLE BAG OF OPTIONS... JUST THIS ONE.

YOUR HELP WILL BE MORE THAN APPRECIATED.

[url "http://www.interactivetools.com/forum/forum.cgi?url=http%3A%2F%2Fwww.linkvermont.com%2FTEST%2Fmaplesyrup_sugarhouses.php"][font "Verdana"]http://www.linkvermont.com/TEST/maplesyrup_sugarhouses.php[/#003366][/url][font "Verdana"]

Best,

Bob T.

Re: [weblinks] Text Fields

By ross - March 23, 2009

Hi Bob

I replied to this question in your other thread :).


http://www.interactivetools.com/forum/gforum.cgi?post=70412#70412


Let me know if that is what you were looking for. Thanks!
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@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: http://www.interactivetools.com/consulting/