Announcement

Collapse
No announcement yet.

Re Joomla Prefix

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Re Joomla Prefix

    When Joomla loads the database it usually uses the jos_ prefix. To make the names generic for variations in the prefix, for instance one site has a sgj_, you can use "#_" which overcomes the problem of changing table names in different databases. Say if you want to deploy on differenct sites being a developer. You cannot change the tables in mysql but you can replace the table names in the php file in scriptcase where the database name is stored. My problem is Scriptcase wont let you change the compiled file. Ive tried. So how do I do it in the app itself ????

    Regards

    Use different apps for developing and scriptcase is one of the easiest to use took me about 3 days to get the hang of it

  • #2
    Re: Re Joomla Prefix

    This may help:

    Try using this in onInit:
    $this->Ini->nm_tabela = 'mytable';

    Regards,
    Scott.

    Comment

    Working...
    X