Inline Edit Button Not Showing
Hi
I have used FUELCMS to create the website at
http://www.redbrick.dcu.ie/~engsoc/, Version 0.9.2.
The edit pencil does not show up anywhere on my website even though I have used fuel_edit in numerous locations, 1 in header, 2 or 3 in footer and loads of others dotted around the site. The "Back to Admin" and "Logout" toolbar shows up and fuel adds some span classes for inline editing beside the items which editing is enabled on but the pencil is not showing up.
Any help would be greatly appreciated.
Comments
I'll send you details now.
Take a look:
http://airzonetest.magentadesigncorporation.com/
Thanks in advanced.
Best regards
... <?=fuel_var('body')?> ...
I have the same problem i.e. not being able to see any pencil icons on page, I did in some pages but don't remember how, I have a about-us page as key and its a CMS page, follows a layout and a variables file named same as key, I have defined an array
$pages['about-us']
and the value is'words' => 'Some words...'
. I want this variable to be editable inline. It renders with the value in file but no pencil icon is shown even though I'm logged in as superuser rights.@admin please see this post, what am I doing wrong, I really want to do it, I had another page with No Layout as Layout and applied html, when I see this page I also see the pencil icon although I have not applied any variables to it for editing.
Inline editing variables only apply to page variables created in the CMS and won't work for variables created in a variables file. Also, did you toggle the pencil icons on in the top menu bar on the page to show the pencils?
I clicked the pencil icon and it showed me menu for changing layout, page, variables in the No Layout page one, but nothing was shown in other pages. Where do I create page variables in CMS? Site Variables?
I have tried defining a variable using
fuel_var
and it shows with default value but unless I change my page layout to pre-built ones, I can't see the menu and use it to toggle inline editing. Why my layouts don't show this menu?Was the page created in the CMS under the pages module?
http://docs.getfuelcms.com/general/inline-editing
Yes it was created using Pages module
What does your layout look like and what fields are you using in your layout (MY_fuel_layouts.php)?
This is the layout which I am using in pages
And the fuel/application/views/_layouts/nt_basic.php layout file uses something like the following in it:
<?=fuel_var('body')?>Additionally, you have a page in the CMS setup using that layout and the body field is filled out?
yes I have my complete website using this layout and defining page design in body in CMS page for every page.
Is there perhaps a PHP error or javascript error on the page (turn on errors in the /index.php bootstrap file if they are not on)
I removed all the content and only printed the value of
$pages['page-slug']=array('words' => 'Some words...')
defined in_variables/page-slug.php
and checked theindex.php
which says if environment is development then errors are on so didn't did anything there and no errors are shown anywhere in page (php or js)OK. So if you go into the CMS, and create a page with a location of
test
and select yournt_basic
layout and fill out the "Body" field, does/test
appear with the body text. If so, do you have the pencil icons appear on that page and is there one for 'body'?I have a test page and did the same thing and yes body does come but no fuel icon on top-right corner where the pencil icon is also in that menu.
Is it perhaps hiding behind your header because of a z-index and are you logged into FUEL when viewing?
Nice, I thought same thing and tried doing by removing header and footer and only keeping the fuel variable but no menu was there
@admin please tell me a solution for this???
I think I would need a URL and system access to fully determine your issue because I can't glean enough from your description. My profile has an email address in which you can send me information if you'd like.
So, to resolve the issue that I had been having.
I contacted the admin on mail and he told me that I was missing tags for closing body and html and I was like whaaatt??? I had been like developing this for months and I was missing that much little detail? Turns out he was right and when I corrected my HTML, everything worked fine. I hope if you get in this issue then... you know where to look for.
Again thanks @admin for such help, much love.