test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • tom123 Friend
    #172306

    Hello All,

    I’m trying to add a custom email variable. I was able to add the actual line to the xml, but it’s not being parsed.
    I’m trying to make a variable called “ITEM_ID” which will return the id of the comment. This will be emailed to
    the administrator on every new comment.

    please help.

    Blaine Friend
    #431982

    Wow! What an ambition you have on this customization. A little more detail? Are you wanting to change the database?
    This is actually really simple.
    open your joomla database in your db manager. I generally do this in “PHPMYADMIN”.
    From there open the table “jos_users” and then add your additional fields that you require.
    Then you go into libraries/joomla/database/table/user.php and declare you variables. So if you added a country field then you declair the varible like so:

    var $Country = null;

    The next step in the process is editing the actual registration form. This is done by going to components/com_user/views/register/tmpl/default.php.

    I don’t recomend copying and pasting the current form fields I have ran into issues when i have done that. Also note that everything you edit is case sensitive.

    Let me know how it goes for you!

    tom123 Friend
    #432035

    Hell Blaine,

    Thanks for the help. I already solved this on my own.
    I also added a title field for comments, and email moderation.
    It’s really simple, joomlart should have these things built in.

    Blaine Friend
    #432584

    Glad it;s solved To!
    I will mention your suggestion to the dev’s!

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 2 voices, and was last updated by  Blaine 12 years, 11 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum