PDA

View Full Version : Submit Link Page Mod


petakid
03-14-2006, 07:41 PM
Is it possible to have a mod like this on the submit link page.

A url is required for the link exchange, however there are stores, businesses, etc, etc, that dont have websites so is there anyway that it could be made to so people who have a listing w/ out a website can also have the option of submitting their address and phone number of business instead?

Kind of like a yellow page submission.

I know its a link directory and you may not get a recip link for these listing but its a way to get more listings on your site.

If I'm not explain this right, here is my example:

Normally on the submit link page its:

*Title
*url
*Decription
*Your Name
*Your Email
*Recipical Link url

Is there a mod that can do:

*Title
*Url or *Address and Phone number of business
*Decription
*etc..
*etc..

I think this is a way to be able to attract more visitors

Thank you

anon
03-14-2006, 08:01 PM
it's doable, but hasn't been done (yet)

it's going to require db additions/changes.

tarheit
03-14-2006, 08:15 PM
Actually it's doable, and i have done it on mine. You can submit both links (http://www.honeyrunapiaries.com/bee_links_submit.phtml) or traditional contact info (http://www.honeyrunapiaries.com/bee_links_resource.phtml) (phone, address, other comments, etc.).

Basically I just added an extra field to the database for the contact info/long description. Then edited (and or duplicated) a few templates to add the extra field. For the traditional info the URL is just 'html' so the templates know the difference and display the correct info. And when you click on the link it take you to a page that shows all the details. Take a look here (http://www.honeyrunapiaries.com/bee_links-Ohio-352.phtml) and here (http://www.honeyrunapiaries.com/bee_links-USA-74.phtml) for how they show up.

-Tim

huffmancs
03-15-2006, 11:26 AM
Tim,

I am doing a site that requires the same type of layout. Could you give me the details of how you have done this so I can set my site up similar. That is having listing information without a url.

Kevin

tarheit
03-15-2006, 04:20 PM
The following is my best guess of what I changed to allow phone/address type contact info. I don't have the original code for version 2 handy so I can't tell exactly what I've changed in some cases especially because It's not the only thing I've added.

Also, my directory doesn't require payment nor do I use reciprocal links. It's just disabled in the configuration so I don't know how this mod will affect that. Likely you will have to make changes elsewhere in the code.

-Tim

Content visible to registered users only.

petakid
03-16-2006, 07:35 PM
Hmm...

Tim,

Thanks for the input, i dont know if I'm doing something wrong (perhaps) but I cant get it to come out right with 3.0

So my question is...

Anybody have any suggestions for getting a listing without URL for 3.0