HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Downloads Summary?

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#45794 (In Topic #10017)

Non-joined user

I just got ocportal the other day and I'm loving it so far but I have a question that I can't seem to find the answer to. :$ I'm guessing I missed this setting somewhere

I've noticed that the entire text the author has put as a description for their download is showing up in the download category with the thumbnail, instead of a summary (like the news).
This means if the author wrote a really long description, it takes up the entire download category page. Making it so people have to scroll to see the next download in that category.

So I'm wondering if it's possible to shorten the amount of characters that can be put into that download category view, so they can click on it and read more, like what is currently available in the news category.

Help please? :)
Back to the top
 
Posted
Rating:
#45800
Avatar

Hi,

When adding the download expand the 'Advanced' section of fields. You'll find an 'Additional Information' field, which you could use to put the bulk of your description (leaving Description more like a summary).

Alternatively it is possible to make template edits to shorten text displayed in certain places (using the Tempcode 'TRUNCATE' symbol on something before it's output).


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#45845

Non-joined user

thank you for replying
sorry to ask another question, but which template would the download description in the gallery be? BLOCK_MAIN_DOWNLOAD_CATEGORY.tpl?
Back to the top
 
Posted
Rating:
#45846
Avatar

Hi,

I'm not sure what you mean by 'download description in the gallery'? The 'gallery' bit in particular.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#45876

Non-joined user

sorry for the confusion
what i meant by gallery is….the users browse the download categories and see thumbnails and (ideally) a short description of the download so they can quickly skim through the download pages
Back to the top
 
Posted
Rating:
#45881
Avatar

The tempcode change would be something like:

Code

{DESCRIPTION}
to:

Code

{$TRUNCATE_LEFT,{DESCRIPTION},300,1,1}

and it would happen in these templates:
  • DOWNLOAD_3
  • DOWNLOAD_3_pic


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#45989

Non-joined user

thank you! exactly what i wanted :)
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: