IndianaJoe Posted August 21, 2017 Share Posted August 21, 2017 In 3.4.7 I was able to use this function to get a database record URL. $this->registry->ccsFunctions->returnDatabaseUrl(**Database ID**, 0, **Record ID**) Is there anything like this in the new version? It definitely made my life easy with this. Link to comment Share on other sites More sharing options...
Ilya Hoilik Posted August 21, 2017 Share Posted August 21, 2017 If database id is 1 and record id is 2: $url = \IPS\cms\Records1::load( 2 )->url(); Link to comment Share on other sites More sharing options...
IndianaJoe Posted August 22, 2017 Author Share Posted August 22, 2017 Thanks! Much appreciated Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.