0
Welcome Guest! Login
0 items Join Now

Please Help: SIFR conflicts with user ability to edit published content

  • Please Help: SIFR conflicts with user ability to edit published content

    Posted 17 years 8 months ago
    • Hi

      I need some help for a not-for-profit website ( www.wateringhole.org.au ). Started the thing almost a year ago for a small community and it still needs some love.

      When a logged in user navigates to a publshied content page (in this case static content), they do not get any of the edit item links as I am familiar with from other Joomla and Rockettheme experience. Instead snippets of code, rendered with SIFR is displayed.
      An example is here if you have time to look:

      http://www.wateringhole.org.au/temp/sifr_cms_conflict.jpg

      ...as you can see for this logged in user with publisher rights, they have no option/icon/link for editing the static content, instead they get a jarbled bit of code as title for the static content!

      thankyou
      Al.
  • Re: Please Help: SIFR conflicts with user ability to edit published content

    Posted 17 years 8 months ago
    • I should mention, if I hide the static content title then the usual "edit" icon link is shown.

      So the workaround I will use for now is to hide titles.

      It would be interesting to know why the SIFR is conflicting with the ability to edit content though - I would prefer to have the titles shown.

      Thanks for reading,
      Al.
  • Re: Please Help: SIFR conflicts with user ability to edit published content

    Posted 17 years 8 months ago
    • The sifr doesn't conflict - technically. it's doing exactly what it's supposed to.

      The problem is in the the way Joomla renders the first heading on a page.

      It puts the Javascript load instructions for the edit button within the heading tags.

      e.g. instead of putting :
      <contentheading>my heading</contentheading>
      it puts
      <contentheading>my heading <script>The js for the little edit icon</script></contentheading>

      So the SIFR code converts the JS file into SIFRed text.

      Workarounds:
      Not make people able to edit the file (works if its only you who does the editing so you can just ignore the mess because the public wont see it)
      Turn off headings and put them into the content manually.
      Turn off headings and make a mambot to put them in 'fixed'
      Hack Joomla to put the JS outside the tags.
    • www.ninjoomla.com - The Ninjoomla Open Source Extension Club
      Over 50 open source extensions and 100 videos to you build the site you want.
  • Re: Please Help: SIFR conflicts with user ability to edit published content

    Posted 17 years 8 months ago
    • Hi Daniel

      Thanks so much for the prompt and excellent suggestions!
      Not make people able to edit the file (works if its only you who does the editing so you can just ignore the mess because the public wont see it)
      This was my original idea, however the "edit" link is not available. I am the administrator and can publish from the backend, but I want to give publisher access to someone in the front end.
      Turn off headings and put them into the content manually
      This seems like the way to go. Do you know however if I can put SIFR headings directly into Joomla content? Or would I have to use standard web fonts?
      Turn off headings and make a mambot to put them in 'fixed'
      Sounds like a nice idea if you know how :)
      Hack Joomla to put the JS outside the tags.
      Sounds like a nice idea if you know how :)


      Thanks again for your help - sincerely appreciated.
      Al.
  • Re: Please Help: SIFR conflicts with user ability to edit published content

    Posted 17 years 8 months ago
    • to put in content heading smanually. Just type

      <contentheading>my heading</contentheading>

      as HTML (with your wysiwyg OFF).

      Or if you are using JCE - type 'my heading' then highlight and use the styles drop down list to make into a content heading.
    • www.ninjoomla.com - The Ninjoomla Open Source Extension Club
      Over 50 open source extensions and 100 videos to you build the site you want.
  • Re: Please Help: SIFR conflicts with user ability to edit published content

    Posted 17 years 8 months ago
    • Thanks Daniel, much appreciate the help.

Time to create page: 0.065 seconds