0
Welcome Guest! Login
0 items Join Now

Can a template mess up a component ?

    • webboss's Avatar
    • webboss
    • Rocketeer
    • Posts: 89
    • Thanks: 0

    Can a template mess up a component ?

    Posted 15 years 8 months ago
    • JSmug for 1.5 is now available in Beta.

      lens-reviews.com/forum/jsmug_for_joomla_15_beta-b56.0/

      I am getting an error on my site when I attempt to use the component:

      www.michigancircletrack.com/jsmug-test
      Warning: require(/home/mctadmin/public_html/components/com_jsmug/rt_styleswitcher.php) [function.require]: failed to open stream: No such file or directory in /home/mctadmin/public_html/templates/rt_mixxmag_j15/index.php on line 5

      Fatal error: require() [function.require]: Failed opening required '/home/mctadmin/public_html/components/com_jsmug/rt_styleswitcher.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mctadmin/public_html/templates/rt_mixxmag_j15/index.php on line 5

      However.. on a default template, the JSmug loads fine:

      www.citizencanetoad.com/index.php?option=com_jsmug&Itemid=68

      The error line seems to refer to a RocketTheme error.

      Anyone have any ideas or assistance they can provide ?
  • Re: Can a template mess up a component ?

    Posted 15 years 8 months ago
    • Hello,

      You are missing this file
      /home/mctadmin/public_html/components/com_jsmug/rt_styleswitcher.php

      Try download it again from the download page, unzip the packaged, and upload that file to your server again.
      It should solve the problem
    • webboss's Avatar
    • webboss
    • Rocketeer
    • Posts: 89
    • Thanks: 0

    Re: Can a template mess up a component ?

    Posted 15 years 8 months ago
    • okay.. I got it to work.. kind of.

      It seems that when JSmug installed, it didn't copy over the correct files out of the template folder.

      I'm using the RT_MixxMag template.. and there were several .php files in the template folder which didn't get copied over into the components/JSmug/ folder on install.

      - or maybe the path is wrong in the code and it should be directed someplace else or they got directed someplace else.

      Now.. the next problem is the Smug Mug account isn't displaying the photos correctly. They aren't in flash and they aren't in the lightbox configuration, its just importing the raw .jpg files.

      compare:
      www.michigancircletrack.com/jsmug-test
      and
      www.citizencanetoad.com/index.php?option=com_jsmug&Itemid=68

      I think that the MooTools built into RT Mixx Mag and what is built into SmugMug
  • Re: Can a template mess up a component ?

    Posted 15 years 8 months ago
    • hello,

      first, I see the layout is broken.
      Open your template index.php at:
      <Joomla Root>/templates/<your template name>/index.php

      Find below codes:
      <jdoc:include type="component" />

      Change the codes to:
      <table width="100%"><tr><td><jdoc:include type="component" /></td></tr></table>

      for the not working jsmug, I would suggest you to post on the forum, maybe they have already get this problem fixed?
    • webboss's Avatar
    • webboss
    • Rocketeer
    • Posts: 89
    • Thanks: 0

    Re: Can a template mess up a component ?

    Posted 15 years 8 months ago
    • I think that the Component works.

      I think the root problem I have is I hadn't ever seen JSmug in action before and I was anticipating it would look the same as it is on SmugMug, with the really small boxes on the left hand side, the preview on the right hand side and if you clicked on the preview the light box would open.

      So.. I think I have what it is that JSmug does.. except there is that js conflict.

      On the main page with the RocketTheme: www.michigancircletrack.com/smug-test the lightbox effect doesn't work, on www.michigancircletrack.com/test/smug-test with the default theme it does.
  • Re: Can a template mess up a component ?

    Posted 15 years 8 months ago
    • Hello,

      The links you provided gave me 404 Error
    • webboss's Avatar
    • webboss
    • Rocketeer
    • Posts: 89
    • Thanks: 0

    Re: Can a template mess up a component ?

    Posted 15 years 8 months ago
  • Re: Can a template mess up a component ?

    Posted 15 years 8 months ago
    • Hello,

      Yes, this seems to be javascript conflict.
      Could you please try this:
      Extensions >> Template Manager >> Your Template Name
      Set JS Compatibility Mode to Yes
    • webboss's Avatar
    • webboss
    • Rocketeer
    • Posts: 89
    • Thanks: 0

    Re: Can a template mess up a component ?

    Posted 15 years 8 months ago
    • Roeland_A!'s Avatar
    • Roeland_A!
    • Preeminent Rocketeer
    • Posts: 10193
    • Thanks: 71

    Re: Can a template mess up a component ?

    Posted 15 years 8 months ago
    • Hi, tried the link, but received a login required message.
    • *Karma comes in many forms, my personal favourite is the random saucepan from the sky* J.Spencer 17-02-2009

Time to create page: 0.047 seconds