Quantcast
Channel: Developer to developer
Viewing all articles
Browse latest Browse all 9076

List all content that use a block in CMS

$
0
0

I needed to support the customer in a way that he finds untranslated content. So i have asked if it's possible in this thread.

There is no way to list it without using code or the database. So in this case i needed this query to determine all content-ID's which i can use for a link to the CMS.

select c.pkID  from tblContentType ct
inner join tblContent c ON c.fkContentTypeID = ct.pkID
where ct.Name = 'LinkBlock'
order by c.pkID

You can append it to the URL to get a link to the CMS content, for example(649 is the pkID)

https://Domain/Somename/CMS/#context=epi.cms.contentdata:///649

But it would be a great help for the customer if he could get a list of all pages/content of a specific block on himself. A good place would be: Admin/Content-Types/Blockname

You could provide a button "Show content that use the block", if you click it it opens a popup which lists all content as hyperlink.


Viewing all articles
Browse latest Browse all 9076

Trending Articles