I Need A Tutorial About Gavick Popups

Feel free to talk about everything related to our Joomla Products
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Mon Apr 11, 2011 3:32 pm
I know I'm pushing a bit, but I'm going all out on the Music City template. It has some really nice popups for the login and register modules. I have a huge amount of content to put on my site but I dont want it to load all at the same time so I need some modules to pop up by link and image.

I have looked at the code and variables and it seems some are missing, hidden in the bowels of JS. So I'm looking for any pointers I can get from Gavick's crew or members of the community.



<?php if(GK_REGISTER || GK_LOGIN) : ?>
<div id="gk-buttons">
<?php if($userID == 0) : ?>
<a href="<?php echo $this->baseurl(); ?>index.php?option=com_user&view=register" id="btn_register"><?php echo JText::_('GK_REGISTER'); ?></a>
<?php endif; ?>
<a href="<?php echo $this->baseurl(); ?>index.php?option=com_user&view=login" id="btn_login"><?php echo $btn_login_text; ?></a>
</div>
<?php endif; ?>


I see the variables GK_REGISTER and GK_LOGIN, I know the text is being called from the language ini on the links. But i just dont know how this is creating a popup.
User avatar
Platinum Boarder

GK User
Mon Apr 11, 2011 3:59 pm
Hi

Popup javascript is located on ../js/gk.script.js

If you want to use this feature, you need to analyse well it's variables and make the proper changes.
User avatar
Platinum Boarder

GK User
Mon Apr 11, 2011 8:23 pm
ok cool thats a good place to start, you guys write some really clean code so it shouldn't be to hard to work it out.
User avatar
Platinum Boarder


cron