0
Welcome Guest! Login
0 items Join Now

Sidebar Displays on All Pages Except One

    • R2ba5Aq4's Avatar
    • R2ba5Aq4
    • Rocketeer
    • Posts: 75
    • Thanks: 10

    Re: Sidebar Displays on All Pages Except One

    Posted 14 years 1 month ago
    • Hi,

      I am still unable to find a solution to this problem.

      I retraced my steps, applying "menu-less" pages via Gantry admin, while implementing several other common fixes (please see second post for more info); however, all of these attempts failed to display sidebar-a.

      Next, I tested several modifications to the profile.edit.php file ---- again, no success. This would be expected, since the problem appears to occur before this file loads. For example, even if I temporarily delete the contents of profile.edit.php for testing purposes, the Edit Profile page still loads without the sidebar position.

      I also experimented with several jomsocial templates (e.g., default, blackout, blue, bubble), but once again I could not get the sidebar position to display on the Edit Profile page.

      Any tips, suggestions, or insights from a RocketTheme Gantry developer would be greatly appreciated, as I have been troubleshooting this problem for three weeks and cannot find a solution.

      Thank you.
    • Andy Miller's Avatar
    • Andy Miller
    • Preeminent Rocketeer
    • Posts: 9919
    • Thanks: 96
    • Web Kahuna

    Re: Sidebar Displays on All Pages Except One

    Posted 14 years 1 month ago
    • Ok, here's the strange thing. Currently in Joomla and therefore Gantry you can assign things to menu items, that means module positions, features etc. This also means in Gantry's case, you can assign layouts and everything else you can do in Gantry to a "menu item". However what your showing is a specific task in a menu item. You have a community menu item, but only this edit profile task is displaying differently.

      The point i'm making is that I don't know how to do that even when trying :(

      The fact that you could not get the sidebar to display in ANY template, even the default makes me think that it's something to do with JomSocial and not anything to do with the template, gantry, etc. Have you tried asking the guys over there?
    • R2ba5Aq4's Avatar
    • R2ba5Aq4
    • Rocketeer
    • Posts: 75
    • Thanks: 10

    Re: Sidebar Displays on All Pages Except One

    Posted 14 years 1 month ago
    • Hi,

      Thank you for the detailed reply:)

      I think I follow what you are saying regarding "menu items" versus "tasks" except for one thing: I can assign modules to all other positions on this page. Why would I be able to assign and display a module to another position on this page and not to the sidebar position? In other words, assuming that this page is task-driven, why am I able to target other positions (either directly via "Community" or indirectly via "menu-less" pages)? Wouldn't the fact that the page is based on a task preclude module targeting for all positions? What is special about the sidebar position?

      With respect to your question, over the past several weeks I have searched for a solution to this problem on JomSocial and other websites; however, I have not found any relevant information. Also, the templates that I referred to in my prior post were JomSocial templates. Changing the templates had no effect. Furthermore, it seems like the problem occurs before the JomSocial content even loads.

      Importantly (I think), the Gantry css styling applied to the "Content Top A" position is different than the styling applied to the "Content Top A" position on other pages within the Community section (please see first post for code).

      PLEASE let me know if you think of a solution ---- creative, unorthodox, etc. ---- or if you learn of any other information that might help me solve this problem.

      Thank you so much.
    • R2ba5Aq4's Avatar
    • R2ba5Aq4
    • Rocketeer
    • Posts: 75
    • Thanks: 10

    Re: Sidebar Displays on All Pages Except One

    Posted 14 years 1 month ago
    • Hi,

      If I wanted to introduce some conditional logic to display the sidebar position and associated modules on the "Edit Profile" page, WHERE (i.e., in which file and on what line) would I insert the code?

      Conceptually, the conditional statement would look to see if the "Edit Profile" page was displayed and, if so, then display the sidebar module code and mainbody with corresponding styling. In other words, if the conditional statement is true, then insert the sidebar module code and style the mainbody as follows:
      <div id="rt-main" class="sa3-mb9">
      <div class="rt-grid-9 rt-push-3">
      <div id="rt-content-top">
      <div class="rt-grid-9 rt-alpha rt-omega">
      <div class="module-full">

      The module would be hard-coded into the conditional statement that would display the sidebar if the current page was the Edit Profile page.

      Questions:
      1. Is this approach reasonable given the nature of the problem? And, if so, then
      2. In which file and on (approx.) what line would I insert the conditional statement?

      Thank you!
    • Sergiu's Avatar
    • Sergiu
    • Newbie
    • Posts: 14
    • Thanks: 0

    Re: Sidebar Displays on All Pages Except One

    Posted 13 years 11 months ago
    • Hi,
      I have the same problem. I've used the standard Joomla template and there is no such a problem. It is happening only when I use a RocketTheme template (Hybrid).

      Thank you!
  • Re: Sidebar Displays on All Pages Except One

    Posted 13 years 3 months ago
    • Hey Guys we had the same problem and one of our all-star developers just found a solution. There are two files that need to be changed to make this work:
      root/components/com_community/controllers/profile.php
      -around line 690 change the function from edit to editProfile
      root/components/com_community/views/profile/view.html.php
      -around line 22 change the link from index.php?option=com_community&view=profile&task=edit to index.php?option=com_community&view=profile&task=editProfile
      -around line 925 change the function from edit to editProfile

      This worked for us and looks like it's the same problem you were having to.

      Good Luck!

      Zach
    • R2ba5Aq4's Avatar
    • R2ba5Aq4
    • Rocketeer
    • Posts: 75
    • Thanks: 10

    Re: Sidebar Displays on All Pages Except One

    Posted 13 years 2 months ago
    • Thanks for the follow up; I'll give this a try!
    • Hayo's Avatar
    • Hayo
    • Newbie
    • Posts: 1
    • Thanks: 0

    Re: Sidebar Displays on All Pages Except One

    Posted 12 years 11 months ago
    • Hello,

      Having the same problem here with Rockettheme template Panacea. Have a module that show in location "sidebar-a" on all pages, except "edit profile".

      Since this is happening in several different Rockettheme templates, this is probably a Gantry thing?

      regards, Hayo.
  • Re: Sidebar Displays on All Pages Except One

    Posted 12 years 7 months ago
    • Any solution found about this problem?

      Except Edit Profile menu item mentioned above I have a problem with Edit Event option in Events also...
    • Kat05's Avatar
    • Kat05
    • Preeminent Rocketeer
    • Posts: 25898
    • Thanks: 334

    Re: Sidebar Displays on All Pages Except One

    Posted 12 years 7 months ago
    • hi there,

      i have submitted a ticket to our developers about this issue.

      kat :)
    • Kat05 / QA Lead & Support / Germany

Time to create page: 0.071 seconds