How can we set up something like a portfolio or gallery

In wordpress we can easily create portfolio’s and galleries.

For example we create a page called portfolio, and we can create content for that page. Adding images or attaching images to the content, which is stored in a named category. Currently I have a need to do something like this, and I do not see how I would go about it.

As it stand the categories are blog related only, and there is no way to say that a category is for a page only. This means that creating a gallery of work, is not possible.

Are there plans to go in this direction sometime soon?

Pages can be categorized. There is a panel on the right side for it. What I am struggling to see is how to easily retrieve them or use them in the ui.

How would you like to retrieve pages?

Hi Luis,

Is there any plans for adding a subscribe function to the blog?

MJ

Yes I can see that they are categorised, but the category name is shared across all content types.

Maybe when getting categories, it can be filtered based on content type?

To explain better, I want to create a portfolio of work. This is a custom template, that I would like to pull up and display, a snapshot of new work. Later I would like to create a post that is like a blog entry but will be of content portfolio.

Hope this is making sense, up to now.

So the idea is that the entries can be attached to a page / content type, not sure how this is going to work at the moment. But the idea is that a blog page would not display content for portfolio and portfolio would not display content for blog.

Does that make sense?

If you have ideas or solutions I would like to throw it out there for an open discussion, Wordpress can do something like this but it is a pain to set up and get going.

That and a contact page?

These are two plugins I wanted to create, but have found that it requires the use of a module, view and widget all rolled into one. Which is why I asked earlier is the a way to do this sort of thing. Then one could write a widget to do subscriptions with handler functionality, and interception points to listen to content creation etc.

As I see it now, I don’t see any easy way to roll all this into one module. Unless I am missing something.

LOL, yea, I didn’t get it. I never did this in wordpress so not sure, but yea, let’s see how we can figure this out, because, categories on pages are not being utilized now, so maybe coming up with more abilities via the CB helper to retrieve content would be good right?

So let’s keep it under discussion to see what would be the easiest for developers or contentbox users to do that

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano

Yea, so let’s take the subscription example as a module?

  1. You need to place the subscription form somewhere in your layouts, this could be done via interception points but you have not granular control, so more like in your layout you render it out. This could be via a widget or a viewlet, I would probably go with a viewlet.
  2. The handler of the form it submits to would have to be the module event it submits to and then redirects somewhere.

Now the question would be, should this be a module or core?

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano

Agreed, the one thing that I see now, and maybe someone else can offer more suggestions. Is that maybe the categories can be tied to the content type, at the moment we have really 2 types, pages and blog entries.

So if we create a page, and give it a category for later use, we could potentially create pages to a certain category. But the problem is at the moment, pages are not blog entries, so when one is viewing the blog these categories shouldn’t be seen in that area.

Now I used portfolio as an example, because we might create a category called gallery. So that pages, or content could be attached to display them outside of a blog. For the sole purpose of creating a page that is a showcase for a portfolio.

That’s currently where I am thinking at the moment, implementation and ease of use is going to be a bite different down the track I think.

I am in the process of looking at this now, and looking at how to best keep the two areas separate from each other.

Well I don’t think it needs to be core, but I think a module would be enough. But then having said this, it would be something that wouldn’t be easy to release as a plugin. For example what if I write a theme, and I want this functionality, then I would have tow separate areas that need updating into the system.

Could a theme, be packaged with a module to also add this to the theme?

That would be more to the question, if that is not the case then complete packages would be difficult to write and release as a whole.

Has there been any resolution to this? A subscribe function is definitely a necessary feature.

Not sure i understand your question. Pages can be related to categories as well.

Luis Majano
CEO
Ortus Solutions, Corp
Toll Free/Fax: 1-888-557-8057
Direct: 909-248-3408
www.ortussolutions.com
Twitter: @lmajano, @ortussolutions