Show Parent in the page list
Permalink
I have a news link in the main nav with
news stories 1,2,3 as children.
On the home page I am placing the 3 most recent news stories at the bottom of the page. with the heading, thumbnail and the description as a snippet that links to the relative page.
Page 1 of the news stories is the parent so how would I show this in the list as well as the childern?
Thanks
news stories 1,2,3 as children.
On the home page I am placing the 3 most recent news stories at the bottom of the page. with the heading, thumbnail and the description as a snippet that links to the relative page.
Page 1 of the news stories is the parent so how would I show this in the list as well as the childern?
Thanks
Hmmm not quite.
Having thought about it I need to do something different.
I would like the most recent article to be the first one you see but the parent will be the first article.
I think what I would like to do now is when you click news you will bypass the parent and go straight to the child... is this possible?
Having thought about it I need to do something different.
I would like the most recent article to be the first one you see but the parent will be the first article.
I think what I would like to do now is when you click news you will bypass the parent and go straight to the child... is this possible?
I read your description of what page goes where and my brain exploded.
As for making the parent page go to the first subpage, check this thread:http://www.concrete5.org/community/forums/chat/page-hierarchy-pass-...
If you do this then my original comment about using a Content block and "link to page" for the list header is still an option.
As for making the parent page go to the first subpage, check this thread:http://www.concrete5.org/community/forums/chat/page-hierarchy-pass-...
If you do this then my original comment about using a Content block and "link to page" for the list header is still an option.
I do something similar to this now by inserting an "External Link" to the parent. The pagelist will then show the link (which is to the parent).
A few problems I've encountered:
* The link will be to an ID number, so inserting a record into the PagePaths database table will have it display the correct path.
e.g. External Link to "Accounting" will be /index.php?cID=### instead of /accounting. Inserted a record in the mentioned db table corrects this.
* Sometimes you need a page description to appear... currently the External Link function doesn't support this. Although it would be a nice feature to add!
* Obviously if you've set up any custom code for nofollow on external links, that would be a problem for SEO.
A few problems I've encountered:
* The link will be to an ID number, so inserting a record into the PagePaths database table will have it display the correct path.
e.g. External Link to "Accounting" will be /index.php?cID=### instead of /accounting. Inserted a record in the mentioned db table corrects this.
* Sometimes you need a page description to appear... currently the External Link function doesn't support this. Although it would be a nice feature to add!
* Obviously if you've set up any custom code for nofollow on external links, that would be a problem for SEO.
Thanks people.
Brain explosions is my specialty ;)
Fortunately I am not adding an external link... this solution works for now.
Thank you for you input guys
Brain explosions is my specialty ;)
Fortunately I am not adding an external link... this solution works for now.
Thank you for you input guys
The title of the page will appear, and the link should stay good even if that page moves in the site tree.
Style the text however you want. Would that do it?