I've used up all of pligg's 15 extra fields and need to add more.
Is it safe for me to add additional extra fields to pligg?
And if so do the steps below cover everything i need to do?
db
Add new extra fields columns to links table
submit.php
- for each new extra field add additional $main_smarty->assign('submit_link_field15', $linkres->link_field15);
submit_step_3.tpl
- for each new extra field add additional $linkres->link_field11 = trim($_POST['link_field11']);
submit_extra_fields.tpl
- add html form element for each new extra field
link_summary.tpl
- add new extra fields
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| How can I add more extra fields (i've used all 15) |
| |||
|
... ... *bump* ... ...
|
| |||
|
Hey, I just added a new extra field and it works for me. Here is a complete list of files I had to edit. Basically you just need to look at the code and copy&paste all lines which have extra_field15 or link_field15 and increment it. # DB, table pligg_links # /libs/extra_fields.php # /libs/extra_fields_smarty.php # /libs/link.php # /submit.php # /templates/YourTemplate/submit_step_3.tpl # /templates/YourTemplate/submit_extra_fields.tpl # /templates/YourTemplate/link_summary.tpl Hope it helps. |
| |||
|
Nice this should be a sticky thanks
__________________ www.mediacrumb.com |
![]() |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Fixes to Profile Extra Fields Module v0.2 and Extended Profile Module v0.1 | redwine | Modification Tutorials | 3 | 10-18-2008 10:28 AM |
| Enable Extra fields | johnvgross | General Help | 5 | 02-14-2008 10:45 PM |
| How to link Extra fields in Profile to pull information from user table in database | pliggnewbie | Modification Tutorials | 0 | 04-12-2007 01:59 AM |
| search extra fields | cruci | General Help | 1 | 11-02-2006 05:17 PM |
| what are extra fields? | inggenia | General Help | 4 | 10-08-2006 12:51 PM |




Linear Mode

