Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: CMS Builder:
CMS BUILDER..

 

 


weblinks
User

Mar 9, 2009, 10:55 AM

Post #1 of 12 (2479 views)
Shortcut
CMS BUILDER.. Can't Post

Pirate CAN NOT get CMS to do what I am trying to do... FOR DAYS NOW!

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!


Dave
Staff / Moderator


Mar 9, 2009, 11:16 AM

Post #2 of 12 (2474 views)
Shortcut
Re: [END OF ROPE!] CMS BUILDER.. [In reply to] Can't Post

Hi End of Rope! Welcome to forum. Joining the forum and posting is a great first step to getting things sorted out.

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!

Dave Edis - Senior Developer
interactivetools.com
 


weblinks
User

Mar 9, 2009, 11:51 AM

Post #3 of 12 (2470 views)
Shortcut
Re: [Dave] CMS BUILDER.. [In reply to] Can't Post

This is just an attempt to place the records in a right column... nothing more... except I wish many users could post a record and have it automatically displayed....

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....


(This post was edited by END OF ROPE! on Mar 9, 2009, 11:53 AM)


Dave
Staff / Moderator


Mar 9, 2009, 12:08 PM

Post #4 of 12 (2464 views)
Shortcut
Re: [END OF ROPE!] CMS BUILDER.. [In reply to] Can't Post

Hi EOR,

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.

Dave Edis - Senior Developer
interactivetools.com
 


weblinks
User

Mar 9, 2009, 12:25 PM

Post #5 of 12 (2462 views)
Shortcut
Re: [Dave] CMS BUILDER.. [In reply to] Can't Post

Do you mean change the entire html page to .php even though the majority of the page.. except for the 3rd column is straight html????

Further, WHAT TYPE OF MENU SHOULD I USE????

And, what permissions should I give others inorder to update this menu record?

Bob


Dave
Staff / Moderator


Mar 9, 2009, 12:59 PM

Post #6 of 12 (2454 views)
Shortcut
Re: [END OF ROPE!] CMS BUILDER.. [In reply to] Can't Post

Bob,

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!

Dave Edis - Senior Developer
interactivetools.com
 


weblinks
User

Mar 9, 2009, 2:43 PM

Post #7 of 12 (2435 views)
Shortcut
Re: [Dave] CMS BUILDER.. [In reply to] Can't Post

Sounds Good! On quick question now.... Can I place code within a table within a column???

Regards, Bob


ross
Staff / Moderator


Mar 9, 2009, 3:00 PM

Post #8 of 12 (2434 views)
Shortcut
Re: [END OF ROPE!] CMS BUILDER.. [In reply to] Can't Post

Hi Bob.

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 - 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: http://www.interactivetools.com/consulting/



weblinks
User

Mar 19, 2009, 1:56 PM

Post #9 of 12 (2327 views)
Shortcut
Re: [weblinks] CMS BUILDER.. [In reply to] Can't Post

CMS... Unable to eliminate line spacing between TITLE, CONTENT and BUSINESS_NAME on "Stowe Area Fishing" Ad [test] in the right-hand column of this test page... http://www.linkvermont.com/TEST/Untitled-19.php

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

POSTING...... Re: [justritedesign] WYSIWYG Spacing [In reply to] Can't Post

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
WebCamp One, LLC
The Web Done Right



ross
Staff / Moderator


Mar 19, 2009, 3:04 PM

Post #10 of 12 (2325 views)
Shortcut
Re: [weblinks] CMS BUILDER.. [In reply to] Can't Post

Hi Jim

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 - 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: http://www.interactivetools.com/consulting/



weblinks
User

Mar 20, 2009, 2:48 AM

Post #11 of 12 (2296 views)
Shortcut
Re: [ross] CMS BUILDER.. [In reply to] Can't Post

Ross....

Sounds like STRIPPING THE P CODE is the easiest... When replying PLEASE give me precise instructions as to EXACTLY WHERE TO PLACE THE CODE YOU ARE SENDING... eg.. Where in the webpage code?.. where in the Content Form Code?

Ross... I badly need to solve this problem of deleting the line spaces... PLEASE reply asap.

Best,

Bob T


ross
Staff / Moderator


Mar 20, 2009, 9:12 AM

Post #12 of 12 (2279 views)
Shortcut
Re: [weblinks] CMS BUILDER.. [In reply to] Can't Post

Hi Bob

I actually meant to say swap the <p> for <br> instead of completely removing them.

On your template, you'll likely have something like this:

<?php echo $record['title']' ?>

or something like that for each field you are displaying. To replace the <p> tags, try this code:


Code
<?php $record['content'] = preg_replace("/<p>/i", "<br>",  $record['content'] ); ?> 
<?php $record['content'] = preg_replace("/<\/p>/i", "", $record['content'] ); ?>
<span><?php echo $record['content']; ?></span>


You'll need to use all three lines for each field you want to swap the tags in. You can add a class attribute to the final span tag if you wanted additional styles.

Give this a shot and let me know how you make out :).
-----------------------------------------------------------
Cheers,
Ross Fairbairn - 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: http://www.interactivetools.com/consulting/