Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • David Porré Friend
    #136923

    Hello,
    I’m working on a website, with Joomla 1.5.7.

    The website indexes bars and restaurants in the south west of France.

    I “open” some articles to the bars and restaurants, so that they can put their news themselves editing an article in front end.

    It’s possible with the authorization levels of Joomla.

    But I have a problem with the layout.


    Here I have the article that I “control” myself, with a link to open the “news” article in a popup using highslide. No problem here.


    The “news” article opens in the popup alone, without the “structure” of the website (menus, banners, modules, etc….). No problem here.


    Here comes my problem. When I click on the edit button, I have the editor, and I can edit the article, but I have a layout problem, the “structure” of the website is “around” the editor… It’s a big problem visually speaking.

    Would someone have a solution for me,
    I want to open the editor in a “stand alone” mode…

    Thanks in advance for your tips and answers.
    Best regards.

    anisjolly Friend
    #285648

    have you got a url to the site?

    i can provide you with a fix for that quite quickly.

    all you need to do is set the width for the editing box in the relevant css.

    i’ve done something similar but your right hand column won’t be full visible – is that ok?

    David Porré Friend
    #285651

    Hi, thanks for the quick answer,
    the URL of the website is :

    If I understand your tip, it will set the width of the editor, to fit in…
    But I still will have the structure around it … ?
    Can’t we just skip the other content when “calling” editor ?

    Thanks again

    anisjolly Friend
    #285654

    just realised i can’t see the editor page without a user/pass – doh!

    yes – that’s exactly it. you can’t remove the template structure from around the editor bits though – that’s a downside but you can write some css code so that the template structure is shifted to the left – i think but that might have some adverse effects on your whole site as you’ll have to write a lot of code (both css & the template mods).

    best to just adjust the width of the editor box only.

    let me know how you get on.

    David Porré Friend
    #285660

    Well, someone just sent me another solution :

    When I click on the edit button, the link is with :

    “index.php”

    If the link was with :

    “index2.php”

    I would loose the template structure around.

    I just tried it, it works, but I can’t find the file where this link is writtent in the joomla system…
    Would you know wich file it is, and where it is ?

    Thanks to keep me in touch.

    anisjolly Friend
    #285662

    just give me one second and i’ll get the correct code to edit for you.

    anisjolly Friend
    #285663

    i’ve just registered on your site, can you please update my profile in the joomla backend to publisher?

    this will allow me to double check the code for you.

    David Porré Friend
    #287331

    **** !

    I finally found the file, just added a “2” and it works fine !

    The file is components/com_content/helpers/icon.php

    Go to line 109,
    and change :

    $url = ‘index.php?view=article&id=’

    with

    $url = ‘index2.php?view=article&id=’

    It worked fine for me,
    hope it will help somebody else…
    Best regards

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

This topic contains 8 replies, has 2 voices, and was last updated by  David Porré 15 years, 4 months ago.

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