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.


Rearrange items on the catalog list page

Login / Search

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

Community saint

I want to make the following change in my catalog listing page. I want to move the picture to the first column and shift everything to the right. I realize I could change the order of items in the catalog but then I would need to change both catalog block on the home page (recently added images) and the catalog entry detail page.

So I think I have figured out the right template: CATALOGUE_DEFAULT_TAB_WRAP.tpl. I can see where they step through then items and then display them (at least, I think that's what I am seeing) but I have no clue how to move the last item to the first column and then display each item one column to the right.

Am I even in the right template? Is this a doable task? Or would I be better off changing the item order and then working through the issues in CATALOGUE_image_galleries_ENTRY_EMBED.tpl and CATALOGUE_image-galleries_ENTRY.tpl?

Any input is appreciated.

Bob

EDIT: Meant to attach this the first time.


Last edit: by BobS
Back to the top
 
Posted
Rating:
#75927
Avatar

That would be very hard to achieve.

You'd be better off using the order for the output tabular order you want, and as you say handling those other two templates manually.

It's a lot easier to move stuff around within these single templates than worry about restructuring a wider table.


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

Community saint

Chris-

Had a hunch that was the answer especially after looking at the code for the three files. I've already dabbled in the other two so it should not be too difficult.

Bob
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: