![]() |
|
|||||||
| Register | Projects | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| v3.1 Modifications Questions on modifying 68 Classifieds. Please note these are not supported by 68 Classifieds, and may make future updates more difficult. |
|
|
Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
Hi there,
I had a few users request this and got it working by shamelessly ripping off the administration\listinginfo.php file but it works ! although requires developer version. Remember test on dev and backup your files on live before changing stuff ! In usercheckout.php add the following code for case 5 between just before the line //get the total number of images PHP Code:
Add the following before the line $class_tpl->assign('body','checkout/step4.tpl.php'); in the same section PHP Code:
You now need to modify you template to show the images, the file is 'checkout/step4.tpl.php'. How you choose to display them is up to you now you have all the info in the template, I display them horizontally at the top and use lightbulb so in a cell my code looks like: PHP Code:
Here's the result You'll only ever see your max number of picture -1 in this screen as your automatically forwarded on when you hit your limit. There you go hope its of use to someone else! Mully |
|
#2
|
||||
|
||||
|
Looks great, I may try that once I get a few other bits done
__________________
Wiki for horses v.4. In progress!! Stable Ads v.3.0.14 Everything for Jobs v.3.1.4 |
|
#3
|
|||
|
|||
|
Used this on my site, awesome!
Thanks. |
|
#4
|
||||
|
||||
|
Nice job, hope to see this as standard in all new releases, I don't know why it wasn't
__________________
Costa del Sol Spain v3.1.7 Developer �Powerful you have become, the dark side I sense in you.� |
|
#5
|
||||
|
||||
|
Nice job Mully and thanks for sharing it with the board.
Quote:
__________________
Back and Raring to Go!!!!!!!!!!!!!! Maffo.co.uk including.. Maffo News Mod - Classified Software |
|
#6
|
|||
|
|||
|
can anyone tell me how to format the upload window to automaticall push photos to a new line or new row? I deal in large quantities of images, and after 6 or 8, the window keeps expanding off the right side of the page rather than new-lining and going to the next row. I have tried fooling with the table size, but can't get it to hold its width correctly.
Can someone give me a hand? Thanks - by the way, this is an incredible addition to 68C !!! |
|
#7
|
|||
|
|||
|
I changed: cols=$numimages
To: cols=4 This starts a new line after 4 images. |
|
#8
|
|||
|
|||
|
fantastic - thank you!!!
will this still bounce users ahead to the next step in listing an ad after they've used their allotted number of images? |
|
#9
|
|||
|
|||
|
Yes, for me it does. It shows a preview for all except the last image, because it forwards you at that point.
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Uploading photos page- change button name | zman78 | v3.0 Questions & Support | 11 | 08-11-2007 01:33 AM |
| 'Users Awating Email Confirmation� group. | SkGold | v3.1 Suggestions and Feedback | 2 | 07-18-2006 04:30 PM |
| Users able to upload photos in excess of package limit | civ | v3.0 Questions & Support | 2 | 06-02-2006 11:14 AM |