Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Adding multiple get_component( );
#9
(2014-02-13, 22:21:25)Timbow Wrote:
(2014-02-13, 22:01:14)cyberviews Wrote: So I added the tag
Code:
<?php getPageContent('right-column'); ?>
in my template.php and went to the "pages" area in the backend.

On your screenshot there were options added but in my backend there were none.

You need to create a page with the 'slug' right-column and insert the content of the page into your template with the tag
<?php getPageContent('right-column'); ?>

The page is not automatically created when you use the tag. If you make the page right-column the child of the main page it is tidier in the admin display.

Ask anything, anytime, you are welcome.

I belive GSv4 is to have an improved system for secondary content blocks, 'snippets'?

You are very kind helping me so much Smile

Now this is a nice option and it works perfectly.

But each slug can only be used once, because I am sure that the system will use it to save each article as a unique item and creates the url out if it.

So I might consider teaching my clients to create a page, copy the sourcecode and to add it into a component.

After all is this system way more easy than large CMS and they will manage it.

Thanks again and regards,

Rob van Linda
Reply


Messages In This Thread
Adding multiple get_component( ); - by cyberviews - 2014-02-13, 19:13:03
RE: Adding multiple get_component( ); - by Timbow - 2014-02-13, 22:35:52
RE: Adding multiple get_component( ); - by Timbow - 2014-02-13, 20:57:59
RE: Adding multiple get_component( ); - by Timbow - 2014-02-13, 22:21:25
RE: Adding multiple get_component( ); - by cyberviews - 2014-02-13, 22:36:53
RE: Adding multiple get_component( ); - by Timbow - 2014-02-13, 22:49:25



Users browsing this thread: 1 Guest(s)