Text Fields
7 posts by 4 authors in: Forums > CMS Builder
Last Post: March 23, 2009 (RSS)
By weblinks - March 19, 2009
Bob
WebLinks
Re: [weblinks] Text Fields
By ross - March 19, 2009
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
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
Re: [weblinks] Text Fields
By Dave - March 23, 2009
Code like this displays a field:
<?php echo $record['title'] ?>
To make it bold:
<b><?php echo $record['title'] ?></b>
To make it red:
<font color="red"><?php echo $record['title'] ?></font>
Generally you either let the user use the wysiwyg in the CMS and style the content themselves (giving them control) or you let them enter text only and you style it in the viewer page with HTML (giving you control).
Hope that helps!
interactivetools.com
Re: [Dave] Text Fields
By weblinks - March 23, 2009
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
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/