The WorksForWeb Community Forums
Welcome to the WorksForWeb community forums. Here you can discuss WorksForWeb products with others and contribute to the rapidly growing WorksForWeb community. Please note that while WorksForWeb staff try to maintain presence on the forums, this is not the most reliable way to contact WorksForWeb staff. In case you require a timely response from WorksForWeb on an issue, please open a support ticket here. For pre-sales questions, please open a sales ticket here.

Welcome, Guest. Please login or register.
May 18, 2012, 12:34:26 PM

Login with username, password and session length
Search:     Advanced search
Added the iLister-related Boards

Rate My Site Boards Added

Merged iAuto and iRealty Support Forums together

Several new tips in the Tips and Tricks section
1,604 Posts in 625 Topics by 1,179 Members
Latest Member: bobsteam
* Home Help Search Login Register
+  The iAuto/iRealty/iLister Support Forum
|-+  iAuto and iRealty v.2.x - 3.x
| |-+  General iAuto Discussions
| | |-+  Saved ads thumb link
« previous next »
Pages: [1] Print
Author Topic: Saved ads thumb link  (Read 1891 times)
DataBG
Newbie
*

Karma: 0
Posts: 10


View Profile
« on: May 05, 2007, 08:24:03 PM »

How i can put a link on the thumb in the saved ads. To show up the full information you need to click on "View details" link but thats not so good option. The most users will try to click the image. So, how i can make my thumb image in the "Saved Ads" to be a link ?
Logged
DataBG
Newbie
*

Karma: 0
Posts: 10


View Profile
?
« Reply #1 on: May 11, 2007, 06:53:33 PM »

any support here?
Logged
Smart Girl
Administrator
Full Member
*****

Karma: 5
Posts: 224


View Profile
« Reply #2 on: May 14, 2007, 05:40:24 PM »

Support is here!

You need to make the following changes:
the "known.php" file, line 242:
   
Code:
$template_processor->assign('value', $value);
   
Add the following code before the above line 242:
   
Code:
$value = html_display($column);

if ($data_array['full_form'] && $column['fullform_link'])
$value = '<a title="View Details" href="?id=' . $data_array['m_id'] . '&form_display=' . $data_array['full_form'] . '">' . html_display($column) . '</a>';

the "known.php" file, line 205:
               
Code:
$result .= html_display_form_($data_array, $template_processor);

Add the following code after the above line 205:
               
Code:
$data_array['full_form'] = $form_display['full_form'];

There is the "Saved Ads" form in the Admin Panel in the "Display Forms" section. Each field of this form has the 'Set "View Details" Link'  checkbox defining if a link is used.

Logged

DataBG
Newbie
*

Karma: 0
Posts: 10


View Profile
« Reply #3 on: May 30, 2007, 07:44:49 PM »

I`m not sure you unterstend me. I Have View Details link, but the thumnail picture above its not a link. I just want to click on the image and go to see the details. I want to make my thumbnal image above to be a link like "View details"
and in mine known.php
line 242 is:
            $template_processor->assign('value', html_display($column));
and line 205 is:
         $box = html_display_form_group_standard($data_array, $a['id'], $template_processor);
« Last Edit: May 30, 2007, 07:57:04 PM by DataBG » Logged
DataBG
Newbie
*

Karma: 0
Posts: 10


View Profile
« Reply #4 on: June 06, 2007, 05:41:47 AM »

any help please ?
Logged
flicker
Newbie
*

Karma: 0
Posts: 5


View Profile
« Reply #5 on: June 21, 2007, 02:56:04 PM »

Hi DataBG

Open the file "db_search.php" (root\system\modules\classifieds\user\functions\db_search.php)
in the line 292
replace
Code:
$strings .= '<a class="action" href="?id='.$arr['id'].'&form_display='.$frm1['full_form'].'">[b]View Details[/b]</a> | ';
with
Code:
$strings .= '<a class="action" href="?id='.$arr['id'].'&form_display='.$frm1['full_form'].'"><img src="'.SITE_URL.'test.jpg" alt="" border="0"></a> | ';

where test.jpg is your image file which you should paste in the root directory 

P.S. root directory- Where the product  is established.

Best regards Flicker

« Last Edit: June 21, 2007, 03:41:58 PM by Support » Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Classified Software by Worksforweb Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!