|
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
|
|||
|
|||
Custom field thumbnail link problem?
Hello,
I decided to create a custom thumbnail field for my forum. Now when i try and display it on the template $post['gars17'] -- it displays 1/thumb_canon-710-is-review.jpg,1/canon-710-is-review.jpg How do i seperate the two? because obviously http://www.site.com/1/thumb_canon-71...-is-review.jpg isn't a valid img source Thankyou |
#2
|
||||
|
||||
You will need some sort of module/logic to break the two appart. Some custom fields have multiple values that are comma seperated. In this case, the image is a comination of pathtothumbnail,pathtooriginal
A simple hook or module would do it for you |
#3
|
|||
|
|||
I can't even figure out how to do a module or hook to handle this problem.
__________________
Please use the Bug Tracker to report any bugs or possible problems. ThevBCoder.com - The site that brings you scripts that give you 'It!'. My trip to AZ was a success |
#4
|
|||
|
|||
I would have thought GARS would have come with that? being an option in the custom fields, what else is the thumbnail field used for?
|
#5
|
||||
|
||||
There is a module for that... its the custom fields module. If you want to format in other ways otside of that module, you need the logic that the module uses
|
#6
|
|||
|
|||
Could you please elaborate a little more? I have used php to locally seperate the two.. but i'm not sure where i would place it in the GARS system? Or how to adapt it
|
#7
|
||||
|
||||
The fastest and easiest way would be to create a php file in your geek/gars/mods/display folder with something like the following in it:
PHP Code:
Then add your newly named module to the set in question. HTHs |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with custom field thmbnail to original image | playeradvance | Geek Article and Review System | 8 | 06-08-2007 06:12 PM |
Issues with Custom Field that offers Thumbnail + Url | Praetorian | Geek Article and Review System | 17 | 05-31-2007 02:24 PM |
Header Image/Custom Field Thumbnail | Jei | Geek Article and Review System | 4 | 05-21-2007 08:41 AM |
Custom Field Problem | soultrader | Geek Article and Review System | 2 | 10-03-2006 10:09 PM |
Custom Field problem | spadez | Geek Article and Review System | 1 | 09-24-2006 09:36 AM |