BetterWindowsSoftware.com banner

BetterWindowsSoftware.com
Software Forums | BetterWindowsSoftware.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Category displayed as link

 
Post new topic   Reply to topic   printer-friendly view    BetterWindowsSoftware.com Forum Index -> PADKit 2.09 MOD (PADkit 2.09)
View previous topic :: View next topic  

Rating
Excellent
0%
 0%  [ 0 ]
Very Good
100%
 100%  [ 1 ]
Good
0%
 0%  [ 0 ]
Fair
0%
 0%  [ 0 ]
Poor
0%
 0%  [ 0 ]
Total Votes : 1

Author Message
admin
Site Admin
Site Admin


Age: 39
Joined: 09 Aug 2006
Posts: 43
Location: Somewhere in USA

PostPosted: Mon Jan 22, 2007 5:07 am    Post subject: Category displayed as link Reply with quote

Please feel free to comment on this MOD in this forum.

Code:

##############################################################
## MOD Title:           Category Displayed as Link
## MOD Author:          BetterWindowsSoftware http://betterwindowssoftware.com
## MOD Description:     This is a simple MOD that will change each listing's category value to a link that will display items in that category.
## MOD Version:         1.0.0
## PADKit version:      PADKit 2.09.
##
## Installation Level:  Very Easy
## Installation Time:   <5 Minutes
## Files To Edit:       (1)
##                      showpads.php
## Included Files:      N/A
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
##
## Before applying this MOD to your site, you should back up all files related to this MOD as well as your database if applicable.

#
#-----[ OPEN ]------------------------------------------
#
showpads.php

#
#-----[ FIND ]------------------------------------------
#
  $category = $query["category"];

#
#-----[ AFTER, INSERT ]------------------------------------------
#
  // Category as Link MOD begin
  $catlinktext = "<a href='showpads.php?cat=".urlencode($category)."'>$category</a>";
  // end of Category as Link MOD

#
#-----[ FIND ]------------------------------------------
#
                <b>Category:</b> $category

#
#-----[ REPLACE WITH ]------------------------------------------
#
                <b>Category:</b> $catlinktext "; /* for Category as Link MOD - changed "$category" to "$catlinktext: */ echo "

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM



CategoryLinkMOD.zip
 Description:

Download
 Filename:  CategoryLinkMOD.zip
 Filesize:  759 Bytes
 Downloaded:  102 Time(s)

Back to top
View user's profile Send private message Send e-mail Visit poster's website
admin
Site Admin
Site Admin


Age: 39
Joined: 09 Aug 2006
Posts: 43
Location: Somewhere in USA

PostPosted: Sat Mar 03, 2007 7:27 pm    Post subject: Reply with quote

If you have implemented this MOD with your PADkit website, why not post a link to your site either here in this topic, or in our "Other Download Sites" directory.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   

Similar topics
Post new topic   Reply to topic   printer-friendly view    BetterWindowsSoftware.com Forum Index -> PADKit 2.09 MOD (PADkit 2.09) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum