eSyndiCat User Forums esyndicat directory software esyndicat support

Go Back   eSyndiCat User Forums > eSyndiCat Directory Software [FREE] > User interface

User interface Discuss eSyndiCat templates here. All the questions regarding eSyndiCat [FREE] Front end

Reply
 
Thread Tools Display Modes
Old 03-22-2009   #1
jj123
 
Join Date: Sep 2008
Posts: 20
jj123 is on a distinguished road
Question Help: How to remove url from View Listing and Listing?

Hello Guys
Am using Omega 1.6 version. Pls. help me with:

1. How to add listing without url? or make it optional to add url
2. How to remove url from the listing title in "View Listing" and "Listing"

Example for #2

title with url => www.example.com (but I want to remove url)
Description1
Telp: (xxx) xxx-xxxx

Thanks in advance
jj123 is offline   Reply With Quote
Old 04-01-2009   #2
Alex B.
Tech Support
 
Alex B.'s Avatar
 
Join Date: Oct 2008
Posts: 989
Alex B. is on a distinguished road
Default

Hello jj123,
AFAIK it's not possible in omega version
__________________
Best Regards, Alex B.
HELPDESK
Alex B. is offline   Reply With Quote
Old 04-03-2009   #3
jj123
 
Join Date: Sep 2008
Posts: 20
jj123 is on a distinguished road
Default

Hi Alex,
Thanks for your reply.
The directory below is using Omega version and they can remove the url from "Listing"

housefusion dot com/Alaska/Anchorage/

How to do that? because some of my listings have no websites.
jj123 is offline   Reply With Quote
Old 04-03-2009   #4
Alex B.
Tech Support
 
Alex B.'s Avatar
 
Join Date: Oct 2008
Posts: 989
Alex B. is on a distinguished road
Default

The problem is that you could hide this filed from "listing view" and "listing" pages, but when submiting listings this field is requiered and cannot be deleted.
So if you want I can tell you how to hide the url field, but cannot help you with "submitting without URL". BTW, if you go to http://housefusion.com/suggest-listing.php?id=0 you'll see the URL field.
__________________
Best Regards, Alex B.
HELPDESK
Alex B. is offline   Reply With Quote
Old 04-03-2009   #5
jj123
 
Join Date: Sep 2008
Posts: 20
jj123 is on a distinguished road
Default

Oh I understand now.
Would you please tell me how to hide the url field?

Thanks in advance

Rgds,
Jane
jj123 is offline   Reply With Quote
Old 04-04-2009   #6
Alex B.
Tech Support
 
Alex B.'s Avatar
 
Join Date: Oct 2008
Posts: 989
Alex B. is on a distinguished road
Default

of course.
You should edit /templates/current_template/view-listing.tpl
replace next lines:
HTML Code:
<h1><a href="{$listing.url}" id="l{$listing.id}" {if $config.new_window}target="_blank"{/if}>{$listing.title}</a></h1>
with
HTML Code:
<h1>{$listing.title}</h1>
and also edit /templates/current_template/listing-display.tpl
replace next lines
HTML Code:
<div class="title">
			<a href="{if $config.use_redirects}go.php?url={$listing.url|escape:"url"}{else}{$listing.url}{/if}" class="title" id="l{$listing.id}" {if $config.new_window}target="_blank"{/if} {if $listing.no_follow eq 1}rel="nofollow"{/if}>{$listing.title}</a> {section name=star loop=$listing.rank}<img src="{$img}star.png" alt="" />{/section} </div>
with
HTML Code:
<div class="title">
{$listing.title}{section name=star loop=$listing.rank}<img src="{$img}star.png" alt="" />{/section} </div>
and
delete or comment
HTML Code:
	<div class="url">{$listing.url}</div>
do not forget to backup these files before editing
__________________
Best Regards, Alex B.
HELPDESK
Alex B. is offline   Reply With Quote
Old 04-04-2009   #7
jj123
 
Join Date: Sep 2008
Posts: 20
jj123 is on a distinguished road
Default

Hi Alex,
Thanks very much for your help. Everything working very well now.

Have a great day!

Best Regards,
Jane

Last edited by jj123; 04-04-2009 at 02:20 AM.
jj123 is offline   Reply With Quote
Old 04-04-2009   #8
Alex B.
Tech Support
 
Alex B.'s Avatar
 
Join Date: Oct 2008
Posts: 989
Alex B. is on a distinguished road
Default

you're welcome!
Feel free to contact us if you have any problem!
__________________
Best Regards, Alex B.
HELPDESK
Alex B. is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 08:03 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Testimonials | Articles | Support | Documentation | Privacy Policy | License | Affiliates | Contact Us | SEO Resources