Last active
December 28, 2015 04:09
-
-
Save bdombro/7439987 to your computer and use it in GitHub Desktop.
Alias question for frank
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$params = array( | |
'body' => $reach->img_shortcodes . $reach->description . "\n\n" . | |
$reach->shuttledetails . "\n\n" . $reach->gaugeinfo, | |
'fields' => array( | |
'legacy_id' => array( | |
'type' => 'text', | |
'value' => array( | |
$reach->reach_id, | |
), | |
), | |
), | |
'format' => 'filtered_html', | |
'log' => 'Imported from legacy Postgres database (table: reaches) on ' . date('Y-m-d'), | |
'path' => array('alias' => "content/River/detail/id/{$reach->reach_id}"), | |
'title' => $reach->name, | |
'type' => 'river_section', | |
'uid' => $uid, | |
); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment