Canadian Mysteries

  • Front Page
  • Contact
  • Log in
  • « Broken Mystery quests links
  • html email based on mailchimp »

add Becoming an Historian site to all pages in site

Posted by sarneil on 15 Dec 2010 in Activity log

Get the indexen.html and indexfr.html files in the home or acceuil folder for each site
find the unique string that identifies the last list item in the footer
replace it with itself + an additional list item for the new link
Do the same search and replaces, but this time adding an additional "../" before the pathname in the a link of the existing last list item.

Some sites use actual LI, some use plain text to render the footer list
Some sites UPPER CASE, some Title Case for the text values in the list

Example site using plain text:

search for
| <a href="../archives/indexen.html">ARCHIVES</a>
replace with
| <a href="../archives/indexen.html">ARCHIVES</a> | <a href="http://canadianmysteries.ca/en/becomingHistorian.php">BECOMING A HISTORIAN</a>
search for
| <a href="../../archives/indexen.html">ARCHIVES</a>
replace with
| <a href="../../archives/indexen.html">ARCHIVES</a> | <a href="http://canadianmysteries.ca/en/becomingHistorian.php">BECOMING A HISTORIAN</a>
search for
| <a href="../archives/indexfr.html">ARCHIVES</a>
replace with
| <a href="../archives/indexfr.html">ARCHIVES</a> | <a href="http://canadianmysteries.ca/fr/devenirHistorien.php">DEVENIR HISTORIEN</a>
search for
| <a href="../../archives/indexfr.html">ARCHIVES</a>
replace with
| <a href="../../archives/indexfr.html">ARCHIVES</a> | <a href="http://canadianmysteries.ca/fr/devenirHistorien.php">DEVENIR HISTORIEN</a>

Example site using li.last-footer

search for
<li class="last-footer"><a href="../archives/indexen.html">Archives</a></li>
replace with
<li><a href="../archives/indexen.html">Archives</a></li>
<li class="last-footer"><a href="http://canadianmysteries.ca/en/becomingHistorian.php">Becoming a Historian</a></li>
search for
<li class="last-footer"><a href="../../archives/indexen.html">Archives</a></li>
replace with
<li><a href="../../archives/indexen.html">Archives</a></li>
<li class="last-footer"><a href="http://canadianmysteries.ca/en/becomingHistorian.php">Becoming a Historian</a></li>
search for
<li class="last-footer"><a href="../archives/indexfr.html">Archives</a></li>
replace with
<li><a href="../archives/indexfr.html">Archives</a></li>
<li class="last-footer"><a href="http://canadianmysteries.ca/fr/devenirHistorien.php">Devenir Historien</a></li><li class="last-footer"><a href="../../archives/indexfr.html">Archives</a></li>
search for
<li class="last-footer"><a href="../../archives/indexfr.html">Archives</a></li>
replace with
<li><a href="../../archives/indexfr.html">Archives</a></li>
<li class="last-footer"><a href="http://canadianmysteries.ca/fr/devenirHistorien.php">Devenir Historien</a></li>

Example site using li

search for
<li><a href="../archives/indexen.html">Archives</a></li>
</ul>
</div>
</body>
replace with
<li><a href="../archives/indexen.html">Archives</a></li>
<li><a href="http://canadianmysteries.ca/en/becomingHistorian.php">Becoming a Historian</a></li>
</ul>
</div>
</body>

search for
<li><a href="../../archives/indexen.html">Archives</a></li>
</ul>
</div>
</body>
replace with
<li><a href="../../archives/indexen.html">Archives</a></li>
<li><a href="http://canadianmysteries.ca/en/becomingHistorian.php">Becoming a Historian</a></li>
</ul>
</div>
</body>

This entry was posted by Stewart and filed under Activity log.

Canadian Mysteries

The Canadian Mysteries site consists of a production site containing 12 mysteries, a containing shell and 30 mysteryquests; and a database-driven development site. HCMC took over tech support in summer 08. This blog documents work done on the site from Sept 08. Earlier work is documented in the depts blog in posts prepended with CanMys
  • Home
  • Recently
  • Archives
  • Categories
  • Latest comments

Search

Categories

  • All
  • Activity log
  • Announcements
  • Tasks

XML Feeds

  • RSS 2.0: Posts
  • Atom: Posts
What is RSS?

Recent Posts

  • Added Sarah Taekema as new Mysteries Admin
  • fix urlencode problem on photo.php pages
  • Batch process images
  • moved learning materials pages
  • de-orphaning links pages on Franklin site
  • Request for teacher locations
  • fix broken links in mysteryquest
  • change backend database pointers
  • landing pages for parks canada
  • Franklin Google search styled

Sidebar 2

This is the "Sidebar 2" container. You can place any widget you like in here. In the evo toolbar at the top of this page, select "Customize", then "Blog Widgets".

This collection ©2022 by admin • Help • Responsive CMS