Keyword

Item in a popup box - is this possible?

More
14 years 4 days ago #95896 by BBC
Replied by BBC on topic Item in a popup box - is this possible?
You probably missed "&tmpl=component".Or this forum ad some spaces in code.Here is category_item.php as attachment.

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

  • Robin Nonnweiler
  • Robin Nonnweiler's Avatar
  • Offline
  • Junior Member
More
14 years 4 days ago #95897 by Robin Nonnweiler
Replied by Robin Nonnweiler on topic Item in a popup box - is this possible?
Now I have your category_item.php in use, but still have whole site (incl menu etc.) in popup.

Maybe the problem is due to my site configuration or something else :-/

 

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

More
14 years 4 days ago #95898 by BBC
Replied by BBC on topic Item in a popup box - is this possible?
Don´t put this file, unless you use last SVN version. Your language strings wont work.

Do you have some URL ? Can´t tell you more so.

 

It works OK in my test. Do you have SEF activated ?

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

More
14 years 4 days ago #95899 by BBC
Replied by BBC on topic Item in a popup box - is this possible?
It seems you have some strange SEF configuration:

 

index.php/portfolio.html

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

More
14 years 4 days ago #95900 by juju
Replied by juju on topic Item in a popup box - is this possible?
Robin : I just have a question (not link to the subject sorry ^^) : Which template did you use for your website ?

 

Thanks and great job BBC ;)

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

  • Robin Nonnweiler
  • Robin Nonnweiler's Avatar
  • Offline
  • Junior Member
More
14 years 4 days ago #95901 by Robin Nonnweiler
Replied by Robin Nonnweiler on topic Item in a popup box - is this possible?
The site runs local in Mamp. SEF is activated in Joomla configuration. K2 Version is 2.4.1.

Really strange. Unfortunately I'm less a coder than a designer :-/

What a pitty, it would be a really nice way to show the items.

 

thanks a lot!

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

More
14 years 4 days ago #95902 by BBC
Replied by BBC on topic Item in a popup box - is this possible?
Disable SEF, .htaccess and test it ?
You will know that SEF is problem.

index.php/portfolio.html This is very strange.
If you don´t have .htaccess (it is htaccess.txt when is not activated) then remove option "Use Apache mod_rewrite".
And remove option: Add suffix to URLs

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

More
14 years 4 days ago #95903 by BBC
Replied by BBC on topic Item in a popup box - is this possible?
Yes, it is true. I get same problem with SEF. Have to read a little bit more at Joomla forum.

 

This is very usefull option. I use it from long time ago, as Weblinks component. Small logo, at click opens in new window website of  a "Friend". Never in modal box before.

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

  • Robin Nonnweiler
  • Robin Nonnweiler's Avatar
  • Offline
  • Junior Member
More
14 years 4 days ago #95904 by Robin Nonnweiler
Replied by Robin Nonnweiler on topic Item in a popup box - is this possible?
@BBC:

This is my SEF configuration from Joomla. If i turn off my SEF URL it works!!

But does it mean, that I have to work without SEF URLs?

 



 

@juju:

It is the frontline template bought from joomlaconvert.com

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

More
14 years 4 days ago #95905 by BBC
Replied by BBC on topic Item in a popup box - is this possible?
No, SEF goes before some Modal box. I will check that problem.

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

  • Robin Nonnweiler
  • Robin Nonnweiler's Avatar
  • Offline
  • Junior Member
More
14 years 4 days ago #95906 by Robin Nonnweiler
Replied by Robin Nonnweiler on topic Item in a popup box - is this possible?
Wow, thanks a lot!!

Really great support here!

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

  • Robin Nonnweiler
  • Robin Nonnweiler's Avatar
  • Offline
  • Junior Member
More
14 years 4 days ago #95907 by Robin Nonnweiler
Replied by Robin Nonnweiler on topic Item in a popup box - is this possible?
I think it works, if you use "?tmpl=component" instead of "&tmpl=component" !

 

Is there also a possibility to let the modal box resize to fit the screen? Wouldn't so important, but really nice, because I have different image sizes in items.

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

More
14 years 4 days ago #95908 by BBC
Replied by BBC on topic Item in a popup box - is this possible?
Resize Modal to fit screen and you don´t have close option. No close button in modal.

Maybe fit screen to 80-90%.

It is not easy.

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

More
14 years 4 days ago #95909 by BBC
Replied by BBC on topic Item in a popup box - is this possible?
But, there is a huge problem with this way to open Items.

How will Google spiders come in in Items, and index them ?

 

It needs to be more researched. Joomla forum is right place.

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

More
14 years 4 days ago #95910 by BBC
Replied by BBC on topic Item in a popup box - is this possible?
Yes, it works OK with "?tmpl=component""

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

  • Robin Nonnweiler
  • Robin Nonnweiler's Avatar
  • Offline
  • Junior Member
More
14 years 4 days ago #95911 by Robin Nonnweiler
Replied by Robin Nonnweiler on topic Item in a popup box - is this possible?
Ok, I see. The size is defined by "size:{x:800,y:550}" given to the iframe, right?

If I use "size:{x:80%,y:80%}" it doesn't work anymore :-(

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

More
14 years 4 days ago #95912 by juju
Replied by juju on topic Item in a popup box - is this possible?
For the size of the modalbox, you can replace for example :

 

<a class="modal" rel="{handler:'iframe',size:{x:990,y:650}}" href="/">

 

by :

 

<a class="modal" rel="{handler:'iframe',size:{x:window.getSize().scrollSize.x-80, y: window.getSize().size.y-80}, onShow:$('sbox-window').setStyles({'padding': 0})}" href="/">

 

 

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

  • Robin Nonnweiler
  • Robin Nonnweiler's Avatar
  • Offline
  • Junior Member
More
14 years 4 days ago #95913 by Robin Nonnweiler
Replied by Robin Nonnweiler on topic Item in a popup box - is this possible?
YOU ARE THE BEST!

It just works fine! So thank you for your help BBC and juju!

Really great!

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

More
14 years 4 days ago #95914 by juju
Replied by juju on topic Item in a popup box - is this possible?
x-80 et y-80 are pixel value, so you can put :

 

x-400 and y-50 or something like that, to have a pop up who do a medium size...

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

More
14 years 4 days ago #95915 by BBC
Replied by BBC on topic Item in a popup box - is this possible?
Is this margin from end of the screen ?

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


Powered by Kunena Forum