Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 1889

Joomla! 5.x Coding • Jdatabase Change ID Menu In Frontend

$
0
0
Hello, I am developing a system for a client with Joomla 5 + Sp Page Builder. The client only has access to the system via frontend and I would like to create a function so that he can change the home page template via the frontend itself.

I believe it is possible via JDatabase, but I do not have the knowledge to do so.

The default menu for the home page would be this:

Code:

index.php?option=com_sppagebuilder&view=page&id=1
The final ID would be that of the page created in Sp Page Builder, I would need to create a function via frontend that would change this value from 1 to 2, 3, 4, 5... depending on which layout the client chose.

Would this be possible?

I do not want to have to install any extensions on my Joomla, since the companies do not seem to be providing the necessary support for updates, I only have 2 reliable components installed that meet everything I need.

Thank you in advance.

Statistics: Posted by cropots — Thu Sep 26, 2024 5:28 pm



Viewing all articles
Browse latest Browse all 1889

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>