|
Geek Article and Review System GARS is the mega popular system for turning forums into articles, tutorials, or even reviews. |
Advertisement | |
|
|
Learn how to remove ads |
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Attachment Module... adding a basic static link after the attached files
I'm going to be putting these music files onto my site, but they're specialized enough, to where an average internet user won't know what they are.
So, I'm already going to be changing the attachment module to "Music" ---(thanks from the help other people offered). And what I'd like to do then, is have the music file attached and then right beneath that have a static link that says "What's this?" and have that be linked to a page I'll create that talks about what the type of music file it is. Can this be done by just adding a static link inside the template that the attachment's module is drawn from? like... just somewhere in the code place the static link I'd like to have? Thanks in advance |
#2
|
||||
|
||||
hmmm. Thats sounding a bit more complex. More of an attachment hack then anything else (i.e. attachment descriptions that can take a URL).
I think a module could get messy with that, however it does depend on how it would be used. hmmm. |
#3
|
|||
|
|||
Well I'm just seeing it work like this:
Attachments blah blah blah blah What's This? So it'd almost just be a very simple hack where I would go into the code find the area where it's still inside the module box but before it goes to the outside of the box... and just add a standard link to that page. |
#4
|
||||
|
||||
I honestly think the best way to accomplish what youre after is by adding 2 fields to your attachments table (description and url) and then adding the relevant hook code to accept both when uploading an attachment.
|
#5
|
|||
|
|||
Quote:
|
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
GPOP + GARS Attachment Module = Uber? | Tigratrus | Geek Article and Review System | 2 | 12-19-2006 02:10 PM |
Attachment Module showing even though no attachments | Brent | Geek Article and Review System | 1 | 05-29-2006 08:14 AM |
Attachment Module Question | FRAiD | Geek Article and Review System | 3 | 04-26-2006 04:41 PM |
Module Creation... I've read a lot, here's a basic request/inquiry | FRAiD | Geek Article and Review System | 10 | 03-07-2006 03:57 AM |
Show attachment module only to article poster and select usergroups? | Brent | Geek Article and Review System | 9 | 11-16-2005 06:57 AM |