Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

24 Excellent

About Roych

  • Rank
    Sr. Member

Recent Profile Visitors

1,790 profile views
  1. If I remove echo's it does not show me anything.
  2. @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
  3. 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
  4. 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
  5. 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
  6. 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
  7. 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
  8. Yes I have a hidden website field. R
  9. 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
  10. 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
  11. Hey, no I didn't, sry. I chose a different path that was still working ok. R
  12. 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
  13. 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
  • Create New...