Jump to content


  • Content Count

  • Joined

  • Last visited

Everything posted by Roych

  1. Thank you all, got it up and running perfectly. πŸ˜‰ R
  2. Hello, elabx I tried your code and it works perfect. I was looking for this so long. You are the best 🀩 Thank you very much R
  3. Hello I need some help with aligning every second post different than the first. First post with image on the left and text on the right and every second with text on the left and image on the right. I have a repeater field with title, image and text. I would like to stick with repeater if possible. I tried to look on the forum and google but no luck as I'm not even sure how this function is called. It would be great if someone already did something similar. Thank you very much R
  4. If I remove echo's it does not show me anything.
  5. @dragan Thank you for the code, I tried it but somehow didn't work for me. So I played with it it a little. It works now but not sure if everything is right as it should be. Thank you R
  6. Good one, this would work, but it is a little to long I would maybe still go with one word if possible. πŸ˜‰ So number first then the word. Thank you R
  7. Hello My primary language is Slovenian. The numbers go to 5 from then on it can always be SLIK (Images). I was thinking the translatable string variable so I can translate both languages. But not sure how to set this up. Does it have to be the php "if else" statement or is there some other aproach? I'm kinda lost here. Thank you R
  8. Hello I'm working on some gallery and Im counting images in each album. So I have the number but now I would like to echo the text IMAGE, IMAGES next to the number of images. How would I do this? I need more than just 1 image, 2 images. In our language we also have dual so I need (in slovenian) 1 slika, 2 sliki, 3 slike, 4 slike, 5 slik ...... I have two languages ENG and SLO! Im counting images with: <a href="<?=$album->url; ?>"><div class="imgcount"><?=$album->images->count();?> IMAGES???</div></a> I hope you know what I mean. Im not a coder, not realy sure where to start here. Thank you R
  9. Hello, just a question ... Is this module now free or ...? As I can see you can download a "free" copy of Recurme from the site, but it's not working because you still need a license key. If it is free to try is it possible to get a license somehow? If it is no longer supported not sure if I would pay for it. Thank you R
  10. 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
  11. Yes I have a hidden website field. R
  12. 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
  13. 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
  14. Hey, no I didn't, sry. I chose a different path that was still working ok. R
  15. 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
  16. 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
  17. 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
  18. 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
  19. 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
  20. 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
  21. 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
  22. 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...