Reply New Topic
2010/10/11 12:34:45
#1
Offline
Just can not stay away

RMSoft MyFolder: Adding Extra Fields For Portfolio Items

Is this possible? I know that through the code I was able to have fields hide themselves when/if empty using what is described in this thread. Can this same file be altered to accomodate extra threads such as "Alternative Host Site:" or "Year:"


2010/10/11 22:40:37
#2
Offline
Home away from home

Re: RMSoft MyFolder: Adding Extra Fields For Portfolio Items

I don't know RMSoft's MyFolder that well, but are
"Alternative Host Site:" or "Year:" existing fields for MyFolder
or did you think you need those fields and would you like to add them?


2010/10/11 22:47:48
#3
Offline
Just can not stay away

Re: RMSoft MyFolder: Adding Extra Fields For Portfolio Items

They are not already part of RMSoft MyFolder, so I would like to add them.


2010/10/25 18:41:04
#4
Offline
Just can not stay away

Re: RMSoft MyFolder: Adding Extra Fields For Portfolio Items

Quote:

I don't know RMSoft's MyFolder that well, but are "Alternative Host Site:" or "Year:" existing fields for MyFolder or did you think you need those fields and would you like to add them?



Namely, a way to manage the fields (and I suppose this would require some modification on the mysql database when it comes down to it), which would include adding some and having some hide themselves if the field is left empty.

Now that I think about it, maybe that is beyond RMSoft MyFolder's capabilities.


2010/10/27 8:56:42
#5
Offline
Webmaster

Re: RMSoft MyFolder: Adding Extra Fields For Portfolio Items

Hi WebMistressM,

adding fields means changing the database structure underneath. I don't know the structure of RMFolder that well, but it might be complicated. I'll have a look, as I haven't used that module yet in a site of mine.

You might consider using the "Formulize" module. It's a bit hard to get up and running, but it can give you the flexibility you need.

_________________

Me on Ohloh


2010/10/27 9:40:21
#6
Offline
Just can not stay away

Re: RMSoft MyFolder: Adding Extra Fields For Portfolio Items

Quote:

adding fields means changing the database structure underneath...



Yeah, I figured I would have to add some tables to a section of my database. Shame because the portfolio fits in every way but some extra fields would be nice instead of trying to fit it all in the desc. field.


2010/10/27 14:33:20
#7
Offline
Webmaster

Re: RMSoft MyFolder: Adding Extra Fields For Portfolio Items

If that's the only change you need, perhaps someone here could help you alter the module to fit your needs. I'm away for a few days starting tomorrow, but if nobody helped you in the meantime I'll have a look when I get back.

In the case that the module is 95% what you need, duplicating everything in Formulize would be time-consuming and overkill.

_________________

Me on Ohloh


2010/10/27 18:38:09
#8
Offline
Just can not stay away

Re: RMSoft MyFolder: Adding Extra Fields For Portfolio Items

Well, I had actually thought maybe I would have to live with it. I still do have to work some conditional statement in one of the module's template files, to hide empty the empty fields (such as testimonials).

Short of communicating with the author of this one, let me know if you have a solution. It seems like one only needs to change a few lines of code. I hope.


2010/10/28 4:02:59
#9
Offline
Home away from home

Re: RMSoft MyFolder: Adding Extra Fields For Portfolio Items

Quote:

adding fields means changing the database structure underneath...


Adding fields means:
1) Change Database structure
2) Change files in admin section to make sure that you can add the desired information in those fields (add fields to edit forms)
3) Change files in admin section to make sure the entered information is saved in the database
4) Change templates to display those fields

An alternative is to connect the module to the Impress Persistable Framework (IPF) which will do tasks 1, 2 and 3 for you.
Connecting to IPF however is somewhat of a difficult task that should be documented clearly in our new upcoming Wiki


Edited by UnderDog on 2010/10/29 7:40:41
_________________
Which modules are you using? | Dedicated Module Team | ImpressCMS is Redesigning their sites, Join the discussion!

Reply New Topic extras
 Previous Topic   Next Topic
You can view topic.
You can start a new topic.
You can reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You can post without approval.