My content won't show up

Permalink
Hi there,

I'am currently making a website with c5 with a custom theme. I had to manually put in the new areas and that went all prefectly good except when i load the page in a new browser al my content that I put in via c5 doesn't show up...
does anyone know how to fiks this?

 
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
We need more info...
What version of C5 are you using
What is the URL of the site
Give an example of the code you used to create the editable areas...
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi lucases,

What version of concrete5 are you using?

Can you post a link to the website.
lucases replied on at Permalink Reply
if you inspect the page elements you can see there is a phone div and an email div at the top of the html i have changed the code that was there with the lines i posted above and nothing is showing up though it all looks good when i'm working at the page as an admin
Pluto replied on at Permalink Reply
Pluto
hello lucases
will you please give the site link and the c5 version you are using.
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
@Pluto
Why are you repeating what MrK and I have already posted?
lucases replied on at Permalink Reply
this is my site :http://dorelanio.com/
this is the code i used to imlement the editable areas
<?
                        $a=new Area ('PhoneNumber');
                        $a->display($c);
                        ?>

and i am using c5.7
Pluto replied on at Permalink Reply
Pluto
you can try this
<?php
$a = new Area('PhoneNumber');
$a->enableGridContainer();
$a->display($c);
?>
lucases replied on at Permalink Reply
i tried it and it doesn't work...
Pluto replied on at Permalink Reply
Pluto
I have added
<?php
$a = new Area('PhoneNumber');
$a->enableGridContainer();
$a->display($c);
?>
in my-theme/elments/header.php and in edit mode drag the text block and typed the phone number click on save after every thing i click on publish my edits and it's working fine.
MrKDilkington replied on at Permalink Reply
MrKDilkington
@lucases

Since you are using the Urbanic template, I am assuming you are building your theme based on this tutorial:
https://www.concrete5.org/documentation/developers/5.7/designing-for...

To cover the basics, have you gone back to the beginning and walked through the tutorial steps to see if you missed anything?

"i load the page in a new browser al my content that I put in via c5 doesn't show up."
Are you saving your pages after you add blocks or change content?

Can you explain what you mean when you say "loading the page in a new browser"? Do you mean leaving the page or refreshing the page?
lucases replied on at Permalink Reply
I have gone through it a few times now .. missed nothing
like i said everything works fine while editing the page but when i search it on the web (nat as an admin) i only see what was put in there by html and not the things i put in there using the c5 editor
ConcreteOwl replied on at Permalink Best Answer Reply
ConcreteOwl
More importantly, Are you "Publishing" the page?
The last time I tried 5.7, it was possible to "Save" the changes but you needed to then "Publish" the page ..
lucases replied on at Permalink Reply
ooh i thought it published automaticly after saving where do i save my changes?
lucases replied on at Permalink Reply
ooh i thought it published automaticly after saving where do i save my changes?
MrKDilkington replied on at Permalink Reply
MrKDilkington
https://www.concrete5.org/documentation/using-concrete5-7/in-page-editing/
lucases replied on at Permalink Reply
thank you so much it worked haha didn't have a clue of what was happening :D