Search

Hi all!

I have an issue with the menu that was generated dynamically from the page structure.

The website has a top level menu with all the pages at level 0. Problem is with the Url part of the menu. It takes the relative path and appends my website address before the url field content and creates the complete link for that menu item.

This is causing issue if I would like to point that page to an external site say http://www/... address.

It is appending my website address before the Url field content and creating a link similar to http://www.mywebsiteaddress.com/http://www....

I would much appreciate if anyone can point me to the relevant file that appends my site url?

Thanks

I would much appreciate if anyone can point me to the relevant file that appends my site url?

Pretty much impossible without seeing your code — every Symphony site is different. However the most likely place for this would be somewhere like:

/workspace/utilities/master.xsl

Thanks nickdunn for your reply.

I am new to Symphony and could not find the above file on my file structure.

The code that was used at template level to include menu was:

<?php include_component('page', 'menu', array('level' => 0, 'menuHtmlId' => 'main-nav', 'linkId' => true)) ?>

Not sure if this information will help in any way?

That looks more like a Symfony project to me. This forum is about the Symphony CMS.

Are you looking at the right Symphony? Do you mean Symfony?

Funny. That's just the kind of mistake Apple Siri might make, too. :-)

Apologies !!! yes, its my mistake just like Apple Siri does:)

Sorry guys for wasting your time!

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details