Topic-icon Responsive - protostar

10 years 10 months ago - 10 years 10 months ago #33626 by edwardpeck
Replied by edwardpeck on topic 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.
Last edit: 10 years 10 months ago by edwardpeck.
The topic has been locked.
Support Specialist
10 years 10 months ago #33666 by alzander
Replied by alzander on topic 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 :)

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

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
10 years 9 months ago #34423 by kylvas
Replied by kylvas on topic 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 :)

Thank you, so much, in advance!

Kyle
The topic has been locked.
Support Specialist
10 years 9 months ago #34441 by alzander
Replied by alzander on topic 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
The topic has been locked.
Active Subscriptions:

None
10 years 9 months ago - 10 years 9 months ago #34475 by kylvas
Replied by kylvas on topic 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 :(

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 :)
Last edit: 10 years 9 months ago by kylvas.
The topic has been locked.
Active Subscriptions:

None
10 years 9 months ago #34675 by kylvas
Replied by kylvas on topic Responsive - protostar
Alex, I have not heard back and at this point I am a little taken back!
The topic has been locked.
Support Specialist
10 years 9 months ago #34694 by alzander
Replied by alzander on topic 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
The topic has been locked.