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.


Can blocks be added to gallery view pages?

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#59563 (In Topic #12968)
Avatar

Community saint

Can blocks be added to gallery view pages?

I have been having some brain storms and they are generating some questions that someone here may have the answer to. I am wondering if anyone has had experience with adding blocks to the gallery view pages? I am thinking you would have to add the block code to the .tpl page or maybe add some code to the Description area or maybe you just have to comcode some it from scratch?

What is bringing this to the surface is wanting to link to other pages on the site that are of similar subjects. Also I would like to have a cc entries lists which tie into the gallery page subject.

I will also be looking to see how to at least link the CEDI subjects that relate to the page image.


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Rating:
#59566
Avatar

Community saint

Friendly, I don't know if this will be helpful, but it is possible to add blocks or anything else (html) with the picture page editor. Here I've added the "chat block" as an example.

Back to the top
 
Posted
Rating:
#59568
Avatar

Community saint

Thanks again Islander-aua. I am glad to know it is possible.

While I was out this morning I got to thinking you can just enter in the code for the particular block in the description box. I was going to try it when I got home, then I got your response to confirm the process. This opens up a lot of possibilities!


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Rating:
#59583
Avatar

You can also put it in templates. There's a 'BLOCK' symbol but perhaps the easiest way would be…

Code

{$COMCODE,[block]...[/block]}


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:
#59590
Avatar

Community saint

OK this is cool to, thanks. I am loving ocPortal!


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: