Wednesday, 22 March 2017
  1 Replies
  0.9K Visits
0
Votes
Undo
Hello,

We need to accept the creation of multiple location with same titles.
We will not use location sharing and each users will create his own location.

I see this code wich add "(Copy)" to the title if it exist:

file administrator/components/com_jevlocations/tables/location.php
function Check
if ($xid && $xid != intval($this->loc_id)) {
$this->title = $this->title. " (Copy)";
if(!empty($this->alias))
{
$this->alias = $this->alias."-copy";
}
}

My question is can i remove this test to allow multiple location with same title without having side effects ?

Cordialy,
Wednesday, 22 March 2017 22:55
·
#185705
0
Votes
Undo
Hello,

You can allow multiple location titles but you need to set the alias differently. So when you create a new location set the alias to say -1 or -2 and so on.

Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

  • Page :
  • 1
There are no replies made for this post yet.

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.