To participate you must create an account on apostrophenow.org. If you have already done so, click Login.

Show
Ignore:
Timestamp:
04/29/10 15:57:44 (2 years ago)
Author:
dordille
Message:

Added function aBlogPost::findBestEngine to find the most likely fit for a blogPost based on its categories. See #206.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • plugins/apostropheBlogPlugin/trunk/modules/aBlogAdmin/templates/editSuccess.php

    r1003 r1095  
    3535                        <h6>Permalink:</h6>  
    3636                        <div class="a-blog-post-permalink-wrapper url"> 
    37                                 <span>http://site/blog/url/</span>              <?php // Dan, Can you echo the REAL URL prefix here -- I don't know how to build a URL based on the complex blog route business we are doing  ?> 
     37        <span><?php echo aTools::urlForPage($a_blog_post->findBestEngine()->getSlug()).'/' ?></span><?php // Dan, Can you echo the REAL URL prefix here -- I don't know how to build a URL based on the complex blog route business we are doing  ?> 
    3838                        </div> 
    3939                        <div class="a-blog-post-permalink-wrapper slug">