1
tedsmith
SmartClient - Directing users to a clients profile page as opposed to their website homepage?
  • 2007/9/27 10:17

  • tedsmith

  • Home away from home

  • Posts: 1151

  • Since: 2004/6/2 1


Also asked here but how and what file or template do I edit so that when a user clicks a client image they are taken to the clients description page (i.e. the 'Read more...' page of the client in the module) as opposed to their actual homepage website?

2
aph3x
Re: SmartClient - Directing users to a clients profile page as opposed to their website homepage?
  • 2007/9/27 11:15

  • aph3x

  • Theme Designer

  • Posts: 834

  • Since: 2004/12/26


I'm guessing you are talking about category view..if thats the case:

search for this line in smartclient_index.html:

<{$client.urllink}><img src='<{$client.image}>' alt='<{$client.title}>' title='<{$client.title}>' />a>


replace
<{$client.urllink}>
with
<a href="<{$xoops_url}>/modules/smartclient/client.php?id=<{$client.id}>" target="_self">


Hope that helps
Everything I'm not made me everything I am
The Themes

3
tedsmith
Re: SmartClient - Directing users to a clients profile page as opposed to their website homepage?
  • 2007/9/27 12:14

  • tedsmith

  • Home away from home

  • Posts: 1151

  • Since: 2004/6/2 1


Thanks a lot DB. I was on the right lines. I'd adjusted that value with the URL of profile page but I think I'd messed the syntax up which made it work incorrectly and made me assume I was looking in the wrong place! You have demonstrated how it is supposed to look so I'll try that tonight and let you know how I get on.

Thanks a lot for taking the time to help.

Ted

4
tedsmith
Re: SmartClient - Directing users to a clients profile page as opposed to their website homepage?
  • 2007/9/27 12:19

  • tedsmith

  • Home away from home

  • Posts: 1151

  • Since: 2004/6/2 1


I have just tried it now, in fact. And yes - that has worked!! Thanks so much.

5
aph3x
Re: SmartClient - Directing users to a clients profile page as opposed to their website homepage?
  • 2007/9/27 12:25

  • aph3x

  • Theme Designer

  • Posts: 834

  • Since: 2004/12/26


you're welcome
Everything I'm not made me everything I am
The Themes

Login

Who's Online

385 user(s) are online (223 user(s) are browsing Support Forums)


Members: 0


Guests: 385


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits