Skip Navigation

[Resolved] using genesis framework. up all night, can't solve this.

This support ticket is created 8 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 9 replies, has 2 voices.

Last updated by Luo Yang 8 years, 1 month ago.

Assigned support staff: Luo Yang.

Author
Posts
#268834
Screen shot 2014-12-10 at 10.51.36 AM.png

I am trying to: use Layouts

I visited this URL:

I expected to see: a layouts wizard tab in the edit page

Instead, I got:

you guys are partnered with jonathan perez, who uses types and views and teaches courses on it, he's been using it since the beta, on the genesis framework. i am using his theme and i can't get layouts to work. when i look in the forums i see your tech people constantly asking for a link to download the genesis framework, as if they've never heard of it before. it seems that there is a problem with integration w genesis, because i don't see any answers/solutions to the many questions being asked in the forums. my point is that it does work with genesis, but i can't get it to work. please help, thanks so much.

#268838

you can see the problem in the attached image; i should have added that there is no layout wizard showing in the edit page. thanks.

#268965

Luo Yang
Supporter

Languages: English (English ) Chinese (Simplified) (简体中文 )

Timezone: Asia/Hong_Kong (GMT+08:00)

Please try follow our document to integrate your theme with Layout:
Layouts Theme Integration
https://toolset.com/documentation/user-guides/layouts-theme-integration/

If you need more assistance for it, you will need post a downloadable URL for the theme you are using, I need test and debug in my localhost.

#269025

Hello, Luoy. I have been trying to make it work using that exact documentation. I need help. Please note I am using the Genesis framework.

#269193

Luo Yang
Supporter

Languages: English (English ) Chinese (Simplified) (简体中文 )

Timezone: Asia/Hong_Kong (GMT+08:00)

Since I do not have a copy of Genesis framework, If you need more assistance for it, you will need post a downloadable URL for the theme you are using, I need test and debug in my localhost.

#269257

Hi Luoy, thank you. Link is a large button in vertical middle of page: hidden link

#269322

that was the child, this is the framework: ***

pls delete link to framework after using. thanks, luoy.

#269709

Luo Yang
Supporter

Languages: English (English ) Chinese (Simplified) (简体中文 )

Timezone: Asia/Hong_Kong (GMT+08:00)

Thanks for the details, I am trying to download the file and debug in my localhost, will feedback if there is any found.

#269859

thanks, luoy, pls LMK asap if you have any trouble w the download. also, will you please remove the link to the dropbox? this is a paid theme. thanks.

#269928

Luo Yang
Supporter

Languages: English (English ) Chinese (Simplified) (简体中文 )

Timezone: Asia/Hong_Kong (GMT+08:00)

Since there are lots of theme file inside the zip file you provided.
I assume we are talking the theme file genesis.1.7.1.zip, I tested it in my localhost,
it is using custom function genesis() to display the single post (single.php)

the function genesis is defined in file framework.php:

function genesis() {
	get_header();

	do_action( 'genesis_before_content_sidebar_wrap' );
	?>
	<div id="content-sidebar-wrap">
		<?php do_action( 'genesis_before_content' ); ?>
		<div id="content" class="hfeed">
			<?php
				do_action( 'genesis_before_loop' );
				do_action( 'genesis_loop' );
				do_action( 'genesis_after_loop' );
			?>
		</div><!-- end #content -->
		<?php do_action( 'genesis_after_content' ); ?>
	</div><!-- end #content-sidebar-wrap -->
	<?php
	do_action( 'genesis_after_content_sidebar_wrap' );

	get_footer();
}

In above codes, this line:
do_action( 'genesis_loop' );
is for display the post content, you can replace it with layout function the_ddlayout(),

For example, modify your theme file single.php as below:

<?php
/**
 * WARNING: This file is part of the core Genesis framework. DO NOT edit
 * this file under any circumstances. Please do all modifications
 * in the form of a child theme.
 *
 * This file handles posts, but only exists for the sake of
 * child theme forward compatibility.
 *
 * @package Genesis
 */
	get_header();

	do_action( 'genesis_before_content_sidebar_wrap' );
	?>
	<div id="content-sidebar-wrap">
		<?php do_action( 'genesis_before_content' ); ?>
		<div id="content" class="hfeed">
			<?php
				do_action( 'genesis_before_loop' );
				the_ddlayout();
				do_action( 'genesis_after_loop' );
			?>
		</div><!-- end #content -->
		<?php do_action( 'genesis_after_content' ); ?>
	</div><!-- end #content-sidebar-wrap -->
	<?php
	do_action( 'genesis_after_content_sidebar_wrap' );

	get_footer();

and test again. also you can remove/add other parts of the codes as you needed.