Keyword

Item in a popup box - is this possible?

  • gerald sisimayi
  • gerald sisimayi's Avatar Topic Author
  • Offline
  • Senior Member
More
14 years 4 days ago #95936 by gerald sisimayi
Replied by gerald sisimayi on topic Item in a popup box - is this possible?
ok its working now. THANX - question though.

Please Log in or Create an account to join the conversation.

  • gerald sisimayi
  • gerald sisimayi's Avatar Topic Author
  • Offline
  • Senior Member
More
14 years 4 days ago #95937 by gerald sisimayi
Replied by gerald sisimayi on topic Item in a popup box - is this possible?
Hi there. Ok,

 

So I want to put this into a module for K2 - the code is this :

 

<?php if( $showImage=="with-link"): ?>                <a href="<?php echo $row->link; ?>" title="<?php echo $row->title;?>">                    <?php echo $row->thumbnail; ?>                    </a>            <?php else:?>            <?php echo $row->thumbnail; ?>            <?php endif; ?>

 

Is there anyway I can insert the popup scenario to this correctly ?

 

Thanx in advance....

Please Log in or Create an account to join the conversation.

More
14 years 4 days ago #95938 by BBC
Replied by BBC on topic Item in a popup box - is this possible?
What module ? Don´t be lazy, give more details.

Please Log in or Create an account to join the conversation.

  • gerald sisimayi
  • gerald sisimayi's Avatar Topic Author
  • Offline
  • Senior Member
More
14 years 4 days ago #95939 by gerald sisimayi
Replied by gerald sisimayi on topic Item in a popup box - is this possible?
Hahaha - Im not being lazy.

 

Anyway, module is mod_lofk2scroller

 

I have attached the file I assume needs to be changed. Thanx in advance...

Please Log in or Create an account to join the conversation.

More
14 years 4 days ago #95940 by BBC
Replied by BBC on topic Item in a popup box - is this possible?
Stupid forum. It is unbelievable.

Please Log in or Create an account to join the conversation.

More
14 years 4 days ago #95941 by BBC
Replied by BBC on topic Item in a popup box - is this possible?
Here is edited file.

Make the same for Intro text and Title if you want.

Please Log in or Create an account to join the conversation.

  • gerald sisimayi
  • gerald sisimayi's Avatar Topic Author
  • Offline
  • Senior Member
More
14 years 4 days ago #95942 by gerald sisimayi
Replied by gerald sisimayi on topic Item in a popup box - is this possible?
god like - thank you - will try it now

Please Log in or Create an account to join the conversation.

  • gerald sisimayi
  • gerald sisimayi's Avatar Topic Author
  • Offline
  • Senior Member
More
14 years 4 days ago #95943 by gerald sisimayi
Replied by gerald sisimayi on topic Item in a popup box - is this possible?
very nice

 

Please Log in or Create an account to join the conversation.

  • gerald sisimayi
  • gerald sisimayi's Avatar Topic Author
  • Offline
  • Senior Member
More
14 years 4 days ago #95944 by gerald sisimayi
Replied by gerald sisimayi on topic Item in a popup box - is this possible?
By the way, why is this forum stupid?

Please Log in or Create an account to join the conversation.

More
14 years 4 days ago #95945 by BBC
Replied by BBC on topic Item in a popup box - is this possible?
It doesn´t allow you tu paste code. Often it cuts parts of the code.

It is more than stupid. Software support forum that doesn´t allow you to paste code.

Please Log in or Create an account to join the conversation.

  • gerald sisimayi
  • gerald sisimayi's Avatar Topic Author
  • Offline
  • Senior Member
More
14 years 4 days ago #95946 by gerald sisimayi
Replied by gerald sisimayi on topic Item in a popup box - is this possible?
ah understood - your code works perfect sir. Thank you... I have 1 more question for you. Say I have 100 items in a 10 x 10 grid. Is it possible for a user to choose one of these items on this grid then assign it to themselves (so they have like a profile box on the grid....) I just want to know your views on that - if it is possible that`s great...

Please Log in or Create an account to join the conversation.

More
14 years 4 days ago #95947 by BBC
Replied by BBC on topic Item in a popup box - is this possible?
OK, get that with grid. Mixed it with pixels.

Please Log in or Create an account to join the conversation.

More
14 years 4 days ago #95948 by BBC
Replied by BBC on topic Item in a popup box - is this possible?
You want some editorial page with editors and columnists ? (as Users)

Please Log in or Create an account to join the conversation.

  • gerald sisimayi
  • gerald sisimayi's Avatar Topic Author
  • Offline
  • Senior Member
More
14 years 4 days ago #95949 by gerald sisimayi
Replied by gerald sisimayi on topic Item in a popup box - is this possible?
Hello,

 

I have attached an example. Each picture is actually a K2 thumbnail. So when someone chooses one of the squares they then have a profile on the grid where they can put their details. If noone chooses a square it will simply have a picture saying "AVAILABLE" see what I mean ? So is that possible. I know how to do it manually (manually assigning an item to a user after they make a request to us but tooo long to do) but I wanted it to be automated.
Attachments:

Please Log in or Create an account to join the conversation.

More
14 years 4 days ago #95950 by BBC
Replied by BBC on topic Item in a popup box - is this possible?
It is about permissions first. I don´t know how would you make module pull all Users from database and put it at thumbnails they chosed. You want that they appear where they chose.

 

It is not so difficult to display users 10 x 10. Put some User K2 module above or under Article position, set class sufix to nostyle in module, or whatever. And it will appear for visitors as K2 Blog list 10 x 10.

 

But it was not this you asked.

 

It is not hard to find out how to change URL of thumbs (or users avatars) in module to open some registration fields (even without approval). Or some custom extra fields maybe.

You like this idea with modal box.

 

But what after.

Please Log in or Create an account to join the conversation.

  • gerald sisimayi
  • gerald sisimayi's Avatar Topic Author
  • Offline
  • Senior Member
More
14 years 4 days ago #95951 by gerald sisimayi
Replied by gerald sisimayi on topic Item in a popup box - is this possible?
not really. I want it simply that it is a grid of 100 users ( 10 x 10) If a person clicks on their thumbnail their profile comes out (an item really) - but all the 100 will be empty to start with, so a person will pick any of the empty ones and that will become their item (profile) .  Is this possible ?

Please Log in or Create an account to join the conversation.

More
14 years 4 days ago #95952 by BBC
Replied by BBC on topic Item in a popup box - is this possible?
If you don´t mind order of Users then maybe. I mean if it is OK for you to show first thumbs with users, then under empty thumbs.

Please Log in or Create an account to join the conversation.

More
14 years 4 days ago #95953 by BBC
Replied by BBC on topic Item in a popup box - is this possible?
You need to check if modal box is OK for passing data from K2 forms.

I tried to make it work with Aicontacsafe contact form, and it is not easy.

Please Log in or Create an account to join the conversation.

  • gerald sisimayi
  • gerald sisimayi's Avatar Topic Author
  • Offline
  • Senior Member
More
14 years 4 days ago #95954 by gerald sisimayi
Replied by gerald sisimayi on topic Item in a popup box - is this possible?
well i want it so they can pick ANY box. its not in order actually :)

Please Log in or Create an account to join the conversation.

More
14 years 4 days ago #95955 by BBC
Replied by BBC on topic Item in a popup box - is this possible?
It is not a problem. All boxes can have same URL to registration form.

 

Then you cannot use thumb for something other. It is just displayed thumb. And you need something to check that thumb is busy, so that Users wont try to change info of other people, thinking it is possible.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum