LIst Columns

4 posts by 2 authors in: Forums > CMS Builder
Last Post: Yesterday at 4:59pm   (RSS)

Is their a way of showing the name of a file that has been uploaded for each item in a multi record list, so for example if a pdf is loaded up the file name can be displayed in the List Columns in the section editor?

List Columns

Thank you.

I have created a plugin file but I'm not sure I've done it correctly or loaded it up to the correct place, nothing has changed but I can see it in the Developer's Plugin Hook List.

List Columns

Hi MercerDesign,

I have run and tested this code before I posted, so I am sure the actual code works. Make sure you have the following set up:

  1. Make sure the plugin file you created is activated and is in the active plugin section.
  2. Make sure you replace the table name and the field name to reflect your table and field you want to target. In my example I used "test_table" and "documents" but yours will be different.
  3. The field name is referenced in a couple places so make sure all have been replaced.

If you have done all these things and still see no change, you can always post your entire plugin file and I can take a look. If all is good I should be able to take your file, change the table and fieldname as appropriate and it should just work.

Let me know how things go. :)

Tim Hurd
Senior Web Programmer
Interactivetools.com