getredhawkstudio

getredhawkstudio does not currently provide support for this item.

16 comments found.

How does it work? does it come with an admin panel?

Nice concept, however your code needs a little work, from a validation point of view, plus you have unclosed html elements… etc

Example: really bad code practice.

<ul> <a href="http://www.redhawk-studio.com/demos/template/home.html"><li>Home</li></a> <a href="http://www.redhawk-studio.com/demos/template/gallery.html"><li>Gallery</li></a> <a href="http://www.redhawk-studio.com/demos/template/about.html"><li>About Us</li></a> </ul>

But nice concept, however your demo possibly doesnt do this justice.

Good luck with sales.

Its a template engine, it doesn’t come with a admin panel, it helps you manage code and template separately, the documentations will help you better understand how it works. And thanks for pointing some of my mistakes in the demo, I’ll fix them, thanks.

Template engine actually allows you to neatly separate code from theme. You template is in one folder, all of it, along with css and js, and code is in other folders. This particular template engine also allows you to separate content as well, and make it easier to keep a track of them, for example the content for page named “home.html” will be in a file name “home.php” in pages folder. So just by looking at a page you know where the code is. Its quite simple to code too, I used it myself for years, a little modified version, which make that one a little hard for newbies to get, so I made a simple one, and I thought I should lets you guys have the concept too.

Would we be able to see the documentation for it?

It’s hard to judge how it works with nothing more than a site made with it.

Thanks & good luck with sales :D

I’ll upload the documentation and let you guys know.

Hi nice concept….if I need to pass PHP $_GET Variables how does the SEO links work?

Thanks!

Well .htaccess rewrites the links into SEO friendly format, for instance if a page has an address: http://yoursite.com/index.php?page=contact, .htaccess converts it into http://yoursite.com/contact.html.

Google “SEO friendly links using .htaccess”

Hi there I know this but your engine make it work just like code igniter for instance? If I have some http://yoursite.com/index.php?page=contact&id=236&search=1 I have to write the .htaccess file with regular expressions or, as I say, it´s automatic like code igniter. Sorry to ask this twice. Thanks!

To make your life easy use this in your .htaccess file instead:

Options +FollowSymLinks
RewriteEngine On
RewriteRule ([/]*)\.html$ index.php?page=$1 [L,QSA]

QSA will allow you to easily pass leading parameters after page name.

Hi I’m ready to purchase, I just want to know if you still give support? thanks

Yes. you have to edit the config.php file, change ABSPATH constant to dirname(FILE) .DS . “content” . DS

FILE is actually underscore underscore file (i cant write underscore here)

Hi thanks for the quick reply, work great, is great to know you still give support for this, I really like the script, you make a great job, the best thing of the script is that is pure php so is very fast, keep the work :)

Hi, I have some issues, for example, I have some $_GET variables in the header, then I try to echo them in the page content but is not working, I’m not sure how to do it, I think is because the functions, can you help me.

You can simply do this by:
echo $_GET["varname"];

Hello getredhawkstudio,

I would like to buy this for a project i am working on. But would you help me on how build a worpress like template installer? Upload zip template, activate or de-activate active template etc?

Best regards,

This template engine is not that feature-rich, If you want to make your own template engine, framework or cms, you’re gonna have to work a little harder on it.

Go ahead, I’ll help you, let me know when you need help.

Hey buddy, i sent you an email.

Replied, check you spam too.

Hey there,

I'm wondering if I could get this type of urls.

example.com/about-us example.com/about-us/who-we-are

Please let me know. Cheers, Melvin

example.com/about-us

example.com/about-us/who-we-are

You could do this by editing .htaccess and rewriting the url like this:

RewriteEngine On RewriteRule ^about-us/.*/([0-9]+)$ php?page=$1 [NC,L]
This will rewrite your urls by getting ?page=who-we-are and writing it in SEO friendly way. You can process the page information to display page like this:

$page = $_GET[“page”]; getPage($page);

Assuming that you have a function getPage that gets data from the database based on the page title.

More information about url rewriting here: http://www.smashingmagazine.com/2011/11/02/introduction-to-url-rewriting/

This is looks brilliant,

Just wondering if you could put an example of reading from the databse

page-id =1 page-id =2

like that.

The post will automatically appear in the template where you have used content() function according to the current post:
http://www.redhawk-studio.com/demos/docs/template/#!/template_files

Thanks mate

by
by
by
by
by
by