Jump to content

Roych

Members
  • Content Count

    124
  • Joined

  • Last visited

Community Reputation

24 Excellent

About Roych

  • Rank
    Sr. Member

Recent Profile Visitors

1,725 profile views
  1. Hello Maybe this was already asked, but couldn't find it on the forum. I would like to connect two datetime fields together, so when I change the date on expl. "startdate" field the "enddate" field would change to the same date, so I dont have to do it manualy everytime but would still be able to change it aftewards. Hope you understand what I mean. Tried the publishdate but not what I need. Thank you R
  2. Yes I have a hidden website field. R
  3. Hello, Im usin SCF and I'm getting a lot of spam lately, is there any captcha or something else available for this. I'm not a coder so not really sure how to solve this on my own. My code right now is: <?php $scf = $modules->get('SimpleContactForm'); $options = array( 'btnClass' => 'sc_button sc_button_style_filled sc_button_size_medium', 'btnText' => 'Po&#353;lji', 'classes' => array( 'item' => 'sc_form_item sc_form_field label_over' ) ); echo $scf->render($options); ?> Any help is appreciated πŸ˜‰ R
  4. Forget about this it is working!!! It was my HTML class that was causing the problem. Hello, Im having some problems with sending forms, I tried everithing but the submit button wont work. Im using this code. <?php $scf = $modules->get('SimpleContactForm'); $options = array( 'btnClass' => 'sc_button sc_button_style_filled sc_button_size_medium', 'btnText' => 'Po&#353;lji', 'classes' => array( 'item' => 'sc_form_item sc_form_field label_over' ) ); echo $scf->render($options); ?> The form looks great also the HTML5 "required" attribute is working when I click on a send button. But the button is just not sending or even giving me some error or something, It looks completely unresponding. Im using the same code on some other site and its working great. My rendered html (view source) looks like this: Any ideas? Thank you R
  5. Hey, no I didn't, sry. I chose a different path that was still working ok. R
  6. Hello, I need some help please. πŸ˜‰ With "configuring the menu" and adding some additional stuff to my mobile menu, but not really sure how to do that. I would like my Logo to show in my mobile menu, and I would also like the language switcher there, but cant figure it out. I tried all sorts of things but cant make it work. My html looks like this: In html the logo is there, but when I try tu give it to menubuilder code it is gone. I've tried with: but there is no logo inside. I also tried with both upper codes and added images to them but not working. And second question, I would also like to put language switcher to it, not sure how to combine this ... I hope u understand what Im trying to do. Any help would be appreciated. πŸ˜‰ Thank you R
  7. Hello, My first time trying to add form to a modal box. I got it loaded, but after submitting or if there is an error my modal box closes. Is there any way to leave it open until it is succesfully submitted and the success text would also show in the same modal box until I close the modal box myself. Im using the FormTemplateProcessor module for forms. Right now my code is: <button class="btn btn-primary btn-lg" data-toggle="modal" data-target="#forma">Buy a Ticket</button> <div class="modal fade" id="forma" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">Γ—</button> <h4 class="modal-title" id="myModalLabel">Buy a Ticket</h4> </div> <div class="modal-body"> <?php if ($page->koledar_obrazec) : ?> <?php echo $page->text_k_nakupu_kart ?> <br> <?php $form = $modules->get('FormTemplateProcessor');$form->template = $templates->get('Obrazec-karte-dogodki'); // required $form->requiredFields = array('obrazec_vstopnice_ime', 'obrazec_vstopnice_mail', 'obrazec_vstopnice_naslov', 'obrazec_vstopnice_telefon'); $form->email = 'info@povemodkrito.com'; // optional, sends form as email $form->parent = $page; // optional, saves form as page echo $form->render(); // draw form or process submitted form ?> <?php endif; ?></div> <div class="modal-footer"> <button type="button" class="btn btn-default inverted" data-dismiss="modal">Close</button> </div> </div> </div> </div> I tried to look on the forum, but not sure what to look for exactly as I have never done this before. Any help greatly appreciated. Thank you R
  8. Hello, any update on this or maybe any other module that works. I tried the opened issue above but there is no working solution there or am I missing something. Thank you R
  9. Hey, All the best in 2019! πŸ˜‰ Thank you for answers, I will try to work something out and see what's going to come out πŸ˜‰ Thank you πŸ˜‰ R
  10. I have a button in header called "get a quote" , which is always seen. So when user clicks on it, one random quote opens up in modal window. I have expl. 30 quotes made in repeater. Im calling 1 random quote with the code in first post. It's working but only shows the same quote unless you refresh or go to another page in menu and then click the button again. I tried to look and read the links above but I have never realy worked with cache before so I don't realy understand it quite right. Thank you R
  11. thank you for answer πŸ˜‰ Im trying to create a button like "get a quote" so you could click on it expl: 5 times and get different quote everytime. My php is not so good so Im not realy sure where to start here. Thank you R
  12. Hello, Im creating some quotes that will open in modal box when clicked and I need them to open randomly without refreshing the whole site. Is this possible somehow? Right now Im using this code to fetch reeater items in my modal box. <button class="btn btn-primary btn-lg" data-toggle="modal" data-target="#myModal">Launch demo modal</button> <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" style="display: none;"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">Γ—</button> <?php $quotes = $pages->get(1741)->quote_repeater->find("limit=1, sort=random"); ?> <?php foreach($quotes as $quote): ?> <h2><?= $quote->title; ?></h2> <p><?= $quote->body; ?></p> <?php endforeach; ?> <div class="modal-footer"> <button type="button" class="btn btn-default inverted" data-dismiss="modal">Close</button> </div> </div> </div> </div> But now it needs a refresh to cycle through. So what would be the best way to approach this? Thank you R
  13. The download link for the module is not available. Not in repository and not in Gitub - Prestashop module Does anyone still have this module please? Thank you R
Γ—
Γ—
  • Create New...