Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • magnusb Friend
    #142349

    Just have done allot of testing on localhost today, mostly on integrating different parts of my site to Sulfur, however, a quick browsing in community showed that My Applications will give a wrong table, see attached image.

    I a quick look in Firebugs reveals

    <tr class="sectiontableentry1">
    <td> </td>

    So the template generates an empty <td> which offsets the entire table. However, I was not able to locate this in the template files, could someone help with a fix, or at least point in the correct direction?


    1. Screenshot-2
    Anonymous Moderator
    #309530

    Hi magnusb

    I checked your issue with our template but could not find.
    Coudl you please send me your live url via PM so that i could have a closer look on the issue? I think this issue is from your configuration.

    magnusb Friend
    #309568

    I do not have a live site yet, I am testing this out with Xampp for now, hopefully to locate issues like this 😉 Will check if it persist on live site.

    Anonymous Moderator
    #309631

    Hi

    Open componentscom_communitytemplatesja_sulfurapplications.edit.php file, at about line 38, find following code:


    <tr class="<?php echo $class; ?>">
    <td> </td>
    <td>
    <img src="<?php echo JURI::base() . 'plugins/community/' . $application->apps . '/favicon.png'; ?>" class="icon" />
    <?php echo $application->title; ?>
    <a href="javascript:void(0);" onclick="joms.apps.showAboutWindow('<?php echo $application->apps; ?>');">[ <?php echo JText::_('CC APPLICATION LIST ABOUT'); ?> ]</a>
    </td>
    <td>
    <a href="javascript:void(0);" onclick="joms.apps.showSettingsWindow('<?php echo $application->id; ?>','<?php echo $application->apps; ?>');">
    <?php echo JText::_('CC APPLICATION COLUMN SETTINGS'); ?>
    </a>
    </td>
    <td>
    <a href="javascript:void(0);" onclick="joms.apps.showPrivacyWindow('<?php echo $application->apps; ?>');">
    <?php echo JText::_('CC APPLICATION COLUMN PRIVACY'); ?>
    </a>
    </td>
    <td>
    <?php echo JText::_('CC APPLICATION LIST CANT REMOVE'); ?>
    </td>
    </tr>

    and change to:


    <tr class="<?php echo $class; ?>">
    <td>
    <img src="<?php echo JURI::base() . 'plugins/community/' . $application->apps . '/favicon.png'; ?>" class="icon" />
    <?php echo $application->title; ?>
    <a href="javascript:void(0);" onclick="joms.apps.showAboutWindow('<?php echo $application->apps; ?>');">[ <?php echo JText::_('CC APPLICATION LIST ABOUT'); ?> ]</a>
    </td>
    <td>
    <a href="javascript:void(0);" onclick="joms.apps.showSettingsWindow('<?php echo $application->id; ?>','<?php echo $application->apps; ?>');">
    <?php echo JText::_('CC APPLICATION COLUMN SETTINGS'); ?>
    </a>
    </td>
    <td>
    <a href="javascript:void(0);" onclick="joms.apps.showPrivacyWindow('<?php echo $application->apps; ?>');">
    <?php echo JText::_('CC APPLICATION COLUMN PRIVACY'); ?>
    </a>
    </td>
    <td>
    <?php echo JText::_('CC APPLICATION LIST CANT REMOVE'); ?>
    </td>
    </tr>

    magnusb Friend
    #309669

    Thank you, works perfectly now.

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

This topic contains 5 replies, has 2 voices, and was last updated by  magnusb 15 years, 5 months ago.

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