Block lists
Permalink 2 users found helpful
We have page lists to give links to pages but is there a "Block List" to move within the page to a particular block. We have a long page of blocks and want to give another option to scrolling down.
We could fake it with page list and duplicate the content on separate pages but that seems to nullify the reasoning for using a CMS using multiple access to a single source.
It seems a simple thing to want to do and it exists in other design packages. Just can't see it in C5.
Thoughts?
We could fake it with page list and duplicate the content on separate pages but that seems to nullify the reasoning for using a CMS using multiple access to a single source.
It seems a simple thing to want to do and it exists in other design packages. Just can't see it in C5.
Thoughts?
Thanks MHawke
Simple and does the trick.
Simple and does the trick.
I had a similar need for something like this and figured out how to display the blocks that have been added to a particular area of a particular page, but it sounds like what you need is a link to jump to that block's position on that page, which I decided was easier to do using a SQL query.
An idea I had that might work for you is to duplicate the area name within the page template of your theme (using the same area name means you get two lots of the content, not two unique areas), then add a custom template for each of the block types used on that page to include two sections - a link to an anchor and then the content itself. Then, in the first area you use CSS to set everything to be hidden apart from the links, and in the second area set the links to be hidden, thus leaving the content. Does that make sense? It'd mean having two lots of the content load on the page, but it'd be a temporary solution until someone comes up with the answer.
An idea I had that might work for you is to duplicate the area name within the page template of your theme (using the same area name means you get two lots of the content, not two unique areas), then add a custom template for each of the block types used on that page to include two sections - a link to an anchor and then the content itself. Then, in the first area you use CSS to set everything to be hidden apart from the links, and in the second area set the links to be hidden, thus leaving the content. Does that make sense? It'd mean having two lots of the content load on the page, but it'd be a temporary solution until someone comes up with the answer.
My reading of the problem was that he was looking for an alternative to scrolling. If you duplicate the area names, you can only jump to one spot unless you start adding a bunch of duplicate area's but that's getting crazy. @juliandale, have you tested the duplicate area technique fully? Sounds dangerous to me.
On one site, I used the free 'Fancy Image Links' block to add internal page links.
http://www.concrete5.org/marketplace/addons/fancy-image-links/...
Just choose the 'External URL' option put in '#block2' (for example) as the 'external URL'. You still have to add the matching anchor down the page further but this block allows you to add an image that the visitor clicks on to scroll down. You can't add just text for the link unfortunately but I modified the block so I could do that.
On one site, I used the free 'Fancy Image Links' block to add internal page links.
http://www.concrete5.org/marketplace/addons/fancy-image-links/...
Just choose the 'External URL' option put in '#block2' (for example) as the 'external URL'. You still have to add the matching anchor down the page further but this block allows you to add an image that the visitor clicks on to scroll down. You can't add just text for the link unfortunately but I modified the block so I could do that.
There is a very neat Table of Contents block currently in the PRB that will provide a table of contents with in-page links based on headings, images and tables, all configurable to pick out a consistent level of detail through a page.
PRB ???
PRB = Peer Review Board.
Its the process of review all addons go through before being added to the marketplace.
So what I mean by 'in the PRB' is that an addon to do a table of contents has been submitted for review and, when the review is complete and various improvements and fixes are made, will, within a few weeks, be available for downlaod through the marketplace.
Its not one of my addons, but as one of the reviewers I can say it is a well built piece of code and one that I will probably be using for some of my own sites.
Its the process of review all addons go through before being added to the marketplace.
So what I mean by 'in the PRB' is that an addon to do a table of contents has been submitted for review and, when the review is complete and various improvements and fixes are made, will, within a few weeks, be available for downlaod through the marketplace.
Its not one of my addons, but as one of the reviewers I can say it is a well built piece of code and one that I will probably be using for some of my own sites.
Hi John,
Has this been released yet?
I'm trying to build a one page website with multiple sections. Each section is what would correspond to a page in a multi-page websete, e.g. there is an 'about' section and a 'contact' section.
This block sounds exactly like what I need.
Has this been released yet?
I'm trying to build a one page website with multiple sections. Each section is what would correspond to a page in a multi-page websete, e.g. there is an 'about' section and a 'contact' section.
This block sounds exactly like what I need.
There are several themes available in marketplace which will work like same. Try to check those.
Rony
Rony
I'll have a look. I did notice a one page theme.
I actually already have a working page using a free css3 template that I downloaded. I'm trying to figure out how to make it work with c5.
Thanks.
I actually already have a working page using a free css3 template that I downloaded. I'm trying to figure out how to make it work with c5.
Thanks.
Hi Rony,
The Long Story Short theme seems to be what I want.
It seems to be derived from the same Bootstrap source as the template I have.
Thanks again.
The Long Story Short theme seems to be what I want.
It seems to be derived from the same Bootstrap source as the template I have.
Thanks again.
That's great, then it will be easy for you to customize the theme.
Rony
Rony
Yes, table of contents is now released.
Is that the $20? table of contents addon?
Alan
Alan
To build such a link, just add an HTML block wherever you want the link to go that will take the user to a section further down the page. In this HTML block add this code:
Further down the page, add another HTML block just before 'section 2' starts and put this code in it:
Now when you click on the top link, the page will scroll down to section 2.