CMS BUILDER..
12 posts by 3 authors in: Forums > CMS Builder
Last Post: March 20, 2009 (RSS)
By weblinks - March 9, 2009
I am trying to place numberous TEXT RECORDS... not totally unlike Google Ads... in a Web Page Column. And, allow Users to post records to this Listing... and HAVE THE LISTINGS UPDATE AUTOMATICALLY! I have gotten close to doing this.. but, in the end TOTAL FAILURE... Note.. We are talking about MANY DIFFERENT USERS ADDING TO THE SAME LISTINGS! Obviously, I am brain-dead when it comes to things like this...
The User would first request a Username & Password for us via a normal form. We would email this info back... Then we wish them to "Login" to CMS and post their ad or whatever [All Text]... I do not wish to show the WORDS Title, Text Box, etc.... just the content belonging to these subjects.
We desperately in need of accomplishing this asap...
Thanks in advance!
Re: [END OF ROPE!] CMS BUILDER..
By Dave - March 9, 2009
Generally, if you don't want a field or field label to display you can just remove it. So if you have this:
Words: <?php echo $record['words'] ?>
You can remove the "Words: " part.
Other than that, can you attach your viewer page so I can see the code? And if possible, can you post a link to the viewer url and a mockup of how you want it to look?
Thanks!
interactivetools.com
Re: [Dave] CMS BUILDER..
By weblinks - March 9, 2009 - edited: March 9, 2009
http://www.linkvermont.com/TEST/Untitled-1.html
In the end... what I need is the a page that looks like the one below... but 1024 wide, including a new column to the right which would display TEXT ADVERTISING... I can do the html, but I am HELPLESS IN ACCOMPLISHING developing the code so that anyone with a user id and passwork and post a text ad that will be automatically displayed in said column...
http://www.linkvermont.com/fishing.htm
Sorry for this but I'm a duck out of water....
Re: [END OF ROPE!] CMS BUILDER..
By Dave - March 9, 2009
Here's the steps:
1) Get your sample viewer page displaying records from the database. Start by changing the extension to .php and making sure your html editor isn't stripping out <?php tags.
2) Get your mockup to include a column that shows the ads how you want them to look.
3) Once those two steps are done you can move the code from step 1 into the mockup from step 2 and it should work.
Hope that helps! Let us know how it goes.
interactivetools.com
Re: [Dave] CMS BUILDER..
By weblinks - March 9, 2009
Further, WHAT TYPE OF MENU SHOULD I USE????
And, what permissions should I give others inorder to update this menu record?
Bob
Re: [END OF ROPE!] CMS BUILDER..
By Dave - March 9, 2009
Just take it one step at a time or it will get confusing. Yes, change the extension to .php and see if you can get it displaying data from the database. Let me know how far you get with that part and then we can move on.
Hope that helps!
interactivetools.com
Re: [Dave] CMS BUILDER..
By weblinks - March 9, 2009
Regards, Bob
Re: [END OF ROPE!] CMS BUILDER..
By ross - March 9, 2009
You can put the code anywhere you like :). As long as have the proper tags and things (that CMS Builder produces for you), everything should be fine.
Keep us up to date with how you are making out :).
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: [weblinks] CMS BUILDER..
By weblinks - March 19, 2009
I found the posting below on the Forum site but can not find the menu.css file???? Much thanks for your help yesterday.
Regards,
Bob
[font "Verdana,Arial,Helvetica"]POSTING...... Re: [justritedesign] WYSIWYG Spacing [[url "http://www.interactivetools.com/iforum/CMS_Builder_F35/gforum.cgi?post=69354;search_string=line%20spacing;guest=40924579&t=search_engine#69339"]In reply to[/#003366][/url]] [font "Verdana,Arial,Helvetica"]Can't Post
[font "Verdana,Arial,Helvetica"]Add this CSS to your file named main.css. The first line that begins with .lhead is already in your file. Add the following 2 (bold) lines in the order that I have them here:
.lhead { font-weight: bold; font-size: 10px; text-transform: uppercase; color: #5D9E13; }
.lhead + p { margin-top: 0; }
p span.lhead { display: block; margin-top: 10px; margin-bottom: -10px; }
Note: This is a quick and dirty way to use CSS. I don't really recommend it, but it should solve your immediate problem.. namely to tighten up the space in between title and content in your sidebar items. The second line that I gave you is necessary because for some reason the title code for that top item, unlike the others, is wrapped in a <span> tag that is, itself, wrapped in a <p>.
Jim
[url "http://www.interactivetools.com/forum/forum.cgi?url=http%3A%2F%2Fwww.webcampone.com%2F"]WebCamp One, LLC[/#003366][/url]
The Web Done Right
Re: [weblinks] CMS BUILDER..
By ross - March 19, 2009
From the looks of it, each of those three fields is setup as WYSIWYG editor right? The editor adds a <p> tag around content so that's probably where the extra space is coming from.
I have two ideas for you. First, there is some PHP code you can use to strip the <p> tags out of that content. Second, you could put that whole part of the page into a <div> and setup a custom style for <p> tags that eliminates the extra space.
Which option do you like the sounds of better?
Let me know :).
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/