Welcome to the MetaMod and Chameleon Support Forums.

Before posting, please check out the FAQs.

helpme

 

Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.

 

Change page%id

Change page%id

Hi,
is it possible to change the $id of an menu link if an action success, for eamlpe in the php field of the success section?

e.g. change 666 to 667
index.php?option=com_sppagebuilder&view=page&id=666

Thanks in advanced!

smarthomesystems
Beginner Modder
ranks
useravatar
Offline
1 Posts
Administrator has disabled public posting

Re: Change page%id

Hi,

yes, there are a couple of ways you could do this.

1 - set up another menu item right next to the one that you want to change, and with the alternative URL. In the Chameleon Succeed action, disable the menu item that you want to "disappear". In the Fail action, tell it to disable the *other* menu item.

2 - in the HTML find/replace succeed action, do a search for index.php?option=com_sppagebuilder&view=page&id=666 and replace with index.php?option=com_sppagebuilder&view=page&id=667

Hope that helps
Stephen

Stephen Brandon
MetaMod / Chameleon developer
If you use MetaMod or Chameleon, please post a rating and a review at the Joomla! Extensions Directory: Chameleon | MetaMod

metamodguy
useravatar
Offline
3319 Posts
User info in posts
Administrator has disabled public posting

Board Info

Board Stats:
 
Total Topics:
1674
Total Polls:
6
Total Posts:
5917
Total Posts Today:
5
User Info:
 
Total Users:
11540
Newest User:
caron5112
Members Online:
1
Guests Online:
157

Online: 
caron5112

Forum Legend:

 Topic
 New
 Locked
 Sticky
 Active
 New/Active
 New/Locked
 New Sticky
 Locked/Active
 Active/Sticky
 Sticky/Locked
 Sticky/Active/Locked