Posted 02 March 2011 - 06:04 PM
Thanks Mark. I contacted my hosting company and downloaded Filezilla. I can now see the functions.php file, but can't figure out what's wrong with "line 8". Could I ask you or the community for a bit more help so I can fix the php file? Sorry for the detailed ask but I'm in over my head on this one. Here's everything in the functions.php file:
// Setup -- Probably want to keep this stuff...
// Set up action for section registration...
/* Hello! First, lets load the PageLines core so we have access to the functions */
require_once(TEMPLATEPATH . "/core/core.init.php");
// = BASE FUNCTIONS - Where you should add your code =
// Hooks are a way to easily add custom functions and content to the Platform theme. There are hooks placed strategically throughout the theme
// so that you insert code and content with ease.
// Below is an example of how you would add a social media icon to the icons in header (branding section)
// We have placed a hook at the end of the icon set specifically add new icons without modifying code or having to worry about your edits
// getting thrown out during the upgrade process. The way to use hooks goes a little like this:
// add_action('hook_name','function name');
// function name
// what the function does??“in this case adds a stumbleupon icon to the header of your theme. The class referenced in the link can be seen in the style.css
// and is the image from the CSS is placed in the images folder
// end function
// A full list of hooks can be seen by toggling the "advanced" button on each section in the "template setup" option tab. Each hook listed is associated with the section that it is listed under. That's all! Start adding hooks below.
Register a Drag&Drop HTML Section for the admin.
A pullquote section was created here for demonstration purposes
Sections should be named: section.[your section name].php and placed in the sections folder.
Your custom sections get registered in here...
PageLines Register Section Arguments:
1. Section Class Name,
2. Directory name (or filename if in root of 'sections' folder),
3. Init Filename (if different from directory name),
4. Section setup and variable array
pagelines_register_section('BasePullQuote', 'pullquote', null, array('child' => true) );
pagelines_register_section('BaseSidebar','sb_base', null, array('child' => true) );