Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

smarty 2 and bootstrap modals

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General
View previous topic :: View next topic  
Author Message
Codez
Smarty Rookie


Joined: 23 Aug 2014
Posts: 7

PostPosted: Sat Nov 15, 2014 4:34 am    Post subject: smarty 2 and bootstrap modals Reply with quote

how do you get a bootsrap modal to popup with smarty 2? where do i put modal code? in footer.tpl?
Back to top
View user's profile Send private message
mohrt
Administrator


Joined: 16 Apr 2003
Posts: 7368
Location: Lincoln Nebraska, USA

PostPosted: Sat Nov 15, 2014 11:45 pm    Post subject: Reply with quote

Smarty and Bootstrap have little to do with each other. Smarty outputs whatever text you put in it, whether that is Bootstrap, etc. First figure out your Boostrap code in a plain text file. Then implement in a Smarty template (should work the same.)
Back to top
View user's profile Send private message Visit poster's website
Codez
Smarty Rookie


Joined: 23 Aug 2014
Posts: 7

PostPosted: Sun Nov 16, 2014 2:39 am    Post subject: Reply with quote

mohrt wrote:
Smarty and Bootstrap have little to do with each other. Smarty outputs whatever text you put in it, whether that is Bootstrap, etc. First figure out your Boostrap code in a plain text file. Then implement in a Smarty template (should work the same.)
I am asking because i am having trouble. I added bootstrap just fine but for the life of me i can't get modals to work with smarty. it works without smarty though.
Back to top
View user's profile Send private message
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1785

PostPosted: Fri Nov 21, 2014 12:38 am    Post subject: Reply with quote

Try debugging your issue.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP