I have been working on an addon, and recently ran into a wall; as I didn't know how to code this little bit.
Here is my Library/SSLB/ControllerPublic/SSN/Index file.
With that code, I am able to go to domain.com/creative & domain.com/creative/creative and have the SSLB_Creative template be shown there. What I want, is to be able to go to domain.com/creative/creative/list and have another template be shown for that. In order to accomplish that, how would I change my PHP code in the Library/SSLB/ControllerPublic/SSN/Index file?
Hope you guys can help me. In advance, thanks to all those that help me or even attempt to help me!
Here is my Library/SSLB/ControllerPublic/SSN/Index file.
PHP:
<?php
class SSLB_ControllerPublic_SSN_Index extends XenForo_ControllerPublic_Abstract
{
public function actionIndex()
{
return $this->responseView('SSLB_ViewPublic_Index', 'SSLB_Index');
}
public function actionCreative()
{
return $this->responseView('SSLB_ViewPublic_Index', 'SSLB_Creative');
}
}
With that code, I am able to go to domain.com/creative & domain.com/creative/creative and have the SSLB_Creative template be shown there. What I want, is to be able to go to domain.com/creative/creative/list and have another template be shown for that. In order to accomplish that, how would I change my PHP code in the Library/SSLB/ControllerPublic/SSN/Index file?
Hope you guys can help me. In advance, thanks to all those that help me or even attempt to help me!
Last edited: