Editing themes, pages, ecommerce.
Permalink
My first problem is with the member page of my site. It would seem one theme I am using has this page and it functions(Imagine). The new theme (Halloween)I applied doesn't appear to have it so I get an error message.
"File /home/users/web/b2019/ipg.name*?/packages/theme_Halloween/themes/Halloween/view.php not found. All themes need default.php and view.php files in them. Consult concrete5 documentation on how to create these files". I cannot edit or delete this page! what should I do?
Secondly, I would like suggestions on how to implement a shopping cart. I have a free shopsite (limited) account and simple scripts.
I will be selling hundreds of items, that's a lot of "add to cart" buttons. I need help :\
"File /home/users/web/b2019/ipg.name*?/packages/theme_Halloween/themes/Halloween/view.php not found. All themes need default.php and view.php files in them. Consult concrete5 documentation on how to create these files". I cannot edit or delete this page! what should I do?
Secondly, I would like suggestions on how to implement a shopping cart. I have a free shopsite (limited) account and simple scripts.
I will be selling hundreds of items, that's a lot of "add to cart" buttons. I need help :\
please,
where we have to be to copy that code in the default.php renamed view.php?
thanks !
// insert single page content line
print $innerContent;
/*
remove lines for Main area
$a = new Area('Main');
$a->display($c);
*/
where we have to be to copy that code in the default.php renamed view.php?
thanks !
// insert single page content line
print $innerContent;
/*
remove lines for Main area
$a = new Area('Main');
$a->display($c);
*/
here is my view.php content... when I go in my web browser, nothing works and I see the code I added...
thanks for your help
thanks for your help
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"/> <link rel="stylesheet" type="text/css" href="<?php echo $this->getThemePath()?>/default.css" media="screen"/> <link rel="stylesheet" type="text/css" href="<?php echo $this->getThemePath()?>/typography.css" media="screen"/> <?php Loader::element('header_required'); ?> </head> <body> print $innerContent; /* $a = new Area('Main'); $a->display($c); /* <div id="container">
Viewing 15 lines of 31 lines. View entire code block.
See my edited version of your code (make sure to 'View entire code block'):
I deleted the Main area to further highlight the change made.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"/> <link rel="stylesheet" type="text/css" href="<?php echo $this->getThemePath()?>/default.css" media="screen"/> <link rel="stylesheet" type="text/css" href="<?php echo $this->getThemePath()?>/typography.css" media="screen"/> <?php Loader::element('header_required'); ?> </head> <body> <div id="container"> <div id="content"> <h1 id="site-title"><a href="<?php echo $this->url('/')?>"><?php echo SITE?></a></h1> <?php print $innerContent; ?> <div id="footer"> <div class="left"> 2012 <a href="">The Parpaing Crew</a> official web page. FREERIDE WILL NEVER DYING</div>
Viewing 15 lines of 26 lines. View entire code block.
I deleted the Main area to further highlight the change made.
adajad, thanks really much for your reply. Everything works...
all the best
all the best
Just a note though... you should include the following just before your closing /body tag:
So the bottom of your file should look like this:
<?php Loader::element('footer_required') ?>
So the bottom of your file should look like this:
</div> <?php Loader::element('footer_required') ?> </body> </html>
perfect...
for some pages whose are by default as single page, I need to have them with Left Sidebar.
is it possible to change the "single plage" setting for an other type of page as "Left Sidebar"?
thanks
for some pages whose are by default as single page, I need to have them with Left Sidebar.
is it possible to change the "single plage" setting for an other type of page as "Left Sidebar"?
thanks
You need a view.php for single pages.
Here are more information: http://www.concrete5.org/documentation/how-tos/designers/why-do-i-n...
Here are more information: http://www.concrete5.org/documentation/how-tos/designers/why-do-i-n...
true,
so it is not possible to view the members profiles in full page mode for example? We can only view them in single page?
every time an user is registering on my webpage, it will be better if we can see the navigation bar on his profile page too
so it is not possible to view the members profiles in full page mode for example? We can only view them in single page?
every time an user is registering on my webpage, it will be better if we can see the navigation bar on his profile page too
do you mean the top bar with 'Edit' and 'Dashboard'?
You should include
In all your theme php files before the closing /body tag.
You should include
<?php Loader::element('footer_required'); ?>
In all your theme php files before the closing /body tag.
No, it's not about the administration panel
it is about to change a type of page. There are Blog Entry, Full Width, Left Sidebar, Right Sidebar AND Single page.
My question is how to transform a 'Single page' to a 'Left Sidebar' page.
Members profiles are made originally with a 'Single page' which is not appropriate to have an Header nav block.
it is about to change a type of page. There are Blog Entry, Full Width, Left Sidebar, Right Sidebar AND Single page.
My question is how to transform a 'Single page' to a 'Left Sidebar' page.
Members profiles are made originally with a 'Single page' which is not appropriate to have an Header nav block.
This will give you a single page that looks just like the default page. Alternatively, you can copy any of the other page types like sidebar or full width and use them as the basis for view.php.
For shopping, eCommerce does just what you want. It isn't free, but is quick to set up and fairly straightforward.http://www.concrete5.org/marketplace/addons/ecommerce/...