I am finishing up a site for a customer. Her last developer took off without finishing the site. He took off after she paid him in full. What a shame.

The template has some issues on one page of the site only. Every other page of the site is just fine. I am going to include some login info to a test account in this post. Hopefully someone can give me an idea on how to fix this problem. I have tried a few things,but none of them worked. Just so you know it looks like the original developer of this site used a Gantry template and hacked the template until it was a new template. The problem here is that on this one page components of the old template are showing up.

Here is the login info.

User: gregtest
Password: test1234

Once you login click on edit profile and you will see the problem.

Dani AI

Generated

Practical troubleshooting checklist for the JomSocial profile-edit page that is showing remnants of an older Gantry-based template (reported by ; asked which page — the profile “edit” view). The items below are ordered by how quickly they reveal the root cause and include exact paths and tiny debug snippets to paste into the page source.

Check template style / menu assignment and expose the current template

  • Different menu items can use different template styles; a single page may be assigned a different style than the rest of the site. Confirm the menu‑item → Template Style or review Extensions → Templates → Styles → Menu Assignment.

  • Temporary debug (add at top of the site template index.php to print template and Itemid):

    <?php
    // Joomla 2.5/3.x
    $app = JFactory::getApplication();
    echo '<!-- template: '.$app->getTemplate().' | Itemid: '.$app->input->getInt("Itemid").' -->';
    ?>
    <?php
    // Joomla 4
    use Joomla\CMS\Factory;
    $app = Factory::getApplication();
    echo '<!-- template: '.$app->getTemplate().' | Itemid: '.$app->input->getInt("Itemid").' -->';
    ?>

    (docs.joomla.org)

Check JomSocial templates vs Joomla overrides

  • JomSocial templates live under JOOMLA/components/com_community/templates. Joomla template overrides for the component live at templates/<site-template>/html/com_community and will take precedence. Inspect both locations for stray markup, PHP includes, or leftover Gantry code. Typical places to look:

    /components/com_community/templates/<jomsocial_template>/
    /templates/<site_template>/html/com_community/   (Joomla overrides)
    /templates/<site_template>/index.php             (conditional includes)

    (documentation.jomsocial.com)

Look for Gantry-specific leftovers and module assignments

  • Search the theme and component folders for “gantry” (or module position names) and for module code published only to that Itemid. Use Joomla’s Preview Module Positions (?tp=1 after enabling it in Templates → Options) to reveal modules on that page. Also disable caching and any CSS/JS aggregation while testing. Trying a core template temporarily will quickly show whether the issue is template-driven.
    (docs.gantry.org)

What to post back for a faster diagnosis

  • The HTML comment (template + Itemid), any override file paths found, a small DOM snippet (offending HTML with classes/IDs), and whether the artifact disappears under a core template or with caching disabled. These details make it straightforward to pinpoint whether it’s a menu assignment, a module, a Joomla override, or a leftover Gantry include.

Recommended Answers

All 3 Replies

1. The username and password don't match/work/account not up yet.
2. You haven't told us what the old elements are exactly, so how are we supposed to recognize them?

Please resolve these issues and get back to me [post on this thread]. Then I'll see what I can do! :)

1. The username and password don't match/work/account not up yet.
2. You haven't told us what the old elements are exactly, so how are we supposed to recognize them?

Please resolve these issues and get back to me [post on this thread]. Then I'll see what I can do! :)

I reset the password so you should be able to log in. The reason I did not tell you what old components to look for is because it is obvious. You will see a component of the template that does not work with what the template is on every other page.

It wasn't obvious that the component was obvious. Nor is the page on which it is obvious. Which page?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.