View Full Version : Link detail pages
Jim_Westergren
12-31-2005, 05:23 PM
I would like to have link detail pages for my dir.
I have seen that lankkatalogen.se has something similar.
And then a tpl file for those pages that I can design myself with variables.
Has it been done? Does it cost me? How much?
Thanks.
John D
12-31-2005, 08:33 PM
Not sure if it's the same thing but there's a request below this post that could be similar anyway.
Jim_Westergren
01-01-2006, 04:25 AM
Thanks a lot John, I missed that.
thompson
01-01-2006, 05:39 PM
here is a simple way to show detailed pages with alexa thumbnails:
details.php:
Content visible to registered users only.
detail.tplContent visible to registered users only.
in link.tpl for example:
Content visible to registered users only.
(Edit by Boby: I have corrected this example for link.tpl because you have not used correctly BB tags (http://www.phplinkdirectory.com/forum/misc.php?do=bbcode) and the whole stuff was parsed as link, hiding the little detail of sending the link ID through the URL)
please note: i am not a profi ;) but feel free to donate me ;)
you can see it in action at http://www.sportsuche.info/index.php
Jim_Westergren
01-01-2006, 08:38 PM
Thanks!
Just what I needed.
PM your paypal e-mail and I send you some money.
thompson
01-01-2006, 10:22 PM
Content visible to registered users only.
your welcome.
this is what i unterstand at free software. ;)
you don“t have to pay for. you take a profit of me and i take profit of anybody else.
if you like it, set a link to my page. thanks.
ps: looks good at your site !
David
01-01-2006, 11:35 PM
Thanks for submitting this.
It will help us get started on this part of 3.0.
We are starting on the sitemap now. Then we will be doing the admin search, and we'll be darn close to release!
mikedippel
01-02-2006, 07:34 AM
Thanks Thompson for this mod, but I cannot get it to work properly. For some reason, it is not picking up the link information.
Can you check out: {broken link removed} and click on the Deatils link to see what I mean?
My site differs from yours in one way: I had to create a sub-directory to create my Directory, and your seems to be in the root directory. Not sure if this is the reason.
Also, where are the files placed? In the /templates sub-directory or the directory root?
thompson
01-02-2006, 08:33 AM
place the details.php in this directory where the index.php is. the detail.tpl have to be placed in directory templates.
i hope this may help you.
@david
thanks. please note, that it is a simple version that can be worked on.
Neticus
01-02-2006, 05:43 PM
This is just a suggestion but perhaps the details page can be further utilised by having quick links to specific pages within a website. From a maximum of say perhaps 8 links Link submitters could have this option on submission.
1
davcheong
05-18-2007, 12:13 PM
Am i missing something? When i try to implement or mod using the codes provided, i can't seem to see the detail result.
James
05-18-2007, 06:45 PM
what are you trying to add ..?
shadav
05-19-2007, 02:06 AM
it doesn't seem to work i installed it on v2.1.2 and can't get it to work right...it won't display the details...i changed the alexa image code to msn.
it's like it's not pulling the ID info to post the displayed info (hope that made since....i tried looking through VSDan's contact us mod to see if i could see anything, but afraid i've no idea what i'm looking for....
however i did figure out lol
change
Content visible to registered users only.to
Content visible to registered users only.anyways you can see what i mean on my test site
and any idea on how to get rid of the white border around it?
davcheong
05-19-2007, 06:44 PM
Content visible to registered users only.
Before uploading or update the live server, i manage to do everything and tested, it can show details and data while on localserver, but once i've uploaded it live, its seem to come back to square. ??
By the way shadav, on your link-1 dot html website, its actually your table which are making the border :)
Content visible to registered users only.The class "formpage", delete it, the detail page isn't a formpage, it is a viewing page. Might use other class type for the table.
I think i found the reason why but cant really know how to solve it. When i turn off the rewrite option on the admin part, i can view details on any other directory list, but once i turn it ON. It went to no data at all.
Anyone can help?
shadav
05-19-2007, 07:14 PM
thank you, lol yeah, it's in the code for detail.tpl posted by thompson....
i'll keep trying to play around with it and see if i can't get some progress on it :)
davcheong
05-19-2007, 07:28 PM
Content visible to registered users only.
Any idea on the rewrite part? which i mentioned below?
shadav
05-19-2007, 08:19 PM
i've actually gotten it to work and with rewrite mod on but i'm asking david first before i post it here because i snagged some code from phpLD V3.2's detail.php for the grabbing the ID part and used it :D
but if you've managed to get it to work then add this part to the part that gets the id info
Content visible to registered users only.to see it working just check my site again
I added recpr. url, hits and then the msn images
[edit]lmfao, i forgot :D , to get it to work with phpLD's rewrite the way it comes you'll need to rename your pages to detail.php and detail.tpl also change the link in link.tpl
from Content visible to registered users only. to Content visible to registered users only.
davcheong
05-19-2007, 08:29 PM
Content visible to registered users only.
Man, we should congrat both of us. :) I manage to make mine work too. A little here and there and walla, presto...
Check out my new feature mod(ed) at heavy directory :)
shadav
05-19-2007, 08:35 PM
nice :) lol that reminds me gotta link the title to their site hehe thnx
tag team moding lol
for me it's more or less "Moding For Dumbies"
vBulletin® v3.8.0, Copyright ©2000-2012, Jelsoft Enterprises Ltd.