Html code for all pages without homepage

Discussion in 'HTML & Website Design' started by sachinthana, Mar 21, 2011.

  1. #1
    How to insert html code into my all pages other than homepage?
     
    sachinthana, Mar 21, 2011 IP
  2. karthimx

    karthimx Prominent Member

    Messages:
    4,959
    Likes Received:
    127
    Best Answers:
    2
    Trophy Points:
    340
    #2
    what do you mean here?

    I'm not clear with the question.
     
    karthimx, Mar 21, 2011 IP
  3. sachinthana

    sachinthana Member

    Messages:
    123
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #3
    I need to insert html code into all post in joomla site. not include home page. without home page.
     
    sachinthana, Mar 21, 2011 IP
  4. mahendar6

    mahendar6 Peon

    Messages:
    22
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I can think of using a script which will read jos_content and insert in each article the desired html code except for home page.
    Or you can do using Mysql batch programming.
    You also insert custom code using module {loadposition module} syntax within home page.
    Alternatively you can change the template used to display your content articles.
    One last way is to get a plugin which inserts this code in all articles.
     
    mahendar6, Mar 21, 2011 IP
  5. Floyd87

    Floyd87 Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I know wordpress has something like an is_page('page-slug') function... I would imagine joomla does, too?
     
    Floyd87, Mar 21, 2011 IP
  6. sanchyclub

    sanchyclub Well-Known Member

    Messages:
    625
    Likes Received:
    6
    Best Answers:
    2
    Trophy Points:
    105
    #6
    well, If you have html code to use then simply you can apply copy/paste option.
     
    sanchyclub, Mar 21, 2011 IP
  7. kaushalamseo

    kaushalamseo Banned

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    hi, you can create masterpage and insert the code with all associative pages wherever you want but make sure not to include home page in that.i hope this will work for you, ask me if you have any other doubt.! thanks

    Regards,
    kaushalam
     
    kaushalamseo, Mar 22, 2011 IP
  8. sachinthana

    sachinthana Member

    Messages:
    123
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #8
    Thank you very much for your reply. but im a beginner to html. im using joomla and i need to do that in index.php. if you know how to do in joomla. please tell me. thanks again.
     
    sachinthana, Mar 22, 2011 IP
  9. jibin

    jibin Peon

    Messages:
    43
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Joomla is a content management system. You cannot see content in your index.php file.
     
    jibin, Mar 22, 2011 IP
  10. sachinthana

    sachinthana Member

    Messages:
    123
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #10
    then how can i do this?
     
    sachinthana, Mar 22, 2011 IP
  11. kaushalamseo

    kaushalamseo Banned

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11


    oK..I M AGAIN..Really happy to help you, see like this, i cant explain you whole but you can refer this link: http://docs.joomla.org/Tutorial:Using_Class_Suffixes_in_Joomla!_1.5

    it will help you more to create joomla html pages..dont hesitate and refer it and apply it..i know definitely...it will work for u...please keep asking me if you have some more doubts....!! i m really appreciated to help u.....!! thanks,!
     
    kaushalamseo, Mar 23, 2011 IP