Jump to content
Sign in to follow this  
reems

edit button on page

Recommended Posts

Hello,

After reading through all documentation and seeing some vidoes I just started using ProcessWire.

I have tried lots of other cms's but never find this combination of ease of use and possibilities.

I had now problem getting a first testsite working (using Artisteer for a design). I just used the example site that comes with the download and added new header and footer templates plus a new page template to try.

But one thing is different in my just created site:

Where on the already available pages there is an Edit button in the lefttop corner showing just "EDIT", on my new page it's showing "EDIT (PROCESSWIRE/PAGE/EDIT/?ID=1006)".

The link is working fine, so that's no problem.

In my new footer template I just copied the Edit link as it was available in the footer.inc file.

How can I change that.

Thanks,

Reems

Share this post


Link to post
Share on other sites

Hey, welcome to the forum!

If you just copied the code, I can't think of any reason why PHP would be outputing that... could it be the javascript generated by Artisteer doing it? Although it's a shot in the dark, can you test the site with javascript disabled?

Share this post


Link to post
Share on other sites

Hello there,

You wouldn't happen to have this page online, so we could see it in action?

If you're sure that you haven't changed edit link markup in your template, most logical option I can think of would be that link href is added beside that particular link with CSS. This is quite common in print stylesheets, but why it would be used here beats me.

Anyway, this should be pretty easy to find out; just look for something along these lines in your stylesheet file:

a:after { content:" (" attr(href) ") "; }

Share this post


Link to post
Share on other sites

Solved.

Thanks for the replies. It had indeed to do with css.

I use the Blueprint css for templates (generated by Boks AIR) and found out that certain print style rules interfered with PW main.css.

Step by step I´m learning.

When I´m a little bit further I will show some results.

  • Like 2

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By louisstephens
      So I ran into a very strange issue today. I have a template with a pagetable and I went to add an item to it, when I went to select an image (for an image field) the page instantly threw up an error
      "ProcessPageSearchLive: No search specified"
      The page's content also switched to the image attached. This all worked perfectly last week (local mamp box). Has anyone experienced this before, and how did you solve it?
       

    • 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 benbyf
      Hi, Looking to create form elements on a page–some input with a colection of form inputs and the appropriate labels and variables for that input. I've used ProForms in the past and rolled out my own when creating simply one off forms, but I wonder if anyone has found a good way of allowing form creation on page editing so that clients can adhocly make and edit forms?
      Thanks
    • By lenoir
      Is it possible to let people edit a page without having to have a user-role?
      My case is the following:
      Visitors fill in a form (Formbuilder) which is saved to pages. They get a confirmation email which could contain a unique editing link. In case they need to update some information, they can click on this link, edit the fields and save. 
      Am I totally off? Is there a better practice? 
    • By AndZyk
      Hello,
      this maybe a simple question, but it bothers me for a while now:
      There used to be a warning, if two or more user try to edit the same page. But ever since AdminThemeUIkit I haven't seen it any more.
      Is this a bug or are there special circumstances under which the warning will be displayed?
      If I am logged-in in the same browser with one default and one privat window, I don't see this warning. But also different browsers on different machines in the same network don't see this warning.
      I was looking for the blog post on which this feature was announced, but couldn't find it anymore.
      We had the case, that two people were writing a text for the same page, but after person A saved the page first, the text of the person B was lost. I know we could have used ProDrafts for this case, but it shouldn't happen in the first place.
      I would appreciate some feedback. 😀
      Regards, Andreas
×
×
  • Create New...