Layout Issues Issue

0
There are issues in Affiliate Tracker with some of the layouts on the frontend. Fields are overlapping. I already tested disabling bootstrap and jquery to see if those were the issues, but there was no change.
Responses (3)
  • Accepted Answer

    Friday, April 12 2019, 07:34 AM - #Permalink
    0
    could you please send me a link and access so I can test?
    The reply is currently minimized Show
  • Accepted Answer

    Friday, April 12 2019, 08:11 AM - #Permalink
    0
    I needed to take this live ASAP, so I did some editing to the views (I'm a novice/intermediate J! Extension developer).

    What I ended up doing that resolved the layout issue was edited the date_in and date_out PHP to the following

      <?php echo JHTML::calendar($this->lists['date_in'], "date_in", "date_in", "%Y-%m-%d", array("class" => "input-small", "placeholder" => JText::_( 'FROM' ))); ?><?php echo str_repeat(' ', 30); // adds 30 spaces ?>

    <?php echo JHTML::calendar($this->lists['date_out'], "date_out", "date_out", "%Y-%m-%d", array("class" => "input-small", "placeholder" => JText::_( 'TO' ))); ?><?php echo str_repeat(' ', 30); // adds 30 spaces ?>



    There may be something better, but this seemed to work in a "crunch". If you would still like to test, I can clone the site and remove the PHP I added so you could test it. I personally know that coding for every environment is a nightmare.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, April 12 2019, 08:13 AM - #Permalink
    0
    That didn't turn out very good with the code option, so here it is in text. Hopefully it will display:

    lists['date_in'], "date_in", "date_in", "%Y-%m-%d", array("class" => "input-small", "placeholder" => JText::_( 'FROM' ))); ?>

    lists['date_out'], "date_out", "date_out", "%Y-%m-%d", array("class" => "input-small", "placeholder" => JText::_( 'TO' ))); ?>
    The reply is currently minimized Show
Your Reply