
Everything posted by Meddysong
-
Member Map
This is probably insignificant but I currently have the message Showing 1 markers on my map because language string membermap_showing_markers is Showing <span>0</span> markers rather using the pluralize function and the string Showing {# [1:marker][?:markers]}. It probably doesn't matter because it's unlikely that a map will have only one member for a long period of time but it's there if you're looking for bugs to squish.
-
Pages SuperGrid support
Blagodarya, Adlage That didn't quite work but it led me to an obvious solution: @media screen and (max-width: 767px){ .SG_record_image { padding-bottom: 60% !important; } } So far it seems to be behaving perfectly.
-
Pages SuperGrid support
Would there be any scope for allowing different Hero image aspect ratios for larger and small screens? Mine's set to 40%, which is great for most screen sizes. But on mobile, that has the effect of using most of my better half's head. If I could set a default of 40% but have the option of something else for small screens, then that would be great. (Typical example here: http://timeofftakeoff.com/holidays/2017/italy-south-2017/day-5-procida/ Watch what happens once viewed on mobile.) I'm looking into hacking it so as not to cause you any trouble but it doesn't look possible because you're testing for the presence of the setting in the record template. It's not something written to CSS which I could override with a media query.
-
Pages SuperGrid support
No, it's not normal, unless you're talking about articles which you've posted yourself. Have you looked at somebody else's article? I can leave reputation on my wife's articles but not on my own (because I can't leave myself reputation), so it's worth checking.
-
Pages SuperTopics (Support Topic)
That's the forums app set to grid view.
-
Pages SuperGrid support
Oh, I see what you mean. Sorry, I was explaining what opentype had written to you without actually paying attention to what your request was. What you'll need to do is edit a template, found under Pages > Templates. I think you'll need to edit Supergrid Categorylisting > index and Supergrid Frontpage > index. Here's what that the first looks like: <!-- edited out the code following opentype's subsequent post --> Add your HTML to that in an appropriate place, depending on where you want it to appear on the page, such as <h1 class='ipsType_pageTitle'>{$database->_title} – {lang="content_categories_title"}</h1><!-- This bit was already in the template --> <p class='something'>Whatever you wanted your text to be</p><!-- You've added this bit --> And then do something similar with Supergrid Frontpage > index.
-
Pages SuperGrid support
It's a standard setting for any field within a database. Pages > click on Fields where it appears under the relevant database > pencil icon for the relevant field. It's an option on the second tab, which contains listing and display settings.
-
Pages SuperGrid support
No, that's not it. Those are just standard images within the post. Those aren't record images. It should look like this: To get your record image you need to upload to the bit at the bottom of the form underneath the regular upload area. It's titled Image and the button reads Upload single file.
-
Pages SuperGrid support
I can't see your record image in the article. It's not there. So the main page is correct to use the fallback image. Can you see the image in the article?
-
Pages SuperDocs support topic
That sounds familiar. It happened to me a couple of weeks ago but I forgot to file a bug report. I don't have SuperDocs, so it's nothing to do with that.
-
Pages SuperGrid support
Pages > Page Management > Templates Navigate to Supergrid Listing, then categoryFooter. I've confused myself now, though; my template contains that snippet. I suppose I might have added it yesterday when I became aware.
-
Pages SuperGrid support
Yep. The default templates hide the usual add button for smaller screens but produce another one at the bottom of the page, using code like this {{if ! \IPS\Request::i()->isAjax() AND ! isset( \IPS\Request::i()->advancedSearchForm ) AND $category->show_records}} <ul class="ipsToolList ipsToolList_horizontal ipsClearfix ipsSpacer_both ipsResponsive_showPhone ipsResponsive_block"> {{if $category->can('add')}} <li class='ipsToolList_primaryAction'> <a class="ipsButton ipsButton_medium ipsButton_important ipsButton_fullWidth" href="{$category->url()->setQueryString( array( 'do' => 'form', 'd' => \IPS\cms\Databases\Dispatcher::i()->databaseId ) )}">{lang="cms_add_new_record_button" sprintf="\IPS\cms\Databases::load( $category->database_id )->recordWord( 1 )"}</a> </li> {{endif}} {{if \IPS\Member::loggedIn()->member_id}} <li> <a class="ipsButton ipsButton_medium ipsButton_fullWidth ipsButton_link" href="{$category->url()->setQueryString( 'do', 'markRead' )->csrf()}"><i class="fa fa-check"></i> {lang="cms_mark_read"}</a> </li> {{endif}} </ul> {{endif}} in categoryFooter.
-
Clubs Enhancements
Already requested, mate -- you're faster, so I thought I'd ask
-
Clubs Enhancements
How about in the ACP, as it is for Group Blogs? That way the admin can translate from the ACP, even if nobody else can via the front of the site. Multilingual sites look unprofessional when they force language X whilst Y has been selected.
-
Pages SuperGrid support
^^ That makes sense -- that'll explain why there's no mention of fallback image in the code excerpt I posted, then
-
Pages SuperGrid support
I'm a bit befuddled about a problem I'm having with 2.2, Ralf. On one of my sites it works perfectly: http://timeofftakeoff.com/holidays/2017/france-alps-2017/ But on another there's something of a strange phenomenon. I've got things set up to use a fallback image if no record image is set. On the listing the fallback image is displaying: https://suite.esperanto.org.uk/articles/movado/ But if you click go to view the record ... no image: https://suite.esperanto.org.uk/articles/movado/kabe-ĉu-eterna-mistero/ As far as I can tell everything in the plugin is set up as it should be: And although I've made some small changes to the record part of the display template, those are only calling specific fields in certain areas. The line {{if $record->record_image AND settings.SuperGrid_record_hero}} <div class="SG_record_image {{if settings.SuperGrid_use_ipsbox}}ipsBox{{endif}}" style="padding-bottom:{{if settings.SuperGrid_hero_aspect_ratio}}{setting='SuperGrid_hero_aspect_ratio'}%{{else}}40%{{endif}};background-image:url('{file="$record->record_image" extension="cms_Records"}');"> is still in it. Curiously, if I upload a record image, that displays perfectly. It's just that the fallback one isn't being called in the display. Would you happen to have any ideas about what the problem might be?
-
Pages SuperGrid support
That field is for the record image (the image which becomes the cover photo). Use the standard attachment field just above it to put images into your article.
-
Contact Us
Create a new menu item in your Menu Manager, choose External Link, and then provide yoursite.com/contact as the URL.
-
Commerce / Files - Pay what you want
This would be pretty useful for me. We'll be mostly giving things away free, but if people enjoy it and want to give us a buck or two, we'd be happy to take it as a tip.
-
Contact Us
Got it, mate. The FURL should look like this: app=cjcontact&module=contact&controller=contactus&cjcontact_departments_departments=3.
-
Contact Us
I'll try a support request and see whether they can help. Obrigado!
-
Contact Us
There are two things I have in mind: 1) I would prefer to use a FURL: site.com/request-an-interview 2) Even if I can't have that, I don't want index.php? to be in the URL. I tried this: but it's not working. Your link works fine but contains index.php?, which I don't want to have visible. I have the redirect in place in the ACP, so index.php? doesn't appear anywhere else. However, if I try site.com/contactus/&cjcontact_departments_departments=3 (no index.php?), then it 404s. Any ideas?
-
Contact Us
Thank you, Adriano. And what about a FURL? /app=core&module= ... ?
-
Contact Us
How would I create a link to a specific department, Adriano? What I mean is that I have the standard menu item which leads to /contactus. Then the user has to choose the department. What I'd like to do in one particular case, though, is put a link on the page to a specific department, so that the user doesn't have to select the appropriate one. If the department id=3, what would my link look like?
-
Repeating Calendar Events
When creating your event you can tick a box to say that the event repeats. That brings up a window in which you can specify when it repeats. In your case you would want