The new forums will be named Coin Return (based on the most recent vote)! You can check on the status and timeline of the transition to the new forums here.
The Guiding Principles and New Rules document is now in effect.

Gutting Joomla (PHP)

JasconiusJasconius sword criminalmad onlineRegistered User regular
edited April 2008 in Help / Advice Forum
We have a client who got stuck with a crappy Joomla site and have tasked us with redesigning it. I've already created my HTML template and I am integrating it into the Joomla template, whoever, Joomla seems to store HTML deep, deep within it's infrastructure to help it handle things like menus.

So right now it has a menu that it is wrapping in an unordered list and span, I basically need to get rid of all of that crap and control the menu HTML directly.

I noticed in the DB, the menu has a parameter called menu_style=list, I tried deleting this param, changing it to none, etc, but it hasn't affected the menu at all.


Is there a handbook or guide out there somewhere for developers to dig into Joomla and remove all the HTML garbage they build in to it?

I noticed the module.php file in the /templates/system/ directory and that is somewhat relevant but when $module->content is run on the menu module it is in there where the extra HTML is being added, and I can't really trace it because I don't know how to.

Thanks in advance.

this is a discord of mostly PA people interested in fighting games: https://discord.gg/DZWa97d5rz

we also talk about other random shit and clown upon each other
Jasconius on

Posts

  • useless4useless4 Registered User regular
    edited April 2008
    Do you have much experience with CMS websites or dynamically driven websites? If not you are in for a bumpy ride the way they use templates.

    Mambo and Joomla are cousins, quick search brought up this forum for mambo http://forum.mamboserver.com/forumdisplay.php?f=8 depending on the version of Joomla they should be really similar.

    There are also books for sure at Barnes and Noble etc.

    You can't really "gut" a CMS... i.e. just use part of the frame work and database without much pain. If that's your ultimate goal and you have mad sql/php skillz then you might be better off designing the site by scratch and use php to pull legacy content into your "new joomla-free" site from the original database.

    No offense, (HONESTLY) but I looked at your website listed in your tagline and it would be easy to do in Joomla.
    Applying your sense of graphics and layout to a joomla site shouldn't be that difficult if you knew the system.
    Maybe she got stuck with an "ugly" joomla site not necessarily a "Crappy Joomla" site?
    One advice, start looking at the menu as a separate "world" then the template. Formating and layout of that individual block will be part of the menu block itself and not the template (if I remember right)

    I personally migrated from Joomla to Drupal sometime ago, but that's because the Drupal documentation and community is top notch and extremely extensive. Getting a CMS not to look like a CMS is difficult but having the power of a CMS is amazing when your site gets mad hits, sprawls in size and requires updating by people who need WYSIWYG to bold something.

    useless4 on
  • JasconiusJasconius sword criminal mad onlineRegistered User regular
    edited April 2008
    How does a website in my "tagline" have any bearing on this topic first of all.

    All I'm trying to do is remove the HTML that Joomla auto generates as part of it's module system. It's got to be in there somewhere.

    I currently am given no template control over the menu at all, that's what the thread is about, I can add and remove entries but I cannot touch the HTML, which is the problem at hand. I am reskinning a Joomla site and I need to change the HTML it generates. That seems like something pretty standard that anyone would want to do.

    Jasconius on
    this is a discord of mostly PA people interested in fighting games: https://discord.gg/DZWa97d5rz

    we also talk about other random shit and clown upon each other
  • GihgehlsGihgehls Registered User regular
    edited April 2008
    I don't know if you CAN change the html it puts out. There are some excellent tutorials out there for designing a template in Dreamweaver and inserting all the Joomla hooks. The final look of a module's output should be determined by the CSS of the module. Joomla can look like plain text if you really want it to. I would look around for how to create a joomla template from scratch as you will learn much more than trying to hack the PHP apart.

    Edit: I've only designed templates for Mambo, but I currently admin a Joomla site and it looks identical.

    Gihgehls on
    PA-gihgehls-sig.jpg
  • useless4useless4 Registered User regular
    edited April 2008
    I am just trying to help...

    Glancing back at Joomla for a few minutes I think Ginhgehis is right about the CSS, that is the fastest way to fix loose formatting in the menus with problems.

    Look at how this guy modified his font size and use it as a crash course in menu editing
    http://forum.joomla.org/viewtopic.php?f=466&t=272753&p=1232444

    If you want to read up on it (starting with how the templates work) this looks decent and to the point:
    http://www.compassdesigns.net/tutorials/48-joomla-template-tutorial.html?start=4

    useless4 on
Sign In or Register to comment.