#1 2016-06-01 13:09:57

leonaze
Member
Registered: 2013-10-08
Posts: 17

Get parent page url from search result

Hi,

Someone try this ?

Thanks.

Offline

#2 2016-06-03 05:41:23

traber
Member
Registered: 2016-06-03
Posts: 3
Website

Re: Get parent page url from search result

Test if this works:

<ion:page:url parent="-1"/>

Greetings,
Traber.


Traber
Creator of Traber Software
www.trabersoftware.com

Offline

#3 2016-06-03 11:36:29

leonaze
Member
Registered: 2013-10-08
Posts: 17

Re: Get parent page url from search result

Of course I try this before I open this topic.

I use this for the moment :

<ion:result>
<?php 
	$url = '<ion:url />';
	$url = substr( $url, 0, strrpos( $url, '/'));
?>
</ion:result>

Offline

What's Ionize ?

Ionize is an Open Source Content Management System created by webdesigners for webdesigners.

Created and maintained by Partikule and Toopixel, Ionize wants to be the easiest and most powerful CMS.

Can I help ?

Because talent is nothing without involvement, we are looking for motivated coders and webdesigners to join the project team.

Resources

Website : ionizecms.com
Documentation : doc.ionizecms.com

Development : Ionize on GitHub
Translations : Ionize Translations