![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| You're welcome :)
__________________ Viral Videos Vault |
| Sponsored Links |
|
Check out the New Modules at the Pligg Pro Shop.
|
| |||
| thanks for the code update jon - neil
__________________ Viral Videos Vault |
| ||||
| very nice! I will add to the bottom
__________________ like travel?? want know the China? want to go beijing2008? just go www.hibeijing2008.com |
| |||
| Is there also a tutorial for yget template available? |
| |||
| i'll be doing one. please wait for it :)
__________________ Viral Videos Vault |
| |||
| Awesome trick! I had placed a table in header.tpl of my YGET template, and inserted my google code there, along side my logo image. The trouble was it showed on every page. I took your "if" argument, and used it around my google code and it works like a charm. The only problem I had was when I first did it, using the " " around the pagenames I got a MySQL error. I changed the " " to ' ' and all was well. My mods to header.tpl began after line 36. PHP Code: Last edited by Critter183 : 03-09-2007 at 01:59 PM. |
| The Following User Says Thank You to Critter183 For This Useful Post: | ||
| |||
| i'm requesting those who liked this post if you can digg the topic (if you have a digg account). just go to the blog and click on the "digg it" button. many thanks!
__________________ Viral Videos Vault |
| ||||
| Yeah, I dig it man. Got a rarely used account. I use netscape more, so will netscape it! On question though - the whole "if" thing led me to want to try new things. I would like to set a banner which will show depending on words in other parts of the URL. i.e. at the end, or anywhere, so e.g. if bodybuilding appears anywhere in the URL, then show a bodybuilding banner. How is that done? The code seems to only look at the first word in the URL (i.e. search, index, story). Anyway, I also made the same mistake with the " and ' I tried to mention on the blog but my message was poorly formatted! ( I see it has been cleaned up!) The Netscape page: http://diy.netscape.com/story/2007/0...ement-tutorial THe Digg page: http://www.digg.com/programming/Plig...ement_Tutorial Last edited by jon : 03-15-2007 at 09:10 AM. Reason: Netscape URL added |
| ||||
| Another enhancement. I am now using the yget template, and adding "upcoming" means ads on the unpublished pages. {if $pagename eq "index" || $pagename eq "story" || $pagename eq "search" || $pagename eq "upcoming"} Working example: http://www.morrowtech.co.uk/upcoming.php Cheers, Jon. |
![]() |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Pligg and Advertising | popo | General Help | 2 | 01-16-2007 12:16 AM |
| Pligg Fundraiser | Yankidank | Retired Threads | 21 | 10-25-2006 04:17 PM |
| Page titles & breadcrumbs | AshDigg | Core Development | 11 | 06-30-2006 06:35 PM |





Linear Mode

