Forum is closed

Responsive - protostar

Responsive - protostar

Hi - not sure this is in the right place, but I am upgrading to Joomla 3.0 and trying to make the lovely new pop-up module not appear for phones (it doesnt work on my Blackberry).

Its probably me, but if you see here:

http://www.assetfinanceawards.com/jupgrade/

If you reduce the width of the page, the little button banner disappears (module class suffix: hidden-phone). But when I do the same for your new module, it persists.

Can you help out an amateur? What am I doing wrong?

Administrator has disabled public posting. Please login or register in order to proceed.

Re: Responsive - protostar

Edward,
There's no wrong place for support. The SCLogin is a free module, and so there is a support forum for it, but questions can go in the JLinked or JFBConnect areas as well.. we're not that picky.

There's a few ways to fix what you're trying to do. My best recommendation would be to modify this line in your template:

Code:

<div class="header-search pull-right">

And modify it to look like:

Code:

<div class="header-search pull-right visible-desktop">

That line encompasses both of the sub-module: the button banner and SCLogin. When collapsed, both are hidden properly.

You should also be able to set a Module Class Suffix on the SCLogin module to " visible-desktop" (that space at the beginning is important. However, the template doesn't look to be rendering modules in the right mode for that setting to work.

One final alternative is that you could make a small change to the /modules/mod_sclogin/tmpl/login.php file to add that visible-desktop class to line 16. That's more tedious and prone to being overwritten though.

Either way, I hope one of those solutions helps.. and thanks for calling the module lovely!

Thanks,
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
24165 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Responsive - protostar

Thanks - I has set  Module Class Suffix on the SCLogin module to " visible-desktop" (as I had on the button above).

Your other suggestions make good alternatives. I will need an sclogin for both desktop and phone.

Incidentally I am a subscriber - but dont seem to have access to the Joomla 3.0 bit for JLinkedin. Not sure why.

Anyway - my thanks as ever for your kind attention.

Administrator has disabled public posting. Please login or register in order to proceed.

Re: Responsive - protostar

The Module Class suffix is a part of Joomla itself. That value is taken and automatically added to the automatically when the template displays the module position in a specific way which adds more CSS to it. If the Suffix isn't working, that means that your module position doesn't support the class suffix value.

Is the banner module above the SCLogin links in the exact same template position, or is it in a different one? Are you using the Suffix on that module as well?

Incidentally I am a subscriber - but dont seem to have access to the Joomla 3.0 bit for JLinkedin. Not sure why.

Can you explain what you mean here? You should be able to see the JLinked for Joomla 3.0 download in the "My Downloads" area. If not, let me know, that means something is wrong. If you meant something else, let me know.

Thanks,
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
24165 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Responsive - protostar

alzander wrote:

Is the banner module above the SCLogin links in the exact same template position, or is it in a different one? Are you using the Suffix on that module as well?

Yes - that's correct.

Incidentally I am a subscriber - but dont seem to have access to the Joomla 3.0 bit for JLinkedin. Not sure why.

I meant that the Joomla 3.0 JLinkedin forum section appears to be locked.

Administrator has disabled public posting. Please login or register in order to proceed.

Re: Responsive - protostar

I'm not sure why the suffix would work on the other module, but not the SCLogin module. We'll have to investigate further, but there's no reason we can see that that should happen. Since you're using Protostar, we can hopefully recreate it though. Can you let me know what template position you're using in Protostar so we can try ourselves?

As for the padlock symbol on the JLinked for Joomla 3.0 forums, that's simply because the most recent post in that forum is closed. The whole forum is not closed, but I can see where that's confusing. We'll see if we can change that lock symbol in the forum overview type pages.

Thanks,
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
24165 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Responsive - protostar

Position-0

Its entirely possible I am getting something wrong (but cant see where - but see how easily confused I was with your forum current/wink).

Happy to give you access if you wish.

Administrator has disabled public posting. Please login or register in order to proceed.

Re: Responsive - protostar

Edward,
Alright.. did some testing. Hopefully, we can get to the bottom of things. There's actually some new settings in Joomla 3.1 that I didn't even know about. Let's begin.

When I put the SCLogin module into the Protostar - Position-0 location, the module class suffix doesn't work. There's now a new setting in 3.0 for modules called "Module Style", which can be set to different types of styles that the template can produce. By default, in position-0, the Module Style is 'none' (or 'no', I can't remember), which does not use the Module Class Suffix.  If I change that to "well", the module class suffix does begin to work on the modules in that position. That adds a bunch of other styles to the modules, so isn't likely what you're looking for.

I'm not sure how you have things configured for mod_banners, but it seems to work the same way. You may want to check the Module Style parameter in your mod_banner instance and try to use the same one in SCLogin. If it's set to 'No' (or 'none'), then let me know what all the Advanced settings in *both* modules from "Module Class Suffix" on down are. With that, we should be able to compare the difference or I should be able to test on a development site and narrow things down further.

Whew.. hope that helps, but keep me posted.

Thanks,
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
24165 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Responsive - protostar

Thanks for that Alex. I have set the Module Style in SCLogin to HTML5 (for no other reason than it works), and this sorts me out current/smile

mod_banners had an identical setup to SCLogin (set to inherited) where inherited is (I think) no (the abbreviation for none).

Many thanks for your kind attention. As far as I am concerned this is a workable solution.

Edited by: edwardpeck - Jun-04-13 05:18:42
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Responsive - protostar

Glad to help. I honestly can't say I understand what black-magic is making it work for you, but so be it! I'm not saying it shouldn't, just that there's a lot of moving parts here it seems, and I'm likely just missing something.

Either way, no problem for the investigation and I'm glad we could help. Heck, I learned a little bit about Joomla 3.1 that I didn't know before current/smile

I hope you're liking the new SCLogin module. If you have any feedback for improvements, just let us know. We have a lot of ideas and new features planned, but we always like to hear suggestions for what our users want.

And, finally, if you haven't already, please consider leaving a rating and review for the SCLogin module on the Joomla Extension Directory. It's certainly not required, but very appreciated as it's a new module that could use some love:
http://extensions.joomla.org/extensions … tion/24054

Thanks, and best of luck,
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
24165 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Responsive - protostar

Thats done (the Jed rating).

You asked about suggestions. I have one, but this might just show I have misconfigured. Lets see.

I have Joomla setup to allow a guest to view an intro plus an invitation to register to read more. I have also set up the option to remain on same page after login since this makes most sense if you are logging in using the module which I have chosen to display elsewhere on the page.

When you click on an article when not logged in you get a "Register to read more..." link at the bottom. This is as wanted. But if you click on the link it takes you what looks like your SClogin page (not a registration page)  /index.php/component/users/?view=login, where you cannot register.

And if you use the misnamed login on that page, it faithfully keeps you on the same page, and you end up staring at a page with just one button - "logout".

Two problems - both of which I think are inherent in Joomla - but which touch your module - and you may be able to change to make the process work better.

First - your option in the back end that you stay on the current page when you login needs an option to say "unless that page is just a login page". In which case the ideal would be to return to the article you were on before you went to the login page, but a designated other page would be a next best option. No one surely wants to go to a page with just a logout button as a next step to logging in.

Two - the register to read more link really should be a "register" and a "login" link OR a single link that takes you to a page where you can do either.

Edited by: edwardpeck - Jun-05-13 12:50:43
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Responsive - protostar

Edward,
You haven't configured things wrong.. unfortunately, you are running into some oddities of Joomla itself. When you make registration/login required to view content, that's completely handled by Joomla. When the "Register to read more" link is clicked, the login page you're brought to is the standard Joomla login page (/component/users means com_users, which is the built-in User Management component for Joomla).

On that page, there should be a "Don't have an account?" link where the user can register, but yes, it will take them to a new page to do so and the 'return' path isn't saved so they won't be brought back to the article after registering. If you have account activation enabled, that definitely prevents the return since they won't be logged in and still won't be able to read the article.

As for logging in with the wrong credentials, that also 'breaks' the return path as the original return variable isn't saved. Again, this is all inside Joomla's com_users component, not our SCLogin module.

With that explanation out of the way, the SCLogin module is growing and we'd like to have more ways to take over the registration and/or login process. It's not something there now, which means it's not an easy 'bug fix' we can implement.. doing what you're saying will take a bit of work. However, it's something we're looking at trying to tackle with a better registration/login flow system in the future. For reference, these are issues that we've mostly tackled in JFBConnect and JLinked. We'll check if there is a 'return path' setting and store it. That way, if authentication fails, we'll still have that value for when authentication is successful.

The text for "Register to read more" can actually be updated now. To do so, edit the /language/en-GB/en-GB.com_content.ini file and look for the COM_CONTENT_REGISTER_TO_READ_MORE string. You can update that with whatever text you want, including links. So you could make it "Register or login to read this article" where the register goes to the actual registration page. Even better, if you're using the SCLogin in the modal popup view on the same page, you can link the "login" text to trigger the popup. If that interests you, ask me how current/smile

Hope that helps explain and get you going a bit further. Any more suggestions or ideas are welcome.

Thanks,
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
24165 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Responsive - protostar

Alex, or someone, I was hoping to get some help on resizing the modal pop-up to be responsive on a mobile device.. I don't really want to hide it and I have tried making it vertical and horizontal and they both cut off on the iPhone.. I found code for the comments but maybe if you have time to make a mobile responsive CSS code/update/package current/smile

Thank you, so much, in advance!

Kyle

Administrator has disabled public posting. Please login or register in order to proceed.

Re: Responsive - protostar

Kyle,
Obviously, we missed the modal popup in responsive mode. We are working to make everything 'responsive', but it's difficult since not everyone is using the same template framework. Modal popups are much more difficult to do responsive for a few other reasons. However, I'm going to look into this and see if there's some simple CSS that can be applied, or even some beefier changes that can be made. There's a few things about the modal popup that are already nagging us, so this was on our plate already.

Thanks for pointing it out, and I'll let you know when I have something. If you don't hear something in a few days, don't hesitate to bump this thread back up.

Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
24165 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Responsive - protostar

Thank, Alex! I did not receive an email notification, so I am sorry for the late response!

It looks AMAZING on the iPhone besides it cutting off but could it be a percentage css tag that could be inserted? I tried using firebug to figure it out but I am not super
versed in using responsive templates and the last time I edited it I had a meltdown current/sad

Another question, problem, I ran into..

I can't seem to find the settings to display the social buttons in items in k2 ITEMS.. Not the categories which is where I want them the most!

the idea: Users submit Electronic Cigarette Liquid recipes, through k2story they become items and then people can browse recipes... vote via Facebook etc but the 'items' which are the 'recipes' and that is what I wanted the social stuff for in the first place otherwise it is useless to me, unfortunately.

Kyle, with a smile current/smile

Edited by: kylvas - Jul-15-13 01:29:20
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Responsive - protostar

Alex, I have not heard back and at this point I am a little taken back!

Administrator has disabled public posting. Please login or register in order to proceed.

Re: Responsive - protostar

Kyle,
Sorry for the delay in responding to the post. I did see your response, but missed the additional questions about K2. It gets confusing when a post diverges off course and is always best to post a new topic for new issues or questions.

For the Responsive version of the SCLogin module, it is something that's in the works, but, as mentioned above, it's a tricky process to do properly as we have to do it in such a way that it doesn't break user's templates. That means a lot of development and testing to make sure things are right. We're hoping to have that out in the v5.1 release of JFBConnect in August, but I can't guarantee it.

Regarding the K2 issues which I missed, I'm honestly a bit confused as to what you're looking for. There are easy settings to display the social buttons in K2 articles/items. I'm lost when you get into the 'recipes' and other things though.

I noticed you submitted a refund request. That will be processed within a few days. Alternatively, if you'd like help with the K2 stuff, please post a new topic in the JFBConnect forums (not JLinked, like this topi) and we'll gladly help.

Thanks,
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
24165 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.
There are 0 guests also viewing this topic
There are 0 users also viewing this topic

Board Info

Board Stats
 
Total Topics:
11697
Total Polls:
0
Total Posts:
49103
Posts today:
4
User Info
 
Total Users:
47899
Newest User:
quadranttextbook7
Members Online:
1
Guests Online:
858

Online: 
jtquinto
Social Stream
SourceCoast Joomla Social Extensions
Friday, 25 May 2018
JFBConnect 8.0 Coming Soon! Stay tuned.
Refer and Earn

Like our extensions? You're not alone! That's why they're used on tens of thousands of websites. Now you can earn 20% of any sale you refer to SourceCoast.com.

We provide excellent documentation, well laid out sales pages and great support. All you need to do is spread the word and we'll take care of the rest.

Learn About Our Affiliate Program