Jump to content
creativejay

Issues with Page Creation - Language and Fields Not Saving

Recommended Posts

I am manually duplicating a 2.7.x site in a 3.0.33 installation, and have run into a couple issues.

 

First, with my language support, a couple of my languages (German, Finnish, English) have the correct url segment (de, fi, en). The rest (French, Italian, Polish, Portuguese, Spanish) all have their url segment showing as 'en' even though I have set them properly under Setup / Languages (I even tried to change these and it did nothing).

Screen Shot 2016-09-19 at 4.07.54 PM.png

 

Second issue: as I create a page of a certain template, the Title and name I input on the initial creation/template selection page is not saved, and instead I get an auto-gen'd name and the title is blank after I click Save. I haven't experienced this with any other templates, and I don't see anything odd about the template settings. If I didn't have a couple hundred of these pages to add to the site, I wouldn't mind figuring it out later, but with that quantity I'd like to sort it out at the start.

Creating the page (the template is auto-selected because of the parent page):

Screen Shot 2016-09-19 at 4.10.54 PM.png

 

Then after it's saved, the Content Tab has no Title entered and the Setup tab has the default name:

Screen Shot 2016-09-19 at 4.11.06 PM.png

 

Screen Shot 2016-09-19 at 4.11.15 PM.png

 

Appreciate any insight from someone who may have run into this already!

 

Thanks!

 

Share this post


Link to post
Share on other sites

I am probably the wrong person to answer ML questions, since I only just started using it myself, but you mention:

25 minutes ago, creativejay said:

The rest (French, Italian, Polish, Portuguese, Spanish) all have their url segment showing as 'en' even though I have set them properly under Setup / Languages (I even tried to change these and it did nothing).

Remember that to get /fr/about/ etc you need to set the name for the site's homepage in French to be "fr". The /fr/ in the url is not based on anything set under Setup > Languages.

  • Like 1

Share this post


Link to post
Share on other sites
15 hours ago, adrian said:

I am probably the wrong person to answer ML questions, since I only just started using it myself, but you mention:

Remember that to get /fr/about/ etc you need to set the name for the site's homepage in French to be "fr". The /fr/ in the url is not based on anything set under Setup > Languages.

 

Ah, thank you! It had been so long since I set it up the first time I didn't remember having to set that up in the Home settings. That part's sorted out now, thanks!

 

Still can't figure out why the page creation is switching back to an automated name.

Share this post


Link to post
Share on other sites
5 minutes ago, creativejay said:

Still can't figure out why the page creation is switching back to an automated name.

Does this only happen with this template? Does it happen with ML support disabled?

Any third party modules that might be affecting the page name/title?

  • Like 1

Share this post


Link to post
Share on other sites

Yes, it's only the template. I turned off the ML support since we only actually have one article out of 150 that has another language available, anyway. That hasn't fixed anything. I can't figure out what might be invoking it, the template is pretty much identical (setting-wise) to other templates with parent/child pre-set.

I made a new template, copying the fields of this one, but the settings for the template didn't come across so only the allowed parent setting was changed from the default, and it still is happening.

It doesn't happen on pages created from other templates with identical settings.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By Brian Peat
      Hello! I've got a single client on Processwire and it's completely foreign to me. I've been able to find most things, but they've asked for a custom designed page with a full width header image/section, and then a body block and a right side bar below the header. They're using a landing page template, so I duplicated that, figured out how to add it in the admin, and assigned it to the page. Nothing. It doesn't change a thing.
      I feel like I'm missing something obvious. I've made sure all the fields are the same, I tried to set up the parent/child stuff though this page doesn't have a parent that I can tell (though it's under Landing Pages). If I can get the template to actually kick in, I think I can use a bit of code to check for the hero section and load it at the top. I also made a copy of the widget template and set that to load instead of the original. But again, since my main page template isn't kicking in, neither is the new widget template.
      I'd just love some tips on what to check or change to get a landing page to actually render what's in the assigned page template.
      Hopefully I've used the correct terminology here to make sense.
      Thanks!
    • By rookie
      hi there,
      Is there a module or other solution to select a template with a preview image? Sometimes it is not that easy to describe a template.
      e.g. Template with 3 columns (image, title, content, button) or template for a slider with max. 4 pictures.
      Even if it is nice to have a description field for a template, a picture says more than thousand words could describe.
      And no, I don't think I could develop something like that. I don't even know where to start.🙄
    • By muzzer
      I have just upgraded a site from 2.7 to latest v3.
      I have run into a weird issue where a page template setting for slashUrls changes from No to Yes immediately after an ajax call, causing the second ajax call on the page to use the wrong setting.
      There is no reference to the $template->slashUrls() in any of my code.
      This happens every time I load the page, it's 100% consistent.
      I have this running on a second machine under v2.7 and no such weirdness.
      I'm lost as to why this is happening, what would cause a PW setting change for slashUrls? Anyone have any ideas?
       
       
       
    • By Pip
      Hi everyone, 
      Is there a way for us to replicate the "http://mydomain.com/processwire/page/edit/?id=xxx" and change the template to match my site template? 
      I'm terribly happy with the admin / backend page edit. It covers literaly everything I want to empower my non super admin user in updating pages such as validation, repeater management, file upload. 
      I wish not to allow the users to see the backend for both security and aesthetic reasons. 
      Thanks and hope to hear from you soon. 
       
    • By calago
      after the migration to version 3.0.145 our export templates all of a sudden dont work properly, 
      we have a functionality where we use a boiler template with a set of fields. for some reason since the upgrade when we select the export template to export it. it wont show any of the fields added after the migration, 

      as you can see the offer certificate remarks field has been added to the export, 
      but when we select it it wont come trough

×
×
  • Create New...