$ sudo apt-get install libmysql-ruby libmysqlclient-dev
Monday, 8 July 2013
LAMP for apache and mysql
here is a useful link for installing LAMP on linux based OS.
.ssh key generation command
$ ssh-keygen -t rsa -C "your_email@example.com"
Thursday, 4 July 2013
Customizing Refinery Page and Menu Titles
if you want to have a separate/different navigation menu title from your page title:
go to pages , edit pages, advanced options give your menu title there.... for SEO purposes browser title, meta keywords and meta description can also b given there.
Reference URL:
http://refinerycms.com/guides/page-titles-and-urls
go to pages , edit pages, advanced options give your menu title there.... for SEO purposes browser title, meta keywords and meta description can also b given there.
Reference URL:
http://refinerycms.com/guides/page-titles-and-urls
Refinery adding additional page parts
for all pages if you want to add additional page parts go to config/initializers/refinery/pages.rb
uncomment # config.default_parts = ["Body", "Side Body"] and add additional page part such as
config.default_parts = ["Body", "Side Body", "Middle body"]
Changing Page Parts for a single Page
go on to the same part config/initializers/refinery/pages.rb
uncomment and change the following value to true
# config.new_page_parts = false
restart server
now go to your pages tab refinery and edit your home page You’ll notice a plus and minus button at the top right of the visual editor. Click on the plus icon and add a new page part titled “Middle Body” and click save. If you have modified your home.html.erb file, you can use the following snippet to output the new part’s content in your page:
<%= raw @page.content_for(:middle_body) %>
reference URL:
http://refinerycms.com/guides/changing-page-parts
uncomment # config.default_parts = ["Body", "Side Body"] and add additional page part such as
config.default_parts = ["Body", "Side Body", "Middle body"]
Changing Page Parts for a single Page
go on to the same part config/initializers/refinery/pages.rb
uncomment and change the following value to true
# config.new_page_parts = false
restart server
now go to your pages tab refinery and edit your home page You’ll notice a plus and minus button at the top right of the visual editor. Click on the plus icon and add a new page part titled “Middle Body” and click save. If you have modified your home.html.erb file, you can use the following snippet to output the new part’s content in your page:
<%= raw @page.content_for(:middle_body) %>
reference URL:
http://refinerycms.com/guides/changing-page-parts
Subscribe to:
Posts (Atom)