getBaseUri() and permalinks

Hi

I'm new to dolphin and working on my first module. In enabled permalinks in advanced settings but when I use $this->_oConfig->getBaseUri() in my module, it returns a link like this:

/modules/?r=myfirstmodule/

do I have to set anything in my module so it would return a link like this: "/m/myfirstmodule/"

 

Thank you

Cheers

Oliver

Quote · 24 Nov 2016

if you are creating your first module from scratch - I would like to recommend against that. Only to suggest a quicker, easier, and more reliable solution:

 

Clone the Groups module and rename it. It is not hard to do at all - there are posts with instructions, and also some already redone where you only have to change a few things (HoustonLively has a few of these posts).

caredesign.net
Quote · 25 Nov 2016

Ok thanks. Actually I took this module as a template: https://www.boonex.com/trac/dolphin/wiki/DolphinTutorialMyFirstModule

 

But I'll clone the Groups module and use that, hope this will fix that.

 

Quote · 25 Nov 2016

I figured as much - but that is more for a blogs type module - IMO.

 

caredesign.net
Quote · 25 Nov 2016
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.