0
Welcome Guest! Login
0 items Join Now

ROCKETTHEME IS CLOSING ON JUNE 30, 2025. As a thank-you to our community, enjoy 50% off all themes with the promo code THANKYOU before we shut down. Read our Farewell Blog Post for more details.

Reverse order of Section/Article name

  • Reverse order of Section/Article name

    Posted 16 years 3 months ago
    • We'd like to place the Section Name ABOVE the Article Name (not the other way around as is the default setting). Is this a Core Joomla thing or template? And where in the CSS would we make that change.

      Thanks

      JLR
    • Kat05's Avatar
    • Kat05
    • Preeminent Rocketeer
    • Posts: 25898
    • Thanks: 334

    Re: Reverse order of Section/Article name

    Posted 16 years 3 months ago
    • hi johnny!

      not sure where exactly you see the section name above the article name.
      could you provide a screenshot please and post a link to your site as well?

      thanks, kat :)
    • Kat05 / QA Lead & Support / Germany
  • Re: Reverse order of Section/Article name

    Posted 16 years 3 months ago
  • Re: Reverse order of Section/Article name

    Posted 16 years 3 months ago
    • Any ideas?


      JLR
    • Ragdata's Avatar
    • Ragdata
    • Elite Rocketeer
    • Posts: 614
    • Thanks: 0
    • Software Engineer

    Re: Reverse order of Section/Article name

    Posted 16 years 3 months ago
  • Re: Reverse order of Section/Article name

    Posted 16 years 3 months ago
    • Thanks Ragdata but I wouldn't know where to begin with all that. I have no idea where the positioning of Article Title and Section Title are located? Is it in the com_content component?
      Any guidance would be helpful.

      JLR
    • Ragdata's Avatar
    • Ragdata
    • Elite Rocketeer
    • Posts: 614
    • Thanks: 0
    • Software Engineer

    Re: Reverse order of Section/Article name

    Posted 16 years 3 months ago
    • Yes, the com_content component. Those articles at Joomla.org should give you all the background you need to find the specific files you need to alter - then it's a matter of identifying the particular elements you want to change. It is something that you'll need to get your hands dirty in code with though - if you're not confident with doing that, I'd skip it for the moment.
    • Ragdata's Rubber Duck
      www.ragdata.net/
  • Re: Reverse order of Section/Article name

    Posted 16 years 3 months ago
    • It seems to me it would be a template issue since in every template I've seen the breadcrumb line is different, and the order or appearance of the Section >> Category >> Title is different.

      JLR
  • Re: Reverse order of Section/Article name

    Posted 16 years 3 months ago
    • Think I found the file I need to edit
      /components
      /com_content
      /views
      /articles
      /tmpl
      default.php

      I am NO coder. Any hints as to how to reverse the Article Title and Section Title order?

      Thanks

      JLR
    • Ragdata's Avatar
    • Ragdata
    • Elite Rocketeer
    • Posts: 614
    • Thanks: 0
    • Software Engineer

    Re: Reverse order of Section/Article name

    Posted 16 years 3 months ago
    • Good on you mate. OK - make sure you have a good text editor that will tell you line numbers ... I use Programmer's Notepad ( www.pnotepad.org/ ).

      Now this is going to get a tiny bit tricky - as there are several things going on in that area ... but we'll do our best to preserve styling and functionality. Make sure you backup default.php first so that you can revert to it if this fails dismally.

      1) Cut lines 61-91 (inclusive) out of that file and paste them "in between" lines 10 & 11.

      2) Now, copy what is now line 43 (the whole line - <table class="contentpaneopen... and all that PHP) and paste it "in between" lines 11 & 12.

      3) Then, "in between" what are now lines 41 & 42 add a new line that is simply "</table>"

      Save and upload and you have your custom output override (and have just had your first "fishing" lesson).
    • Ragdata's Rubber Duck
      www.ragdata.net/

Time to create page: 0.075 seconds