Accessory, Extension

Developer
Supported

VL Entry URL

ExpressionEngine 2

Back to this add-on's main page
View Other Add-ons From Viget Labs

     

You must be logged in to post.

Structure support

Feature Request

Dunique
Dunique

By adding the following code on line 76, you got also structure support for the var {structure_url}

if ( $channel_pattern == '{structure_url}' && file_existsPATH_THIRD.'structure/helper.php' ) ) 
       
{
        
require_once PATH_THIRD.'structure/helper.php';
        
$Sql_structure = new Sql_structure();
        
$pages $Sql_structure->get_site_pages();
        
$this->EE->input->get('entry_id');
        
$channel_pattern $pages['uris'][$this->EE->input->get('entry_id')];
       

Hope you like it :-)

Viget
# 1
Developer
Viget

Hmm I thought that Structure sets the page_url variable for you. Are you not seeing that?

Dunique
# 2
Dunique

That doesn`t work under ee 2.6.1

Viget
# 3
Developer
Viget

We just released version 1.3 with Structure support. Thanks for the suggestion!