Hi there, im pretty new to CMSMS, was just wounder if you could attach a image which has been uploaded to a page. so the results will look somethink like this: http://www.jewelultra.co.uk/news. and also if theres a module that can help me with pagination?
Any help will be appreciated.
Jason
pagination and attaching a image to a page with type content...??
-
- Power Poster
- Posts: 322
- Joined: Sat Feb 04, 2006 1:24 am
Re: pagination and attaching a image to a page with type content...??
There may be other ways, but here's one:
Name you image with the page id or alias in it; ie, if your page alias is 'news-page', then call your image 'img-news-page.jpg' (or whatever). Then, in the Menu Manager template, call the image with
You will have to update the image name if your page alias changes, however.
Name you image with the page id or alias in it; ie, if your page alias is 'news-page', then call your image 'img-news-page.jpg' (or whatever). Then, in the Menu Manager template, call the image with
Code: Select all
<img src="/path/to/image/img-{$node->alias}.jpg" />
Re: pagination and attaching a image to a page with type content...??
Thanks for your help, but i think i got to get my hands dirty and mess around with the code.